summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sys
diff options
context:
space:
mode:
authorWang Yufen <wangyufen@huawei.com>2014-11-11 15:59:11 +0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-01-23 21:13:27 +0100
commite55f589191162eb40f44696c77e569049313d381 (patch)
treececf4632c552ce1fb501683c9935d84f4c361c56 /libc/sysdeps/linux/common/sys
parent217f0a86c07beae6a27d422b5f46ee853f3a447a (diff)
add argument check in mknod
mknod() in glibc/eglibc will check the argument, like this, ... if (k_dev != dev) { __set_errno (EINVAL); return -1; } ... So add argument check in uclibc's mknod() too. Signed-off-by: Wang Yufen <wangyufen@huawei.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/sys')
0 files changed, 0 insertions, 0 deletions