diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-05-28 17:06:39 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-05-28 17:06:39 +0000 |
commit | 0fd31388cab2be9d74147d4dbf6b387bc3daab8c (patch) | |
tree | 168a6e5e093cebd2560ccf40213807899234f613 /bin/hostname | |
parent | 8688f0285ad7a59f492a687ac31df459207ce144 (diff) |
Allow len == 1 in systrace_fname(), so systraced processes can proceed
their *stat() calls, for example, and get ENOENT, which is expected for
"", instead of a forced EINVAL.
Fixes the spurious 'rm: : Invalid argument' warnings when building with
option USE_SYSTRACE, reported on ports@.
Okay provos@ sturm@ deraadt@
Diffstat (limited to 'bin/hostname')
0 files changed, 0 insertions, 0 deletions