summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-12 06:17:35 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:24:10 -0700
commitc6478ec1e128f0a92c2123ed110a651b88d43569 (patch)
treecfefe6c87301604bb838f1a5eb566f1206d975d2 /udev.h
parent31fd340352236c06c30a85fa9fbdbfbbd10bd439 (diff)
[PATCH] add ACTION to udev object to expose it to the whole process
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/udev.h b/udev.h
index 1cf4ad7eae..3f9f2c8612 100644
--- a/udev.h
+++ b/udev.h
@@ -30,8 +30,8 @@
#define COMMENT_CHARACTER '#'
#define NAME_SIZE 256
-#define OWNER_SIZE 30
-#define GROUP_SIZE 30
+#define OWNER_SIZE 32
+#define GROUP_SIZE 32
#define MODE_SIZE 8
#define ACTION_SIZE 32
@@ -44,6 +44,7 @@
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];
+ char action[ACTION_SIZE];
char name[NAME_SIZE];
char owner[OWNER_SIZE];
char group[GROUP_SIZE];