Released on Fri, 28 Mar 2008 20:37:35 +0000
[klibc] mknod: allow to specify mode
some bootup scripts assume that you can set permissions.
-> http://bugs.debian.org/469577
this allows for static dev to set permissions of devices
without leaving root holes.
inspiration taken on mknod from klibc-extra of archlinux.
size increase is not big compaired to gain:
size usr/utils/shared/mknod
text data bss dec hex filename
978 0 8 986 3da usr/utils/shared/mknod.old
1090 0 8 1098 44a usr/utils/shared/mknod
9312 32 48 9392 24b0 usr/utils/static/mknod.old
9520 32 48 9600 2580 usr/utils/static/mknod
Signed-off-by: maximilian attems <max@stro.at>
1 file changed