| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
and also trailing garbage on undef of magic numbers.
|
|
|
|
|
|
|
|
|
| |
called with only one address, we then can call the
generic system call. Also fixes some socket api
type issues and cleans up the "magic" numbers that
were being used in the code.
Reviewed by: gnn
|
|
|
|
|
|
| |
were using translated data linked list, leading to a memory leak.
Jkoshy's testsuite was used to check for non-regression.
|
|
|
|
|
|
| |
starting point for more information on a file in /etc.
MFC after: 1 week
|
|
|
|
| |
Noticed by: Harlan Stenn <stenn@ntp.isc.org>
|
| |
|
|
|
|
|
| |
PR: 108980
Obtained from: OpenBSD (minimal changes for mdoc(7) style)
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: DragonFly
|
|
|
|
|
|
|
|
| |
- Restore support for fetching swap information from crash dumps via
kvm_get_swapinfo(3) to fix pstat -T/-s on crash dumps.
Reviewed by: arch@, phk
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
Fallout from changing the skip API to use off_t instead of size_t: Print
the skip length using %jd and cast to (intmax_t) instead of %d / (int),
and if ARCHIVE_API_VERSION >= 2, allow the client skipper to be called
for requests longer than SSIZE_MAX. [2]
Approved by: kientzle
Pointy hats to: kientzle [1], cperciva [2]
MFC after: 3 days
|
|
|
|
|
| |
Approved by: delphij (mentor)
Requested by: ache
|
| |
|
| |
|
|
|
|
|
|
| |
Integrate various pedantic cleanups.
Submitted by: Andrew Doran <ad@netbsd.org>
|
| |
|
|
|
|
| |
in the private area anyway. Nothing in FreeBSD uses it any more anyway.
|
|
|
|
| |
Laughed-at-by: kris
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
NAS-Identifier and NAS-IP-Address.
Reviewed by: bz
MFC after: 1 month
|
|
|
|
| |
Obtained from: Slava Semushin via NetBSD
|
|
|
|
| |
Approved by: delphij
|
|
|
|
| |
Approved by: delphij
|
|
|
|
|
| |
Approved by: delphij
Inspired by: DragonFly's and lib/bind
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
PR: docs/107696
Submitted by: Rob Robertson
Reviewed by: ru
Obtained from: NetBSD (mostly)
MFC after: 1 week
|
|
|
|
| |
from lib/libncp. Make it so. Also, renumbered clauses.
|
|
|
|
|
|
|
|
|
| |
a vanilla 2-clause BSD license, but somehow some confusing
extra verbage get copied from somewhere.
Also, update the copyright dates to 2007 for all of the files.
Prompted by: several questions about what those extra words really mean
|
| |
|
| |
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
|
|
|
|
|
|
|
| |
bogusly used the kvm_powerpc.c file as a template for the license, but
then either wrote the code himself, or cribbed it from the kvm_i386
file. The only thing from the kvm_powerpc.c file was the license.
Correct this mistake with his blessing.
|
|
|
|
|
|
| |
files were never updated to reflect that.
MFC After: 2 days
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Details: As a side-effect of restoring a saved FP environment,
fesetenv() overwrites the tag word, which indicates which i387
registers are in use. Normally this isn't a problem because
the calling convention requires the register stack to be empty
on function entry and exit. However, fesetenv() is inlined, so we
need to tell gcc explicitly that the i387 registers get clobbered.
PR: 85101
|
| |
|
| |
|