For open/openat, if the flags parameter does not contain O_CREAT, the3rd (variadic) mode_t parameter is irrelevant. Many developers in the pasthave passed mode_t (0, 044, 0644, or such), which mig
For open/openat, if the flags parameter does not contain O_CREAT, the3rd (variadic) mode_t parameter is irrelevant. Many developers in the pasthave passed mode_t (0, 044, 0644, or such), which might lead future peopleto copy this broken idiom, and perhaps even believe this parameter has somemeaning or implication or application. Delete them all.This comes out of a conversation where tb@ noticed that a strange (butintentional) pledge behaviour is to always knock-out high-bits frommode_t on a number of system calls as a safety factor, and his bewildermentthat this appeared to be happening against valid modes (at least visually),but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.ok millert
show more ...
ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
When system calls indicate an error they return -1, not some arbitraryvalue < 0. errno is only updated in this case. Change all (most?)callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitraryvalue < 0. errno is only updated in this case. Change all (most?)callers of syscalls to follow this better, and let's see if this strictnesshelps us in the future.
Replace <sys/param.h> with <limits.h> and other less dirty headers wherepossible. Annotate <sys/param.h> lines with their current reasons. Switchto PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers wherepossible. Annotate <sys/param.h> lines with their current reasons. Switchto PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. ChangeMIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() wheresensible to avoid pulling in the pollution. These are the files confirmedthrough binary verification.ok guenther, millert, doug (helped with the verification protocol)
short note that the filesystem is always mounted readonly
add a variety of missing prototypes
Add missing .Mt macros for AUTHORS email addresses.From Jan Stary <hans at stare dot cz>.ok jmc@
update pedro's email address, at his request;
convert to new .Dd format;
sync usage();
Make the mounting process pass a hint to the kernel of where to find the VAT
.Xr vnconfig 8
deploy .An -nosplit; ok jmc
Sync with recent realpath(3) changes: on failure, don't use the secondargument "resolved", since it is undefined.ok and help millert, otto
whitespace and punctuation;
- fix another 'an udf' mistake i made- enhance 'history' and add an 'authors' section
make the description clearer;
a UDF, not an UDF;unnecessary .Pp;
document options
Add a mount_udf(8) stub.
mount_udf, okay deraadt@