summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.8_cvscvs2svn1999-01-21332-388/+392
| | | | | | | '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
* 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: 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-0448-515/+262
| | | | | | | | | | | | 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
* 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
* 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: typoTim Vanderhoek1998-07-291-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=37938
* MFC: doc fixes, casts, cosmetic.Jordan K. Hubbard1998-07-1930-69/+93
| | | | 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: Provide __error() in libc, to allow linking _THREAD_SAFE objects inDmitrij Tejblum1998-06-291-1/+6
| | | | | | | non-threaded programs. Notes: svn path=/stable/2.2/; revision=37271
* MFC: Move ftok() from libcompat to libc.John Polstra1998-06-283-5/+7
| | | | | | | PR: misc/6763 Notes: svn path=/stable/2.2/; revision=37225
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-06-134-0/+265
| | | | Notes: svn path=/stable/2.2/; revision=36947
* 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-063-4/+4
| | | | 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: {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
* Remove style nits introduced with last commit.Steve Price1998-05-261-3/+3
| | | | | | | Submitted by: bde Notes: svn path=/stable/2.2/; revision=36389
* Update code example to reflect new usage.Steve Price1998-05-251-11/+9
| | | | | | | | PR: 6753 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> Notes: svn path=/stable/2.2/; revision=36380
* MFC: {r1.17} Remove self-reference to sigaction(2).Joseph Koshy1998-05-221-1/+0
| | | | Notes: svn path=/stable/2.2/; revision=36298
* MFC: Remove `sigmask()' reference from synopsis. {from r1.6}Joseph Koshy1998-05-221-1/+0
| | | | Notes: svn path=/stable/2.2/; revision=36295
* Merge from current: check only for zero-length record sizes.Bill Paul1998-05-201-3/+7
| | | | Notes: svn path=/stable/2.2/; revision=36258
* Merge RPC DoS attack fixes from current.Bill Paul1998-05-182-7/+30
| | | | Notes: svn path=/stable/2.2/; revision=36157
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-05-062-0/+147
| | | | Notes: svn path=/stable/2.2/; revision=35768
* Merge 4.9.7-t1b changes from current.Peter Wemm1998-05-023-251/+753
| | | | Notes: svn path=/stable/2.2/; revision=35625
* MFC: LC_MESSAGESAndrey A. Chernov1998-04-302-12/+16
| | | | Notes: svn path=/stable/2.2/; revision=35560
* MFC: LC_MESSAGES, fixesAndrey A. Chernov1998-04-307-40/+64
| | | | Notes: svn path=/stable/2.2/; revision=35558
* MFC part 5: Fix recursion problem which occurs when a signal is receivedThomas Gellekum1998-04-301-3/+12
| | | | | | | | during a malloc. The signal handler creates a thread which requires a malloc... For now, the only thing to do is to block signals. Notes: svn path=/stable/2.2/; revision=35532
* MFC part 2: Static initializers for mutexes and condition variables.Thomas Gellekum1998-04-233-7/+7
| | | | Notes: svn path=/stable/2.2/; revision=35400
* MFC: indentDima Ruban1998-04-201-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=35359
* MFC: don't generate potential shell or interpreter metacharacters whenPeter Wemm1998-04-151-2/+4
| | | | | | | doing character rotation while searching for unique names. Notes: svn path=/stable/2.2/; revision=35201
* Add MLINK for mkdtemp.3.Steve Price1998-04-131-2/+2
| | | | | | | | PR: 6291 Submitted by: Niall Smart <rotel.indigo.ie> Notes: svn path=/stable/2.2/; revision=35181
* remove bogus bugs section.Jordan K. Hubbard1998-04-131-8/+0
| | | | | | | Submitted by: Niall Smart <rotel@indigo.ie> Notes: svn path=/stable/2.2/; revision=35164
* MFC: El Bruce Fernando Maximillian Ernesto Supremo Evan's fixes in r1.9.Jordan K. Hubbard1998-03-161-5/+6
| | | | Notes: svn path=/stable/2.2/; revision=34616
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1998-03-101-0/+47
| | | | Notes: svn path=/stable/2.2/; revision=34464
* MFC rev 1.7: typos, new functions, changed abort() behaviour.Stephen McKay1998-03-081-20/+23
| | | | Notes: svn path=/stable/2.2/; revision=34311
* MFC: Nul terminate sockaddr_un::sun_pathBrian Somers1998-03-061-3/+4
| | | | | | | Suggested by: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/stable/2.2/; revision=34073
* MFC: Make SyslogAddr a sockaddr_un rather than a sockaddr.Brian Somers1998-03-051-10/+12
| | | | | | | | This wasn't a problem in practice as PATH_LOG and PATH_OLDLOG are both < sizeof sockaddr::sa_data. Notes: svn path=/stable/2.2/; revision=34060
* MFC: more doc bogons.Jordan K. Hubbard1998-03-051-3/+5
| | | | Notes: svn path=/stable/2.2/; revision=34046