aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-27 18:01:42 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-27 18:01:42 +0200
commit20cc390b9bb33cd0ab05c8bbfcd24babad7ec204 (patch)
tree876974f2abe0ae0213e5707fb551af70b73665cd /util-linux
parentbae3abf2c7185f0a9145ed2c97abb2d2e7bc2b40 (diff)
downloadbusybox-w32-20cc390b9bb33cd0ab05c8bbfcd24babad7ec204.tar.gz
busybox-w32-20cc390b9bb33cd0ab05c8bbfcd24babad7ec204.tar.bz2
busybox-w32-20cc390b9bb33cd0ab05c8bbfcd24babad7ec204.zip
post-1.14.0 fixes
hush significantly updated. fixes for acpid, awk, depmod, dhcp, gzip, mdev, modprobe, sysctl. libbb fixes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/acpid.c4
-rw-r--r--util-linux/mdev.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c
index ef4e54d5d..49ea52d53 100644
--- a/util-linux/acpid.c
+++ b/util-linux/acpid.c
@@ -78,8 +78,8 @@ int acpid_main(int argc, char **argv)
78 // goto configuration directory 78 // goto configuration directory
79 xchdir(opt_conf); 79 xchdir(opt_conf);
80 80
81// // setup signals 81 // prevent zombies
82// bb_signals(BB_FATAL_SIGS, record_signo); 82 signal(SIGCHLD, SIG_IGN);
83 83
84 // no explicit evdev files given? -> use proc event interface 84 // no explicit evdev files given? -> use proc event interface
85 if (!*argv) { 85 if (!*argv) {
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 2451cca05..3c4540cfb 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -181,7 +181,8 @@ static void make_device(char *path, int delete)
181 * the rest of fields unless keep_matching == 1 */ 181 * the rest of fields unless keep_matching == 1 */
182 182
183 /* 2nd field: uid:gid - device ownership */ 183 /* 2nd field: uid:gid - device ownership */
184 parse_chown_usergroup_or_die(&ugid, tokens[1]); 184 if (get_uidgid(&ugid, tokens[1], 1) == 0)
185 bb_error_msg("unknown user/group %s", tokens[1]);
185 186
186 /* 3rd field: mode - device permissions */ 187 /* 3rd field: mode - device permissions */
187 mode = strtoul(tokens[2], NULL, 8); 188 mode = strtoul(tokens[2], NULL, 8);