diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-01-19 19:44:24 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:17 -0700 |
commit | 765cbd97599d943adc73d03f4c91bd7cf7ef7fab (patch) | |
tree | b6ce2967912c4bbcffeefec4e334d65c9abb5da9 /udev.h | |
parent | [PATCH] set default owner/group in db. (diff) | |
download | systemd-765cbd97599d943adc73d03f4c91bd7cf7ef7fab.tar.gz systemd-765cbd97599d943adc73d03f4c91bd7cf7ef7fab.tar.bz2 systemd-765cbd97599d943adc73d03f4c91bd7cf7ef7fab.zip |
[PATCH] set default owner/group in db - update
I've edited the man page today, so this is alreay included :)
Also a few more trivials:
o added the defaults to udev.conf.in
o removed class_dev from get_default_mode(), to match with Hanna's
o changed size of mode_str to MODE_SIZE
o changed a few char compares from from 0x00 to '\0'
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ #define NAME_SIZE 100 #define OWNER_SIZE 30 #define GROUP_SIZE 30 +#define MODE_SIZE 8 struct udevice { char name[NAME_SIZE]; @@ -67,7 +68,7 @@ extern char udev_db_filename[PATH_MAX+NAME_MAX]; extern char udev_permissions_filename[PATH_MAX+NAME_MAX]; extern char udev_config_filename[PATH_MAX+NAME_MAX]; extern char udev_rules_filename[PATH_MAX+NAME_MAX]; -extern char default_mode_str[NAME_MAX]; +extern char default_mode_str[MODE_SIZE]; extern char default_owner_str[OWNER_SIZE]; extern char default_group_str[GROUP_SIZE]; |