busybox: additional 1.14.0 patches
[avatt.git] / package / busybox / busybox-1.14.0-mdev.patch
blob21535b03755f14354561bb5218377936f69a6c95
1 --- busybox-1.14.0/util-linux/mdev.c Tue Apr 14 23:23:04 2009
2 +++ busybox-1.14.0-mdev/util-linux/mdev.c Mon May 4 19:58:47 2009
3 @@ -181,7 +181,8 @@
4 * the rest of fields unless keep_matching == 1 */
6 /* 2nd field: uid:gid - device ownership */
7 - parse_chown_usergroup_or_die(&ugid, tokens[1]);
8 + if (get_uidgid(&ugid, tokens[1], 1) == 0)
9 + bb_error_msg("unknown user/group %s", tokens[1]);
11 /* 3rd field: mode - device permissions */
12 mode = strtoul(tokens[2], NULL, 8);