CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/06/15 09:28:55
Modified files:
sys/kern : vfs_syscalls.c
Log message:
Have __realpath() do the pathname==NULL -> EINVAL check itself, eliminating
the need to do this in libc.
btw, it is unfortunate posix went this way, because converting a clearly
illegal condition to not be fatal but instead return an error which is
potentially not checked in the caller, is sadly a large component of the
runaway-train model that makes exploitation of software easy.. illegal
software should crash hard.
ok beck