summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys
Commit message (Collapse)AuthorAgeFilesLines
* english(4) police.schweikh2002-12-271-1/+1
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-193-3/+15
|
* mdoc(7) police: Fixed abuses of the .Ar and .Em macros.ru2002-12-181-1/+1
|
* mdoc(7) police: "The .Fn function".ru2002-12-181-0/+8
|
* mdoc(7) police: "The .Fn system call".ru2002-12-183-0/+18
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-2/+0
|
* track gratuitous change to sys/i386/include/reg.hsam2002-10-212-4/+4
|
* Use '_end' symbol instead of 'end' to initialize minbrk and curbrkkan2002-08-081-3/+3
| | | | | | | | | | | | | variables. Both symbols are set to the same value by the linker, and _end symbol has less chances to clash with application defined global symbols. alpha, ia64 and sparc64 ports already use _end, i386 is now consistent with them. Reviewed by: bde Approved by: obrien Reported by: pirzyk
* Generate the normal asm stubs for all sysv system calls. Use these insteadjake2002-05-231-5/+3
| | | | | | | of C wrappers for the *sys indirect system calls. The indirect system calls are horribly broken on sparc64. Submitted by: tmm
* Restore CSRG ID's lost in January 1995.obrien2002-03-2311-44/+55
|
* Fix the style of the SCM ID's.obrien2002-03-227-32/+14
| | | | I believe have made all of libc .c's as consistent as possible.
* Use 'mov' instead of 'lea' for setting the syscall number in %eax as thatjhb2001-11-275-7/+7
| | | | | | is clearer about what we are actually doing. Requested by: bde
* Cleanups after previous change:jhb2001-11-131-9/+2
| | | | | | | | | | | - Renumber labels since the previous revision removed one. - Remove useless and wrong comment. - Repeating the function name is just redundant. - The previous revision made the comment about %edx useless. - The comment about %eax was wrong (but did explain why %eax used to be fixed up). Submitted by: bde
* The kernel already fixes up %eax for parents that return from fork, sojhb2001-11-134-104/+2
| | | | | don't bother manually fixing up %eax for the parent process by testing the value in %edx and zeroing and already zeroed %eax.
* De-orbit DEFS.h - the other arches do not use it, and it got replacedpeter2001-10-241-1/+0
| | | | | | with <machine/asm.h>. Reviewed by: bde
* Just use RSYSCALL.ru2001-10-191-2/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-014-9/+9
|
* Use ``.Rv -std'' wherever possible.ru2001-08-311-9/+1
| | | | Submitted by: yar
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-1318-41/+10
|
* Cross-reference io(4).iedowse2001-08-121-0/+2
|
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-4/+4
|
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-091-7/+1
| | | | Reviewed by: ru
* Remove whitespace at EOL.dd2001-07-154-7/+7
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+2
|
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSdeischen2001-01-295-9/+5
| | | | | | | | | | | | | | 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
* Comment only change; s/_thread_sys_/__sys_/deischen2001-01-261-2/+2
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-242-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Prepare for mdoc(7)NG.ru2000-12-291-0/+1
|
* Remove last vestiges of thr_sleep and thr_wakeup from libc.jake2000-12-021-1/+1
|
* Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.xjhb2000-11-281-1/+1
| | | | happy.
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Add a couple of debug register helper functions to assist in settingbsd2000-09-214-2/+245
| | | | | | and clearing watchpoints. Reviewed by: jwd@FreeBSD.org, -hackers@
* You need options USER_LDT in your kernel to use these functions.alex2000-06-141-0/+4
| | | | | | PR: 18943 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: asmodai
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-063-3/+3
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-213-0/+6
| | | | More libraries manpages updates following.
* Remove osig* from NOASM. It bogus now.marcel1999-10-141-2/+1
|
* Remove syscall wrappers.marcel1999-10-094-189/+2
|
* sigset_t change (part 5 of 5)marcel1999-09-291-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* Use definitions provided in sysarch.h for args structures.luoqi1999-09-025-41/+12
| | | | Reviewed by: marcel
* $Id$ -> $FreeBSD$peter1999-08-2825-46/+46
|
* Add wrappers for pread and pwrite syscalls.dt1999-04-041-3/+3
|
* EACESS -> EACCESalex1999-03-151-2/+2
|
* Reviewed by: Luoqi Chen, Jordan Hubbardjulian1998-12-191-3/+5
| | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours.
* Simplify implementation and eliminate a register preservation problem.luoqi1998-09-181-24/+10
| | | | Reviewed by: Bruce Evans <bde@zeta.org.au>
* Fix a cut 'n paste mistake.luoqi1998-09-131-4/+4
|
* In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an aliasdt1998-09-121-2/+6
| | | | | | | to fork. It is difficult to do real vfork in libc_r, since almost every operation with file descriptsor changes _thread_fd_table and friends. popen(3) works much better with this change.
* Fixed missing header in synopsis.bde1998-08-031-1/+2
|
* Fixed disordering in previous commit.bde1998-07-291-4/+4
|
* u_int --> unsigned int, remove (now unneeded) <sys/types.h>jlemon1998-07-283-15/+13
|
OpenPOWER on IntegriCloud