summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetics.ru2002-10-291-1/+1
|
* bsd.doc.mk changes:ru2002-10-296-6/+0
| | | | | | | | | | | | | | | Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS. Only create _stamp.extra when necessary. Get rid of SOELIMPP and OBJS. Use Groff version of soelim(1); we need its -I option for the following to work. Don't needlessly chdir to SRCDIR. Only a few documents need CD_HACK, and those that need it either use refer(1) or .PSPIC macro which internally uses the .psbb call.
* Don't call warn(3).phk2002-10-291-5/+1
|
* Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.des2002-10-291-1/+2
| | | | Submitted by: joerg
* Fix `pkg_add -r' by backing out revs 1.34-1.38.obrien2002-10-291-52/+19
| | | | | Revs 1.37-8 produce a bus error in some environments. Revs 1.34-6 do not bus error, but write corrupted files.
* Since make release is toast anyway, add wood to the pyre:phk2002-10-295-744/+314
| | | | | | | | | | | | | | This significantly rewamps libdisks discovery of existing disk layout. Please send me reports if this does not work as expected on i386 or sparc64 platforms. I need to sort out alpha, pc98 and ia64 (in that order) before testing on those platforms make a lot of sense. Belived to work for: i386 sparc64 Unknown state: pc98 alpha ia64
* Remove unnecessary inclusion of <rune.h> to make it obvious that this filetjr2002-10-291-1/+0
| | | | does not use the deprecated rune system.
* Fix various minor issues.phk2002-10-291-3/+5
| | | | Don't explode on 'write' because we access a pointer we just freed.
* the 'd' partition hasn't been magic for years, so allocate it in naturalphk2002-10-291-1/+1
| | | | order instead of last.
* Add the write_spar64_disk.c to make life easier for testers.phk2002-10-291-0/+94
| | | | | This file depends on some major surgery in the rest of libdisk which is not yet committed.
* Scoop out examples illustrating the label text format and refer tochris2002-10-281-51/+5
| | | | | | | maclabel(7) instead. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Labs
* libfetch is now WARNS5 clean in the non-SSL case.des2002-10-281-1/+1
|
* Cross-reference putc(3).tjr2002-10-281-0/+1
|
* Allow the admin to specify a different NAS identifier than the hostname.des2002-10-282-11/+20
| | | | Submitted by: Boris Kovalenko <boris@ntmk.ru>
* Fix an off-by-one error (> where >= should have been used) which causeddes2002-10-281-6/+5
| | | | | | | | | _fetch_writev() to incorrectly report EPIPE in certain cases. Also fix a number of const warnings by using __DECONST(), plus a signed / unsigned comparison by casting the rhs to ssize_t. Submitted by: fenner, Craig Rodrigues <rodrigc@attbi.com>
* Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)tjr2002-10-282-8/+6
| | | | | | | return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases.
* Up WARNS to 3 if not building with crypto.fenner2002-10-281-1/+3
| | | | Approved by: des
* Create a small library function, check_utility_compat(3), to determinewollman2002-10-283-2/+166
| | | | | | | | whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface.
* Update limits and configuration parameters for 1003.1/TC1/D6.wollman2002-10-271-1/+23
| | | | | | | | | | | Implement new sysconf keys. Change the implenentation of _SC_ASYNCHRONOUS_IO in preparation for the next set of changes. Move some limits which had been in <sys/syslimits.h> to <limits.h> where they belong. They had only ever been in syslimits.h to provide for the kernel implementation of the CTL_USER MIB branch, which went away with newsysctl years ago. (There is a #error in <sys/syslimits.h> which I will downgrade in the next commit.)
* Do not include <sys/syslimits.h> directly; it is not intended for generalwollman2002-10-273-3/+5
| | | | consumption.
* Slight amendment to rev 1.34: instead of considering any short read andes2002-10-271-6/+8
| | | | | | error, only report an error if no data was read at all (unless len was 0 to start with). Otherwise, the final read of practically any transfer will end in a fatal error.
* Introduce _fetch_writev(), which is the conn_t version of writev(2). Indes2002-10-272-7/+38
| | | | | | | | | | | | | | the SSL case, it is no different from the old _fetch_write(), but in the non-SSL case it uses writev(2) to send the entire vector as a single packet (provided it can fit in one packet). Implement _fetch_write() and _fetch_putln() in terms of _fetch_writev(). This should improve performance in the non-SSL case (by reducing protocol overhead) and solve the problem where too-smart-for-their-own-good firewalls reject FTP packets that do not end in CRLF. PR: bin/44123 Submitted by: fenner
* Eliminate two cases of undefined behaviour: total in _fetch_write() wasdes2002-10-272-0/+2
| | | | | | | | not initialized before use, and _http_growbuf() did not return a value on success. Reported by: Peter Edwards <pmedwards@eircom.net> MFC after: 2 weeks
* Back out the previous commit, and fix the bug rather than try to hide itsdes2002-10-271-10/+18
| | | | | | | symptoms: make timeouts and short transfers fatal, and set errno to an appropriate value (ETIMEDOUT for a timeout, EPIPE for a short transfer). MFC after: 2 weeks
* Style sweep.tjr2002-10-275-40/+32
|
* Add back ia64 support that was removed in the last few revisions.peter2002-10-274-1/+31
| | | | I've cloned write_ia64_disk.c from write_i386_disk.c.
* query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.ume2002-10-261-1/+7
| | | | MFC after: 5 days
* Add & hookup manpage for pthread_attr_get_np(3).phantom2002-10-262-0/+96
| | | | MFC after: 3 days
* Hook uthread_attr_get_np.c to buildphantom2002-10-261-0/+1
|
* Add pthread_attr_get_np() function. This is FreeBSD non-portable POSIX threadsphantom2002-10-261-0/+50
| | | | | | | | | extenston function. It supposed to provide facility to get already created thread's attributes. Looks like it's last thing we need to make JDK's Hotspot building without requirement to have source tree. Reviewed by: deischen MFC after: 3 days
* Be more agresive on arguments' checking.phantom2002-10-261-1/+4
| | | | | OK'ed by: deischen MFC after: 3 days
* - scopeid is u_int32_tume2002-10-251-14/+21
| | | | | | | - strtoul pedant. pointed out by deraadt Obtained from: KAME MFC after: 1 week
* - kill strcpyume2002-10-251-67/+56
| | | | | | | | | | | | | | - port range check need to be done before htons. from deraadt - %d/%u audit - correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. - use snprintf, not sprintf - pass correct name into q.name. from lukem@netbsd - sync comment Obtained from: KAME MFC after: 1 week
* Use an internal buffer for the result when the first argument is NULL.tjr2002-10-251-0/+4
|
* The ORIENTLOCK macro is no longer needed since all functions usetjr2002-10-251-7/+0
| | | | FLOCKFILE/FUNLOCKFILE explicitly.
* The FTP connection caching needs a better interface -- connections arenjl2002-10-251-0/+4
| | | | | | | | | | | | | closed through _fetch_close() which is the only one who knows the connection REALLY was closed (since ref -> 0). However, FTP keeps its own local cached_connection and checks if it is valid by comparing it to NULL. This is bogus since it may have been freed elsewhere by _fetch_close(). This change checks if we are closing the cached_connection and the ref is 1 (soon to be 0). If so, set cached_connection to NULL so we don't accidentally reuse it. The REAL fix should be to move connection caching to the common.c level (_fetch_* functions) and NULL the cache(s) in _fetch_close(). Then all layers could benefit from caching.
* #ifdef out assignToPartition on non x86 arches to unbreak the worldgallatin2002-10-241-0/+2
| | | | on alpha, sparc64 and ia64
* Restored sigaction's name in its prototype.bde2002-10-241-1/+1
|
* * Modernize aio(4), providing instructions for static and dynamic kernelsheldonh2002-10-247-147/+8
| | | | | | | | | | | | | | linking. * Fix disorder in the SEE ALSO sections of aio_*(2). * Remove unnecessary cross-references from the SEE ALSO sections of aio_*(2); config(8), kldload(8) and kldunload(8) are cross-referenced from aio(4). * Remove the KERNEL OPTIONS sections from aio_*(2), now that these pages cross-reference aio(4), which contains suitable kernel linking reference material.
* Add cross-references to the aio(4) manual page.des2002-10-246-0/+6
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Replace wcsstr() with an implementation based on strstr(), which is fartjr2002-10-241-38/+32
| | | | | | more efficient. The problem with the previous implementation was that it calculated the length of the first argument ("big") with wcslen() when it was not necessary.
* Restore Berkeley SCCS id.tjr2002-10-241-1/+5
|
* Remove the Standards section again until we get these functions sortedtjr2002-10-241-8/+0
| | | | out. This will probably have to wait until after 5.0-R.
* Place mac_prepare() with the other mac_prepare*() functions.chris2002-10-241-10/+10
|
* mac_free() no longer accepts a void * parameter; only mac_t's are supposedchris2002-10-241-9/+20
| | | | | | | | to be passed. Point this out in a warning notice, which will eventually go away, sometime between now and -RELEASE. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove superfluous empty "FILES" section.chris2002-10-231-1/+0
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove hard sentence breaks.chris2002-10-231-11/+19
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* More lobotomy:phk2002-10-238-111/+6
| | | | | | | remove CHUNK_BSD_COMPAT, it was a bad idea, and now its gone. remove DOSPTYP_ONTRACK, missed in OnTrack removal commit. unifdef -DHAVE_GEOM make tst01 compile again.
* Remove another 10 mindless #ifdefs.phk2002-10-231-59/+45
|
* Rely on sysctl kern.disks to be there, and get rid of one of the far toophk2002-10-231-69/+36
| | | | | many lists of disk device driver names in the system. At this point we should really get the names from the XML, but hey...
OpenPOWER on IntegriCloud