aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.8_cvscvs2svn1999-01-21710-771/+775
| | | | | | | 'RELENG_2_2_8_RELEASE'. This commit was manufactured to restore the state of the 2.2.8-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: {rev 1.11} The 2.2 version of popen is uses 'vfork' and 'execl'.Joseph Koshy1998-11-231-1/+9
| | | | | | | | | | | Since 'execl' calls 'malloc' we then have the interesting possibility of a malloc arena corruption. The rev 1.11 change fixes this. Approved by: jkh Notes: svn path=/stable/2.2/; revision=41301
* MFC: Close a window between unlocking a spinlock and changing theThomas Gellekum1998-11-205-21/+51
| | | | | | | thread state. Interrupt threads waiting in select, sleep, and for an fd. Notes: svn path=/stable/2.2/; revision=41265
* MFC 1.7 -> 1.8: Fix typos.John Polstra1998-11-191-3/+3
| | | | Notes: svn path=/stable/2.2/; revision=41253
* Move some syscalls for which we don't install _thread_sys_{syscall}Thomas Gellekum1998-11-191-7/+10
| | | | | | | | | wrappers from ASMR to ASM. This avoids link errors when using "cc -pthread". Notes: svn path=/stable/2.2/; revision=41251
* MFC: Don't call pthread_mutex_lock with _SPINLOCK held.Thomas Gellekum1998-11-131-21/+30
| | | | | | | Make pthread_cond_wait() more similar to pthread_cond_timedwait(). Notes: svn path=/stable/2.2/; revision=41128
* MFC: Confirm to POSIX and close any copies of inherited popen()ed descriptorsJoseph Koshy1998-11-102-3/+10
| | | | | | | | | | | in the child process. {rev 1.7 "src/lib/libc/gen/popen.3"} {rev 1.12 "src/lib/libc/gen/popen.c"} Reviewed by: jkoshy, msmith Notes: svn path=/stable/2.2/; revision=41052
* MFC: Handle a zero elements argument.Robert Nordier1998-11-041-0/+3
| | | | Notes: svn path=/stable/2.2/; revision=40897
* As theatened two weeks ago: merge the major changes from -current's pthreadThomas Gellekum1998-11-04150-2304/+2397
| | | | | | | | | | | | implementation. This includes file locking based on FILE *, signal fixes, read/write-locks, better POSIX compliance and better performance. Not included are changes relating to realtime scheduling. Famous last words: I've now built the world several times with these changes, so they shouldn't break anything. Notes: svn path=/stable/2.2/; revision=40895
* MFC: {rev 1.5} Fix memory leak in scandir().Joseph Koshy1998-11-041-15/+25
| | | | | | | | Requested by: Archie Cobbs <archie@whistle.com> Reviewed by: jkoshy Notes: svn path=/stable/2.2/; revision=40887
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-11-046-0/+958
| | | | Notes: svn path=/stable/2.2/; revision=40873
* MFC: buffer overflow prevention in getpwent()Mike Smith1998-10-291-2/+2
| | | | | | | | PR: bin/8176 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/stable/2.2/; revision=40743
* Ignore comments & blank lines in /etc/groupBrian Somers1998-10-281-0/+11
| | | | | | | | | That'll teach me to MFC (adding Id to /etc/group) without checking ! PR: 8467 Notes: svn path=/stable/2.2/; revision=40681
* MFC: rev. 1.13David E. O'Brien1998-10-041-7/+2
| | | | Notes: svn path=/stable/2.2/; revision=39941
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-09-1513-0/+1233
| | | | Notes: svn path=/stable/2.2/; revision=39286
* MFC: Use ellipsis in synopsis with an appropriate explanation inJoseph Koshy1998-09-143-5/+28
| | | | | | | | | | the text of the manual page. {rev 1.12 src/lib/libc/sys/fcntl.2 } {rev 1.8 src/lib/libc/sys/open.2 } {rev 1.5, rev 1.6 src/lib/libc/sys/ioctl.2 } Notes: svn path=/stable/2.2/; revision=39157
* MFC: {rev 1.16} Typo fix.Joseph Koshy1998-09-141-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=39153
* MFC: make semctl's fourth argument optionalSteve Price1998-09-071-4/+27
| | | | Notes: svn path=/stable/2.2/; revision=38924
* MFC: describe an exceptional conditionSteve Price1998-08-241-0/+2
| | | | Notes: svn path=/stable/2.2/; revision=38504
* MFC 1.7 -> 1.8: Correct an error in the description of skeyaccess().John Polstra1998-08-051-5/+7
| | | | Notes: svn path=/stable/2.2/; revision=38133
* MFC: Changed prototype in synopsis to match prototype in <pthread.h>.Dag-Erling Smørgrav1998-08-043-3/+3
| | | | Notes: svn path=/stable/2.2/; revision=38085
* MFC: the pthreads spec is ISO/IEC 9945-1 ANSI/IEEE Std 1003.1 SecondAlexander Langer1998-08-0324-47/+47
| | | | | | | Edition 1996-07-12. Notes: svn path=/stable/2.2/; revision=38029
* MFC: uu_lock_txfr prototype & define.Brian Somers1998-08-021-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=38012
* MFC: Add uu_lock_txfr()Brian Somers1998-08-022-9/+58
| | | | Notes: svn path=/stable/2.2/; revision=38011
* MFC: bring in phk's man pages for condition variables, mutexes andDag-Erling Smørgrav1998-07-312-4/+20
| | | | | | | | | | | | cleanup routines. Fix Makefile.inc to reflect the addition. Change pthread_create man page to point to the new pages and fix a few typos. Bungle the tagging and beg Peter Wemm to clean up after me. PR: 7450 Submitted by: Brian Cully <shmit@kublai.com> Notes: svn path=/stable/2.2/; revision=37992
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-07-3113-0/+934
| | | | Notes: svn path=/stable/2.2/; revision=37986
* MFC: typoTim Vanderhoek1998-07-291-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=37938
* MFC: doc fixes, casts, cosmetic.Jordan K. Hubbard1998-07-1948-113/+153
| | | | Notes: svn path=/stable/2.2/; revision=37751
* MFC: {rev 1.12} Correct wording on range of addresses examined byJoseph Koshy1998-07-171-2/+2
| | | | | | | `msync(2)'. Notes: svn path=/stable/2.2/; revision=37721
* MFC: Bring in FAT32 support from -current.Jordan K. Hubbard1998-07-161-0/+7
| | | | | | | Merged by: Hideki Yamamoto <hyama@kansai.oki.co.jp> Notes: svn path=/stable/2.2/; revision=37694
* MFC: errnoAndrey A. Chernov1998-07-141-5/+17
| | | | Notes: svn path=/stable/2.2/; revision=37644
* MFC: Fix assorted problems with the history edit functions.Brian Somers1998-07-036-14/+49
| | | | Notes: svn path=/stable/2.2/; revision=37361
* MFC: Provide __error() in libc, to allow linking _THREAD_SAFE objects inDmitrij Tejblum1998-06-293-53/+8
| | | | | | | non-threaded programs. Notes: svn path=/stable/2.2/; revision=37271
* MFC: Move ftok() from libcompat to libc.John Polstra1998-06-286-144/+7
| | | | | | | PR: misc/6763 Notes: svn path=/stable/2.2/; revision=37225
* MFC: fix ^Z keypad on/offAndrey A. Chernov1998-06-193-25/+53
| | | | Notes: svn path=/stable/2.2/; revision=37059
* MFC: #pragma weak, NULL checkAndrey A. Chernov1998-06-191-0/+11
| | | | Notes: svn path=/stable/2.2/; revision=37058
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-06-137-0/+516
| | | | Notes: svn path=/stable/2.2/; revision=36947
* MFC. Update file descriptor masks when no file descriptors are ready.John Birrell1998-06-121-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=36937
* Reviewed by: thepishDaniel O'Callaghan1998-06-101-5/+5
| | | | | | | MFC: fix grammar, "null" -> "NUL" Notes: svn path=/stable/2.2/; revision=36855
* MFC: Spelling corrections from PR 6868.Joseph Koshy1998-06-069-29/+29
| | | | Notes: svn path=/stable/2.2/; revision=36693
* MFC: Spelling nits. {r1.14 madvise.2; r1.12 mincore.2}Joseph Koshy1998-06-062-4/+4
| | | | Notes: svn path=/stable/2.2/; revision=36689
* MFC: {r1.4} tftpd also uses LOG_FTP.Joseph Koshy1998-06-051-2/+3
| | | | Notes: svn path=/stable/2.2/; revision=36669
* MFC: v1.9Andrey A. Chernov1998-06-051-16/+4
| | | | Notes: svn path=/stable/2.2/; revision=36666
* MFC: allow setting idle/realtime priorities per login class.Steve Price1998-06-041-5/+22
| | | | Notes: svn path=/stable/2.2/; revision=36653
* MFC: {r1.4} correct misleading statement on lifetimes of cookies returnedJoseph Koshy1998-06-031-16/+11
| | | | | | | by `telldir()'. Notes: svn path=/stable/2.2/; revision=36604
* MFC: allow inclusion from C++.Steve Price1998-05-311-0/+2
| | | | Notes: svn path=/stable/2.2/; revision=36543
* MFC: Don't use absolute path.John Hay1998-05-301-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=36472
* Remove the error test from the call to set the file descriptor toJohn Birrell1998-05-261-12/+9
| | | | | | | | | | non-blocking. Devices are written inconsistently so it is not practical to test for specific errors to ignore. The most common case when this is a problem is with devices which don't block anyway so failing the open is the wrong thing to do. Notes: svn path=/stable/2.2/; revision=36399
* When doing a blocking write to a pipe, handle the case where the writeJohn Birrell1998-05-262-24/+157
| | | | | | | or writev syscall needs to be repeated until all the bytes are written. Notes: svn path=/stable/2.2/; revision=36398
* Remove style nits introduced with last commit.Steve Price1998-05-261-3/+3
| | | | | | | Submitted by: bde Notes: svn path=/stable/2.2/; revision=36389