summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* - Bump _yplib_timeout limit from 10 to 20 seconds to better handlesimon2007-03-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | 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 2.0kientzle2007-03-0372-2434/+7206
| | | | | | | | | | | | | | | | | | | * 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.
* Fix a typo.jkoshy2007-03-031-2/+2
| | | | Submitted by: Kai Wang <kaiw27 at gmail dot com>
* Force the umask to something predictable while creating objectskientzle2007-03-021-1/+2
| | | | on disk. In particular, this fixes tar -xp restore of mode bits.
* Because the buffer gets released immediately, I need tokientzle2007-03-013-1/+8
| | | | | | | | 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ò
* Document the AF_LINK extension which was imported from NetBSD.bms2007-02-281-4/+19
|
* Nuke ascii2addr() and addr2ascii(). They have no consumers anywherebms2007-02-288-441/+123
| | | | | | | | | | | | | | 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)
* Remove a (harmless) stray backslash.ru2007-02-271-1/+1
|
* Make hosts.allow point to hosts_options instead.n_hibma2007-02-271-1/+1
| | | | Requested by: ru
* Fix include declaration it was sys/sctp.h should be netinet/sctp.h,rrs2007-02-2613-13/+13
| | | | reported by pluknet@gmail.com.
* Mark data structures used on the wire with IPX SAP as __packed so thatrwatson2007-02-261-3/+3
| | | | | | | 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>
* Move _posix1e_acl_name_to_id out of acl_support.c and intokientzle2007-02-263-55/+52
| | | | | | | | | 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
* Don't assert() the TLS allocation requested is big enough; justkientzle2007-02-251-2/+2
| | | | | | fix the argument. In particular, this is a step towards breaking crt1's dependence on stdio.
* Modify chunk_alloc() to prefer mmap()ed memory over sbrk()ed memory.jasone2007-02-221-36/+40
| | | | | | | | | | | 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.
* Fixes build breakage.. invalid type casts.. and invalidrrs2007-02-221-6/+6
| | | | type for size in one place.
* First cut of the sctp man pages. Still need work.rrs2007-02-2215-1/+1791
|
* Fixes __FreeBSD__ being present (they should not)rrs2007-02-221-6/+4
| | | | and also trailing garbage on undef of magic numbers.
* Adds a performance improvement for when sctp_sendx isrrs2007-02-221-23/+43
| | | | | | | | | 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
* Fix a bug with the release of section's raw data. Both release loopsdumbbell2007-02-211-1/+1
| | | | | | were using translated data linked list, leading to a memory leak. Jkoshy's testsuite was used to check for non-regression.
* Create a link from hosts.allow(5) hosts_access(3), to give the user an_hibma2007-02-201-2/+4
| | | | | | starting point for more information on a file in /etc. MFC after: 1 week
* Fix mis-reference of incorrect manual page in ERRORS section.trhodes2007-02-171-1/+1
| | | | Noticed by: Harlan Stenn <stenn@ntp.isc.org>
* Hook ypclnt.3 up to the build.trhodes2007-02-151-0/+1
|
* Add a ypclnt.3 manual page referenced by various other YP based manual pages.trhodes2007-02-151-0/+362
| | | | | PR: 108980 Obtained from: OpenBSD (minimal changes for mdoc(7) style)
* New sentence -> new line. While here, fix apostrophe abuse.brueffer2007-02-141-4/+7
|
* Change the date.julian2007-02-131-1/+1
|
* Make the kse man page reflect the removal of the KSEGRP kernel abstraction.julian2007-02-131-54/+30
|
* o s/cgetseq/cgetset/maxim2007-02-111-1/+1
| | | | Obtained from: DragonFly
* - Move 'struct swdevt' back into swap_pager.h and expose it to userland.jhb2007-02-071-5/+94
| | | | | | | | - 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
* If (a == NULL), don't dereference (a) to record an error message. [1]cperciva2007-02-052-4/+7
| | | | | | | | | | | 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
* Remove old libmytinfo link.rafan2007-02-011-3/+0
| | | | | Approved by: delphij (mentor) Requested by: ache
* Add support for a new archive format "empty" that reads empty files.kientzle2007-02-016-11/+109
|
* Docment the acceptable values for the id parameter.mpp2007-02-011-1/+16
|
* Fix a utrace(2)-related bug in calloc(3).jasone2007-01-311-44/+56
| | | | | | Integrate various pedantic cleanups. Submitted by: Andrew Doran <ad@netbsd.org>
* Update generated files for BIND 9.3.4dougb2007-01-296-282/+45
|
* Remove getobjformat() from libc's symbol map. It probably should have beenpeter2007-01-251-1/+0
| | | | in the private area anyway. Nothing in FreeBSD uses it any more anyway.
* Retire more remnants of a.out support, as threatened in 2002.peter2007-01-253-182/+2
| | | | Laughed-at-by: kris
* Docuemnt exactly which functions access which NSS databases.bms2007-01-221-1/+15
| | | | | | | | 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
* Send not only Access Request, but also Access Challenge with definedpjd2007-01-201-5/+7
| | | | | | | NAS-Identifier and NAS-IP-Address. Reviewed by: bz MFC after: 1 month
* o Remove duplicate includes.maxim2007-01-203-3/+0
| | | | Obtained from: Slava Semushin via NetBSD
* Retire old ncurses build gluerafan2007-01-207-1248/+0
| | | | Approved by: delphij
* Switch to new ncurses build gluerafan2007-01-201-5/+5
| | | | Approved by: delphij
* Introduce new ncurses build glues which are part of ncurses 5.6 update.rafan2007-01-209-626/+1086
| | | | | Approved by: delphij Inspired by: DragonFly's and lib/bind
* On FreeBSD/arm, any value > 50 bits will result in a rediculously hugeimp2007-01-191-2/+2
| | | | | | | | | | | 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.
* When we try to set set-gid bit with chmod(2) on a file, which we own, but ourpjd2007-01-161-1/+5
| | | | | | 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.
* Correct the int->text conversion. <sigh>kientzle2007-01-131-1/+1
| | | | MFC after: 3 days
* Remove 3rd clause, renumber, ok per emailimp2007-01-125-20/+5
|
* Remove 3rd clause, renumber, ok per emailimp2007-01-12220-884/+221
|
* o Document SO_TIMESTAMP and SO_BINSTAMP socket options.maxim2007-01-111-2/+46
| | | | | | | | PR: docs/107696 Submitted by: Rob Robertson Reviewed by: ru Obtained from: NetBSD (mostly) MFC after: 1 week
* Boris Popov has granted permission to remove the advertising clauseimp2007-01-0914-56/+14
| | | | from lib/libncp. Make it so. Also, renumbered clauses.
* Fix the copyright notice; it was always intended to bekientzle2007-01-0951-136/+93
| | | | | | | | | 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
OpenPOWER on IntegriCloud