| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Point out that FreeBSD libc has compat stubs for GNU glibc NSS
modules which access NSDB_PASSWD/NSDB_GROUP, but not NSDB_HOSTS;
based on painful experience porting nss_mdns.
Reviewed by: ru
|
|
|
|
| |
Obtained from: Slava Semushin via NetBSD
|
|
|
|
|
|
|
|
|
|
|
| |
number being returned for mktime and timegm calls. Choose 48 because
that works well. This does reduce the dynamic range of tm_year from
about 2 billion years down to "only" about 9 million years. Please
contact me if this restriction poses a problem.
Due to the complexity of the code, I admit that I didn't trace down
what, exactly, was overflowing with longer bits. This fixes software
that we run on the embedded systems we have.
|
|
|
|
|
|
| |
effective group ID (and any of our group) doesn't match the group ID of the
file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should
return 0, but silently clear the set-gid bit.
|
| |
|
|
|
|
|
|
|
|
| |
PR: docs/107696
Submitted by: Rob Robertson
Reviewed by: ru
Obtained from: NetBSD (mostly)
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
|
|
|
|
|
|
| |
- O_NONBLOCK flag has to be set, if it is not set, open(2) will wait for
another process opening the fifo for reading,
- Use O_WRONLY which implies that the file has to be opened _only_ for write.
|
|
|
|
| |
reside on a read-only file system.
|
|
|
|
|
| |
separately. Do the same.
- Document when EPERM can be returned.
|
|
|
|
|
|
|
|
|
|
| |
This is quite tricky situation, because we allow to open a file with
O_RDONLY|O_TRUNC. O_TRUNC modifies a file, but we actually don't open
it for writing. EISDIR is also returned when we try to open a directory
O_RDONLY|O_TRUNC, which is correct.
POSIX says that "The result of using O_TRUNC with O_RDONLY is undefined.",
we choose to accept it (Solaris did the same), that's why "to be modified"
seems more accurate to me.
|
| |
|
|
|
|
|
| |
machine-dependent; these files tell the latest version of gdtoa
what to do.
|
|
|
|
| |
PR: 90333
|
| |
|
|
|
|
|
|
| |
actual structures in socket.h (which were updated 7 years ago).
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
conversion of negative numbers to always result in -1.
While at it, rearrange the nearby comment so it fits in 80 chars per line,
like the rest of this file does.
PR: 107130
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
chunk per arena, rather than immediately deallocating all unused chunks.
This fixes a potential performance issue when allocating/deallocating
an object of size (4kB..1MB] in a loop.
Reported by: davidxu
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
GCC warning "dereferencing type-punned pointer will
break strict-aliasing rules".
Reviewed by: rrs
|
|
|
|
|
| |
Obtained from: ISC
MFC after: 1 week
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sctp_getaddrlen()
sctp_connectx()
sctp_bindx()
sctp_opt_info()
sctp_getpaddrs()
sctp_freepaddrs()
sctp_getladdrs()
sctp_freeladdrs()
sctp_sendmsg()
sctp_getassocid()
sctp_send()
sctp_sendx()
sctp_sendmsgx()
sctp_recvmsg()
sctp_peeloff()
Manual pages will be forthcoming (and the commit to porters-handbook)
|
| | |
|
| |
| |
| |
| | |
Solaris and Linux.
|
| |
| |
| |
| | |
Obtained from: NetBSD
|
| |
| |
| |
| |
| | |
maximum file size.
- truncate(2) returns EINVAL if the length argument was less than 0.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
return 0.
|
| |
| |
| |
| |
| |
| | |
the object beeing created.
Pointed out by: bde
|
| |
| |
| |
| | |
the path prefix.
|
| | |
|
| |
| |
| |
| | |
write permission.
|
| | |
|
| |
| |
| |
| | |
its components are not checked.
|
| | |
|
| |
| |
| |
| | |
the kse_exit() syscall. Describe the correct behaviour.
|
| |
| |
| |
| | |
not matter if this is regular directory or a mount point.
|
| |
| |
| |
| | |
returns EPERM.
|
| |
| |
| |
| | |
mkfifo(2) returns EPERM.
|
| |
| |
| |
| | |
symlink(2) returns EPERM.
|
| |
| |
| |
| |
| |
| | |
returns EPERM.
- If the parent directory of the destination file has its immutable flag set,
link(2) returns EPERM.
|
| |
| |
| |
| |
| |
| |
| | |
and ftruncate(2) return EPERM.
Note, that if the append-only flag is set even increasing size of the file
is not permitted.
|