summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed prototype of logout() (const poisoning).bde2001-02-061-1/+1
|
* Fixed prototypes. About half of them were wrong (mainly due to constbde2001-02-063-30/+30
| | | | poisoning having not reached here).
* Added used include of <sys/cdefs.h>.bde2001-02-064-0/+16
| | | | Declare all the interfaces documented in usb.3 (2 were missing).
* Fixed C error(s) in synopsis.bde2001-02-066-4/+6
|
* Fixed wrong return type for ftpLoginAf() in synopsis.bde2001-02-051-1/+1
|
* Fixed bitrot in prototype(s) in synopsis.bde2001-02-051-1/+1
|
* Fixed errors in prototypes. Many were hiding under mdoc errors.bde2001-02-051-0/+4
|
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Fixed errors in prototypes. Many were hiding under mdoc errors.bde2001-02-051-5/+30
|
* Fixed C error(s) in synopsis. Many were hiding under mdoc errors.bde2001-02-051-1/+1
|
* Don't install links for crypt.3 here. There is no crypt.3 here...bde2001-02-051-2/+0
| | | | | Forgotten in: rev.1.58, which was not Submitted by: bde (I requested untangling parts of the crypto mess).
* Remove a sizeof(void *) == sizeof(int) assumption.phk2001-02-041-7/+7
| | | | Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* Spelling.mckay2001-02-041-1/+1
|
* strcpy -> strlcpy paranoianectar2001-02-021-1/+4
| | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit
* Fix typo.nik2001-02-022-2/+2
| | | | | PR: docs/23936 Submitted by: Garret Rooney <rooneg@rpi.edu>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0180-304/+494
|
* s/_thread_sys_write/__sys_write/deischen2001-01-313-6/+6
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Unbreak world by correctly specifying the prototype for __sys_aio_suspend.deischen2001-01-293-3/+3
| | | | | | A make buildworld was done but not with the committed pthread_private.h. Reported by: Manfred Antar <null@pozo.com>
* Add a few ``const''s to silence some -Wwrite-strings warningsbrian2001-01-291-7/+9
|
* _exit in libc is now __sys_exit not __sys__exit.deischen2001-01-297-21/+21
| | | | | | Add another check for thread library initialization (jdp, we really need a way to get _thread_init called at program start before any constructors are run).
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSdeischen2001-01-2924-254/+79
| | | | | | | | | | | | | | and treating (almost) all system calls the same way: __sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo Change PSEUDO syscalls (currently only _exit and _getlogin) to be __sys_foo (T) and _foo (W). Add $FreeBSD$ to a few files to satisfy commitprep. Suggested by: bde
* Ignore leading witespace in the string given to PacketAliasProxyRule().brian2001-01-291-0/+1
|
* Update Makefile for the new sources.asmodai2001-01-281-1/+5
|
* Call trimdomain properly for ip4 addresses.brian2001-01-281-30/+30
| | | | | PR: 24659 realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
* s/err1/errx/.ume2001-01-261-2/+2
| | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME
* Comment only change; s/_thread_sys_/__sys_/deischen2001-01-264-8/+8
|
* Comment change only; s/_thread_sys_/__sys_/deischen2001-01-261-1/+1
|
* Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead savesobomax2001-01-251-2/+8
| | | | actual geometry before switching to the graphics mode.
* Set properly the PixelBytes field for 8bits modes.nsouch2001-01-251-0/+2
| | | | Submitted by: Maxim Sobolev <sobomax@FreeBSD.org>
* -pthread -> -lc_rdeischen2001-01-243-3/+3
|
* Add weak definitions for wrapped system calls. In general:deischen2001-01-24306-3478/+3895
| | | | | | | | | | | | | | | | | | | | | | | | | | | _foo - wrapped system call foo - weak definition to _foo and for cancellation points: _foo - wrapped system call __foo - enter cancellation point, call _foo(), leave cancellation point foo - weak definition to __foo Change use of global _thread_run to call a function to get the currently running thread. Make all pthread_foo functions weak definitions to _pthread_foo, where _pthread_foo is the implementation. This allows an application to provide its own pthread functions. Provide slightly different versions of pthread_mutex_lock and pthread_mutex_init so that we can tell the difference between a libc mutex and an application mutex. Threads holding mutexes internal to libc should never be allowed to exit, call signal handlers, or cancel. Approved by: -arch
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-24190-997/+1582
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Add a new item to kinfo_proc: ki_sflag to mirror p_sflag.jhb2001-01-241-1/+2
|
* Protect against multiple inclusion.sobomax2001-01-241-0/+5
|
* Minor fixes:sobomax2001-01-241-3/+3
| | | | | | | | - Use "OPOST | ONLCR" as a c_oflag in the raw mode instead of 0, which should make debug output mode readable; - flush input buffer when switching to/from raw mode. This should prevent leaking raw scancodes into your shell prompt when program called VGLKeyboardEnd() w/o processing all scancodes in the buffer.
* I made a last-minute change before the last commit which brokewollman2001-01-231-3/+1
| | | | the errno semantics. Get it (closer to) right this time.
* mdoc(7) police: replaced empty line with .Pp, updated document date.ru2001-01-231-2/+2
|
* Add a couple of new library interfaces (will be activated when thewollman2001-01-232-0/+88
| | | | relavant header file changes are committed) for POSIX support.
* Add the function sysctlnametomib to libc. Details on the semanticsmckusick2001-01-233-3/+111
| | | | and use of this function have been added to the sysctl.3 manual page.
* Revert rev. 1.27. This file only included <sys/select.h> because ofwollman2001-01-201-3/+0
| | | | | brokenness introduced in <sys/select.h> rev. 1.8 which is now OBE. <sys/tty.h> and <sys/selinfo.h> together do the right thing.
* mdoc(7) police: removed leading whitespaces that are not insideru2001-01-191-2/+2
| | | | Bd/Ed; these hardly degrade the quality of the produced output.
* man(7) -> mdoc(7).ru2001-01-181-583/+475
|
* Document EHOSTDOWN error.ben2001-01-171-0/+2
| | | | | PR: 24410 Submitted by: Martin Horcicka <horcicka@vol.cz>
* Clarify comments referring to strlcat() usagejedgar2001-01-171-1/+22
| | | | Obtained from: OpenBSD
* - Reverse the order of two loop invariant to ensure strlcat() does notjedgar2001-01-171-3/+6
| | | | | | | | | | attempt to read memory when siz is 0 - Clarify comments referring to strlcat() usage PR: 24278, 24295 Submitted by: Tony Finch <dot@dotat.at> Richard Kettlewell <rjk@greenend.org.uk> Reviewed by: -audit
* Merge the documentation for sigsetmask() and sigblock() into aben2001-01-173-99/+31
| | | | | | | | single manual page, appropriately linked, since this removes the decision of which page the (previously non-existent) sigmask.2 MLINK should point at. Submitted by: will
* man(7) -> mdoc(7).ru2001-01-175-1416/+1143
|
* rstat(1) and rstat_svc(8) are the early versions ofru2001-01-173-88/+0
| | | | the rup(1) and rpc.rstatd(8) manpages respectively.
* o When returning NULL, return (NULL) instead of return (0).rwatson2001-01-178-24/+24
| | | | | Submitted by: jedgar Obtained from: TrustedBSD Project
* SIGABRT is *not* the same as calling abort(), so don't claim that it is.ben2001-01-161-2/+2
| | | | | | | (abort() flushes all open stdio streams for one thing.) PR: 24249 Submitted by: Edwin Groothuis <mavetju@chello.nl>
OpenPOWER on IntegriCloud