summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43
Commit message (Collapse)AuthorAgeFilesLines
* Powerpc is special here. powerpc and powerpc64 use different ABIs, soimp2010-08-241-1/+1
| | | | | | their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to MACHINE_CPUARCH. Tested by amd64 and powerpc64 builds (thanks nathanw@)
* MFtbemd:imp2010-08-231-1/+1
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Verify return value of the sigset manipulation functionskib2010-07-221-22/+14
| | | | | | | | to catch invalid signal numbers [1]. Use consistent style of not assigning the return value to a local variable. Reported by: Garrett Cooper <yanegomi gmail com> [1] MFC after: 1 week
* For xsi_sigpause(3), remove the supplied signal from the process maskkib2010-07-121-2/+10
| | | | | | | | during sigpause(2) call. It was backward. Check that the signal number is valid. Reported by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week
* These features will first appear in 8.1, soon to be releaseduqs2010-05-241-1/+1
| | | | MFC after: 3 days
* Fix several typos in macros or macro misusage.uqs2010-03-121-0/+1
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Implement sighold, sigignore, sigpause, sigrelse, sigset functionskib2009-11-264-8/+250
| | | | | | | | | | from SUSv4 XSI. Note that the functions are obsoleted, and only provided to ease porting from System V-like systems. Since sigpause already exists in compat with different interface, XSI sigpause is named xsi_sigpause. Reviewed by: davidxu MFC after: 3 weeks
* Use C comments since we now preprocess these files with CPP.deischen2007-04-291-2/+4
|
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-0916-64/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* o From kern_prot.c::p_cansignal():maxim2006-10-101-2/+2
| | | | | | | | | | | | UNIX signalling semantics require that processes in the same session always be able to deliver SIGCONT to one another, overriding the remaining protections. Fix SIGCONT special case description similar to rev. 1.22 kill.2. PR: docs/58710 Submitted by: Ryan Younce MFC after: 2 weeks
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+21
| | | | Reviewed by: davidxu
* Include a couple of headers to ensure consistency between the prototype andstefanf2005-09-121-0/+2
| | | | the function definition.
* The header and the man page say that sethostid() returns void, so make thestefanf2005-09-101-4/+4
| | | | definition match. Include <unistd.h>.
* Revert accidiental removal of string.h inclusion.phantom2005-02-271-0/+1
|
* Replace usage of strerror()/strcpy() with strerror_r() here, reducingphantom2005-02-271-4/+2
| | | | | | | number of required operations to get error message and avoiding of strerror's buffer clobbering. Also ANSI'fy prototypes while I'm here
* Sort sections.ru2005-01-203-38/+38
|
* Mechanically kill hard sentence breaks.ru2004-07-022-10/+20
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-2/+2
|
* Explain the relationship to POSIX.wollman2003-06-201-0/+14
|
* The .Fn functioncharnier2003-02-061-2/+3
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-193-6/+16
|
* mdoc(7) police: "The .Fn function".ru2002-12-186-16/+40
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-3/+1
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-286-32/+0
| | | | Submitted by: keramida
* Fix the style of the SCM ID's.obrien2002-03-229-6/+18
| | | | I believe have made all of libc .c's as consistent as possible.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-017-8/+8
|
* Use ``.Rv -std'' wherever possible.ru2001-08-311-7/+9
| | | | Submitted by: yar
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-2/+0
|
* Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.yar2001-08-092-8/+2
| | | | Reviewed by: ru
* mdoc(7) police: expand plain text xrefs.ru2001-08-081-1/+2
|
* Remove whitespace at EOL.dd2001-07-155-13/+13
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-107-7/+7
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+2
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-242-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Prepare for mdoc(7)NG.ru2000-12-291-2/+2
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-222-2/+2
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Remove fullstops from the end of .Xr lines in SEE ALSO section.ben2000-11-151-1/+1
|
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-061-1/+1
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-218-0/+16
| | | | More libraries manpages updates following.
* Take care to avoid having "strong" and "weak" symbols of the same name injasone2000-03-161-0/+2
| | | | libc_r.
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-272-4/+3
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-122-4/+11
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* Typo cops.hoek1999-12-281-1/+1
|
* Fix sigvec(). When the sigset_t changes came in, it was alteredjdp1999-10-091-6/+17
| | | | | | | | | to call osigaction(). But that's wrong because it causes the handler to receive a struct osigcontext instead of the expected struct sigcontext. Use sigaction() instead, copying the compatible portion of the signal mask. Reviewed by: marcel
* o Add $FreeBSD$ as a rcsid instead of in a comment.marcel1999-10-021-5/+12
| | | | | | | o Fix formatting o Return the error if sigprocmask fails instead of undefined data. Submitted by: bde
* sigset_t change (part 5 of 5)marcel1999-09-291-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- 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.
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
OpenPOWER on IntegriCloud