[BusyBox] [PATCH] minor bug in devfsd.c
Tito
farmatito at tiscali.it
Sat Jan 31 15:40:27 UTC 2004
Hi to all,
just today I discovered a minor bug in bb's devfsd that slipped through
until now.
The patch is simple.
Please apply.
Ciao,
Tito
--- miscutils/devfsd_old.c 2004-01-31 15:28:38.000000000 +0000
+++ miscutils/devfsd.c 2004-01-31 15:28:50.000000000 +0000
@@ -837,7 +837,7 @@
/* Discard lookups on "/dev/log" and "/dev/initctl" */
if( info->type == DEVFSD_NOTIFY_LOOKUP &&
((info->devname[0]=='l' && info->devname[1]=='o' &&
- info->devname[2]=='g' && !info->devname[3]) &&
+ info->devname[2]=='g' && !info->devname[3]) ||
( info->devname[0]=='i' && info->devname[1]=='n' &&
info->devname[2]=='i' && info->devname[3]=='c' &&
info->devname[4]=='t' && info->devname[5]=='l' && !info->devname[6])))
More information about the busybox
mailing list