summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* remove libc_r remanent.davidxu2006-10-201-2/+0
|
* Include sys/socket.h to know about sa_family_t.glebius2006-10-172-0/+2
|
* file == NULL:ache2006-10-161-9/+14
| | | | | | | | | | | | | Issue __sflush() before possible setting O_APPEND mode or ftruncate(), write to wrong place may occurse oserwise. Use simplified _sseek() to the start, if no O_APPEND is set, instead of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for file != NULL). Don't check seek error return, as original fopen() and freopen() never does. file != NULL: Add missing _sseek() to the end.
* Honor errno obtained from __sflagsache2006-10-161-1/+3
| | | | Move errno restoring after FUNLOCKFILE in one case
* Back out ftruncate error handling. There can some file tipesache2006-10-161-9/+2
| | | | f.e. sockets when ftruncate normally fail.
* Do real seekache2006-10-151-3/+11
| | | | | | | Catch ftruncate errors PR: 104295 Submitted by: ru (seek)
* Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++bde2006-10-141-2/+2
| | | | | | isn't broken, PR: 104425
* Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child processdavidxu2006-10-141-0/+2
| | | | | only has one thread, setting the flag can cause the thread to be suspended and no another thread will resume it.
* Backout unblocking of signal if no threads can currently handle it.tegge2006-10-141-3/+2
| | | | | The check for pending signal after direct invocation of signal handler is sufficient.
* o Make _thr_umutex_init a function.davidxu2006-10-132-21/+23
| | | | | | o Eliminate unused parameter for some functions. o Convert type of first parameter to void * for _thr_umtx_wait and _thr_umtx_wake.
* Forgot to bump the document date.ru2006-10-131-1/+1
|
* Some word smithing adopted from the PR.ru2006-10-131-14/+14
| | | | | | | PR: docs/54451 Originally by: Andreas Fuchs Adopted by: jhb MFC after: 3 days
* Delay unblocking signal and restoring process signal mask until thetegge2006-10-131-19/+41
| | | | | | | | | thread signal mask has been updated to avoid stack overflow during signal bursts. Don't block signal forever if no threads can currently handle signal. Check for pending signal after direct invocation of signal handler.
* Delay setting wakeup time until after poll array has been allocated.tegge2006-10-131-20/+20
| | | | Blocking on the malloc spinlock would cause the select timeout to be lost.
* Sync thread jump table with libc and other thread libraries.tegge2006-10-131-4/+35
|
* Add missing comma.ru2006-10-131-1/+1
|
* Use type pthread_state for thread state.davidxu2006-10-131-1/+1
|
* Use normal parentheses.ru2006-10-121-5/+5
| | | | | | PR: docs/84549 Submitted by: Gary W. Swearingen MFC after: 3 days
* Don't say "rightmost" when referring to the least significant bit.ru2006-10-121-4/+5
| | | | | PR: docs/94803 MFC after: 3 days
* The pam_unix module also provides password management.ru2006-10-121-7/+8
| | | | | | PR: docs/93491 Submitted by: Lior Kadosh MFC after: 3 days
* More accurately document the implementation details of internal storage.ru2006-10-122-21/+23
| | | | PR: docs/82508
* Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).ru2006-10-121-0/+2
| | | | | PR: docs/57974 MFC after: 3 days
* Document S_IRWXU and permission bits for group/other.ru2006-10-121-2/+11
| | | | | PR: docs/57153 MFC after: 3 days
* Document what "msgsz" argument really denotes. [1]ru2006-10-121-4/+9
| | | | | | | | Don't say that "msgsz" can be less than 0, it cannot as it's unsigned (POSIX has the same bug). PR: docs/101145 [1] MFC after: 3 days
* Note that the value from getenv() should not be modified by applications.trhodes2006-10-121-1/+5
| | | | | PR: 60544 Reviewed by: ru
* fix bus error in newsyslog by making sure that fields in struct fpemukmacy2006-10-121-0/+1
| | | | that are accessed as 8 byte quantities are 8 byte aligned
* o Follow the trend and try to explain what the slow device is.maxim2006-10-111-3/+5
| | | | | | Not ideal but better than nothing. Obtained from: OpenBSD, NetBSD
* 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
* Fix markup in previous revision.ru2006-10-101-2/+5
|
* Add information on how to escape a literal colon in a value or name.trhodes2006-10-091-1/+5
| | | | PR: 101262
* unbreak build for sparc64 etc.kmacy2006-10-092-2/+3
| | | | | | | TARGET won't be defined on non subarches Approved by: rwatson (mentor) Reviewed by: jmg
* buildworld fixes for sun4vkmacy2006-10-093-1/+15
| | | | | | | not sure why pmap.c is included as it is unchanged Approved by: rwatson (mentor) Reviewed by: jmg
* Fix a regression: let natd load libalias modules before /usr is mountedpiso2006-10-089-9/+10
| | | | | | | renaming /lib/libalias_*.so.4 to /lib/libalias_*.so. Approved by: glebius Reviewed by: glebius, ru
* Fix TLS on sparc64 for statically and dynamically linked binarieskmacy2006-10-083-7/+14
| | | | | Approved by: rwatson (mentor) Reviewed by: jmg and marcel
* getenv.3: Put "is" on a line with other wordstrhodes2006-10-072-3/+3
| | | | | | | | getobjformat.3: "takes precedence over" is not an envrionment variable. PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp MFC after: 3 days
* Reword previous delta a little bit.trhodes2006-10-071-14/+8
| | | | Submitted by: ru
* Fix ambiguity in description. Note that the aio_return() system call shouldtrhodes2006-10-071-5/+9
| | | | | | | only be called once after failure or completion of an AIO request. Bump doc date while I'm here. Noticed by: Samy Al Bahra
* Add missing word "returns."trhodes2006-10-071-1/+1
| | | | Noticed by: Samy Al Bahra
* Remove libc_r support.davidxu2006-10-051-1/+0
|
* Performance: If the dir mode requested is "reasonable", then justkientzle2006-10-041-49/+89
| | | | | | restore it directly and skip chmod() during the post-extract fixup. In particular, bsdtar -xm now completely skips the post-extract fixup for directories, which produces a noticable speedup in that case.
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
| | | | Obtained from: OpenBSD
* Fix build.ru2006-09-301-0/+1
|
* Removed libc_r build support.ru2006-09-301-6/+1
|
* Revise markup in recently added manpages.ru2006-09-305-56/+55
|
* Fix markup, language, function prototype, and example code.ru2006-09-301-35/+49
|
* Markup nit.ru2006-09-291-1/+1
|
* - Removed a copyright from makefile.ru2006-09-274-31/+7
| | | | | | | - Added ${.CURDIR} to .include "...". - Whitespace fixes. OK'ed by: piso
* Put back NO_WERROR= to fix sparc64 build.ru2006-09-271-0/+1
|
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-2612-13/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
* Fix typovd2006-09-261-2/+1
| | | | | | PR: docs/103666 Submitted by: vd Approved by: maxim
OpenPOWER on IntegriCloud