summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* The bit about sigpending not detecting any errors is a lie, it can returnben2001-01-161-2/+7
| | | | | | | EFAULT. PR: 24360 Submitted by: Kenneth Ingham <ingham@i-pi.com>
* mdoc(7) police: fixed broken references.ru2001-01-162-3/+1
|
* Prepare for mdoc(7)NG.ru2001-01-1611-14/+14
|
* Version bump, because of ABI incompatibility.nsouch2001-01-151-1/+1
| | | | Suggested by: Maxim Sobolev <sobomax@FreeBSD.org>
* Add Truecolor 16 and 32bits support. Note that 24bits modes are notnsouch2001-01-134-35/+251
| | | | | | | | | | | supported since it's not easy to put 3 bytes accross 64Kb windows of memory. This should not be such a problem with linear framebuffers. There is no major interface modification except that the color type becomes u_long instead of byte. So one just need to recompile his application. Approved by: Soren Schmidt <sos@freebsd.dk>
* man(7) -> mdoc(7).ru2001-01-122-138/+248
|
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-127-13/+13
|
* man(7) -> mdoc(7).ru2001-01-121-266/+433
|
* man(7) -> mdoc(7).ru2001-01-121-77/+100
|
* man(7) -> mdoc(7).ru2001-01-115-681/+845
|
* mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.ru2001-01-101-2/+3
|
* o acl_from_text.c:rwatson2001-01-094-48/+20
| | | | | | | | | | | | - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar
* o bzero() the ACL structure only if malloc() returns non-NULL.rwatson2001-01-092-2/+4
| | | | Submitted by: jedgar
* o Correct spelling error from patch in previous commit.rwatson2001-01-092-2/+2
|
* o Add missing initialization of errno from error returns ofrwatson2001-01-096-0/+6
| | | | | | cap_get_fd(), cap_get_file() and cap_get_proc(). Submitted by: jedgar
* The user name for anonymous ftp is now "anonymous".des2001-01-081-10/+17
| | | | | Remove the period after the last man page reference. Add a reference to RFC1635, and sort the RFC references by number.
OpenPOWER on IntegriCloud