| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
packet loss when talking to a NIS server.
- Set 1 second retry timeout to further realistically handle UDP
packet loss for yp_next packet bursts. If the packet hasn't come
back within 1 second its rather unlikely to come back at all. There
is still back-off mechanism in RPC so if there is another reason
than packet loss for the lack of response within 1 second, the NIS
server will not be totally bombarded with requests.
This reduces the risk of NIS failing with:
yp_next: clnt_call: RPC: Timed out
considerably. This is mainly a problem if you have larger NIS maps
(like at FreeBSD.org) since enumerations of the lists will cause a UDP
packet bursts where a few packets being lost once in a while do
happen.
MFC after: 1 week
Discussed with: peter
Problem mainly diagnosed by: peter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libarchive_test program exercises many of the core features
* Refactored old "read_extract" into new "archive_write_disk", which
uses archive_write methods to put entries onto disk. In particular,
you can now use archive_write_disk to create objects on disk
without having an archive available.
* Pushed some security checks from bsdtar down into libarchive, where
they can be better optimized.
* Rearchitected the logic for creating objects on disk to reduce
the number of system calls. Several common cases now use a
minimum number of system calls.
* Virtualized some internal interfaces to provide a clearer separation
of read and write handling and make it simpler to override key
methods.
* New "empty" format reader.
* Corrected return types (this ABI breakage required the "2.0" version bump)
* Many bug fixes.
|
|
|
|
| |
Submitted by: Kai Wang <kaiw27 at gmail dot com>
|
|
|
|
| |
on disk. In particular, this fixes tar -xp restore of mode bits.
|
|
|
|
|
|
|
|
| |
copy the symlink target name, not just copy the reference.
This problem sometimes caused crashes when extracting
symlinks from ISO9660 images.
Thanks to: Diego "Flameeyes" Pettenò
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in FreeBSD, and originated from INRIA IPv6.
Stub out netstat reference to addr2ascii() I mistakenly introduced.
Update misleading man page sections.
Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to
print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394
bits which don't map directly to our code.
Obtained from: NetBSD (getnameinfo.c)
Discussed on: current (March 2006)
|
| |
|
|
|
|
| |
Requested by: ru
|
|
|
|
| |
reported by pluknet@gmail.com.
|
|
|
|
|
|
|
| |
they are not inappropriately padded as a result of compiler changes.
PR: kern/74105
Submitted by: Bob Johnson <bob89 at eng dot ufl dot edu>
|
|
|
|
|
|
|
|
|
| |
acl_from_text.c. Since acl_from_text.c is the only place it
is used, we can now make this internal utility function "static."
As a bonus, acl_set_fd() no longer pulls in getpwuid() for no reason.
MFC after: 7 days
|
|
|
|
|
|
| |
fix the argument.
In particular, this is a step towards breaking crt1's dependence on stdio.
|
|
|
|
|
|
|
|
|
|
|
| |
This has no impact unless USE_BRK is defined (32-bit platforms), in
which case user allocations are allocated via mmap() if at all possible,
in order to avoid the possibility of unreclaimable chunks in the data
segment.
Fix an obscure bug in base_alloc() that could have allowed undefined
behavior if an application were to use sbrk() in conjunction with a
USE_BRK-enabled malloc.
|
|
|
|
| |
type for size in one place.
|
| |
|
|
|
|
| |
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
|