projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd6cf8
)
mdev: do not exit if user:group parse failed. closes bug 309.
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 2 May 2009 14:33:10 +0000
(16:33 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 2 May 2009 14:33:10 +0000
(16:33 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index
e23828e
..
99e4875
100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-241,7
+241,8
@@
static void make_device(char *path, int delete)
* the rest the line unless keep_matching == 1 */
/* 2nd field: uid:gid - device ownership */
- parse_chown_usergroup_or_die(&ugid, tokens[1]);
+ if (get_uidgid(&ugid, tokens[1], 1) == 0)
+ bb_error_msg("unknown user/group %s", tokens[1]);
/* 3rd field: mode - device permissions */
mode = strtoul(tokens[2], NULL, 8);