summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing #include in synopsis.Bruce Evans1997-04-111-0/+1
| | | | Notes: svn path=/head/; revision=24824
* Fixed return type of __syscall() in synopsis.Bruce Evans1997-04-111-3/+3
| | | | | | | Don't quote "..." in synopsis. Quoting here is unnecessary and unusual. Notes: svn path=/head/; revision=24823
* Fixed missing const(s) or #include(s) in synopsis.Bruce Evans1997-04-1113-12/+18
| | | | Notes: svn path=/head/; revision=24822
* Fixed synopsis (the #include was bogus and the return type for brk() wasBruce Evans1997-04-111-2/+2
| | | | | | | wrong). Notes: svn path=/head/; revision=24821
* Fixed missing header in synopsis.Bruce Evans1997-04-111-0/+1
| | | | Notes: svn path=/head/; revision=24820
* Fixed synopsis (prototype was missing a const).Bruce Evans1997-04-111-1/+1
| | | | Notes: svn path=/head/; revision=24819
* Don't even think about processing bogus domain names here.Bill Paul1997-04-101-1/+5
| | | | Notes: svn path=/head/; revision=24797
* Typo police. Part of PR# 3242.Mike Pritchard1997-04-091-1/+1
| | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=24763
* Missing newline caused too much text to be fed to the macro.Peter Wemm1997-04-081-1/+2
| | | | | | | Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228 Notes: svn path=/head/; revision=24723
* setsid is declared in <unistd.h>, which is self sufficient (doesn't needPeter Wemm1997-04-081-1/+1
| | | | | | | | | prior <sys/types.h>) Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> Notes: svn path=/head/; revision=24722
* Fix raceGuido van Rooij1997-04-071-2/+2
| | | | | | | Obtained from: Keith Bostic Notes: svn path=/head/; revision=24707
* Restore PATH_LOCALE functionality using issetugid() call nowAndrey A. Chernov1997-04-075-8/+32
| | | | Notes: svn path=/head/; revision=24694
* Speedup in case locale not usedAndrey A. Chernov1997-04-041-5/+11
| | | | Notes: svn path=/head/; revision=24637
* Speedup in case locale not usedAndrey A. Chernov1997-04-041-1/+3
| | | | Notes: svn path=/head/; revision=24633
* Eliminate some function calls when locale not usedAndrey A. Chernov1997-04-041-6/+4
| | | | Notes: svn path=/head/; revision=24632
* Eliminate yet one function call when locale not usedAndrey A. Chernov1997-04-041-3/+4
| | | | Notes: svn path=/head/; revision=24631
* Speedup in case locale not usedAndrey A. Chernov1997-04-041-2/+6
| | | | Notes: svn path=/head/; revision=24630
* Speedup in case locale not usedAndrey A. Chernov1997-04-041-7/+16
| | | | Notes: svn path=/head/; revision=24627
* Honor the nouser/nogroup flag when determing if NULL shouldMike Pritchard1997-04-031-2/+2
| | | | | | | | be returned if a cached uid/gid does not exist in the password file. Notes: svn path=/head/; revision=24568
* Update to include details about the changes to setuid/setgid.Peter Wemm1997-04-021-2/+6
| | | | Notes: svn path=/head/; revision=24562
* The user_from_{uid,gid} routines would return garbage if theMike Pritchard1997-04-021-2/+2
| | | | | | | | | | uid/gid in question was in the cache, but did not exist in the password file. This causes the -nouser and -nogroup options to find(1) to only print the first file owned by an unknown user/group in some cases. Notes: svn path=/head/; revision=24536
* Correct the most glaring errors. I have a feeling there are someJohn Polstra1997-04-021-13/+7
| | | | | | | left. Notes: svn path=/head/; revision=24526
* Link chown with lchownAndrey A. Chernov1997-04-011-2/+2
| | | | Notes: svn path=/head/; revision=24523
* Add issetugid.2 to MAN2 listAndrey A. Chernov1997-04-011-2/+3
| | | | Notes: svn path=/head/; revision=24522
* Xref the new issetugid(2) man page where appropriate.Mike Pritchard1997-04-015-4/+13
| | | | | | | Also add additional set*id(2) xrefs where appropriate. Notes: svn path=/head/; revision=24503
* Don't xref setregid(2) twice - one of them should be setreuid(2).Mike Pritchard1997-04-011-2/+2
| | | | Notes: svn path=/head/; revision=24502
* Fix one very minor mdoc problem. Gentle enough, Peter? :-)Mike Pritchard1997-04-011-2/+2
| | | | Notes: svn path=/head/; revision=24501
* Fix a minor grammar problem.Mike Pritchard1997-04-011-2/+2
| | | | Notes: svn path=/head/; revision=24498
* General cleanup and update to specify exactly how our implementationPeter Wemm1997-03-311-31/+38
| | | | | | | | | | | | | passes on the status across fork/exec. The previous version had some typos, referred to itself as link(2) in one place :-), and didn't really match openbsd's implementation either. Now that I've mentioned typos, hopefully our Typo Police and Xref Police will be gentle with me. :-) Notes: svn path=/head/; revision=24456
* Steal issetugid man page from OpenBSD. Needs work..Peter Wemm1997-03-311-0/+87
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=24455
* Add libc hook for issetugid()Peter Wemm1997-03-311-2/+3
| | | | Notes: svn path=/head/; revision=24454
* Create lchown() in libc and document it as a variation of chown().Peter Wemm1997-03-312-7/+23
| | | | Notes: svn path=/head/; revision=24443
* Fixed wording of previous change.Bruce Evans1997-03-311-1/+1
| | | | | | | | Obtained from: fgets.3 Guided by: ISO C standard Notes: svn path=/head/; revision=24429
* Revert my last few changes. They were bogus. Replaced them withWarner Losh1997-03-311-14/+4
| | | | | | | | | | the original text plus a statement saying that if strftime fails, the results are undefined. Requested a long time ago by: bde Notes: svn path=/head/; revision=24426
* Remove orand* code as promised for the next releaseAndrey A. Chernov1997-03-292-20/+4
| | | | Notes: svn path=/head/; revision=24390
* Fixed #includes in synopsis to compile.Bruce Evans1997-03-281-6/+7
| | | | | | | | Fixed #includes in synopsis to declare the prototype in the synopsis. Fixed stale types in description of struct dirent. Notes: svn path=/head/; revision=24341
* The w+ entry description was misformatted.Mike Pritchard1997-03-271-1/+1
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=24322
* Remove minor warning (for -Wall -Wshadow); clarifies code.David Nugent1997-03-261-3/+3
| | | | Notes: svn path=/head/; revision=24288
* Get my last commit right. The NOTE section now reads:Mike Pritchard1997-03-251-2/+4
| | | | | | | | | | The sa_mask field specified in act is not allowed to block SIGKILL or SIGSTOP. Any attempt to do so will be silently ignored. Now where did I leave that pointy hat... Notes: svn path=/head/; revision=24278
* Restricting $LANG was a really bad ideaWarner Losh1997-03-251-4/+2
| | | | | | | Pointed out by: Everybody but Jordan. Notes: svn path=/head/; revision=24254
* Back out 1.14 until I reproduce trouble reportsWarner Losh1997-03-251-4/+2
| | | | Notes: svn path=/head/; revision=24253
* Change the description of how attempts to block SIGKILL and SIGSTOPMike Pritchard1997-03-251-1/+1
| | | | | | | | | | are handled. The system call will actually fail in this case - the system doesn't silently ignore the request. Closes PR# 3047 Pointed out by: fenner Notes: svn path=/head/; revision=24240
* Don't honor LANG or NLSPATH if we're setuid/setgid.Warner Losh1997-03-241-3/+8
| | | | | | | | | Fixes PR 2582 Submitted by: Julian Assange Notes: svn path=/head/; revision=24197
* If we're running setuid/setguid then don't open the host alias file toWarner Losh1997-03-241-1/+4
| | | | | | | | | | | prevent information leakage. Closes PR 2578 Submitted by: Julian Assange Notes: svn path=/head/; revision=24196
* Don't open the tz file if we're running setuid or setgid to prevent infomrationWarner Losh1997-03-241-2/+4
| | | | | | | | | leakage. Submitted by: Julian Assange Notes: svn path=/head/; revision=24195
* add xrefs for getpeername, so other people that look for it can find it.. :)John-Mark Gurney1997-03-244-1/+5
| | | | Notes: svn path=/head/; revision=24163
* Buffer overflow. Similar, but different, to the fix that Julian A submittedWarner Losh1997-03-231-9/+15
| | | | | | | | | | | in PR 2580. Obtained from: BSDi by way of Keith Bostic Should be in 2.2 and 2.1.x. I'll merge into 2.2. Notes: svn path=/head/; revision=24158
* Add srandomdev.3 linkAndrey A. Chernov1997-03-231-1/+2
| | | | Notes: svn path=/head/; revision=24155
* Fix urandom reference in the commentAndrey A. Chernov1997-03-231-1/+1
| | | | Notes: svn path=/head/; revision=24154
* Add srandomdev() descriptionAndrey A. Chernov1997-03-231-1/+24
| | | | Notes: svn path=/head/; revision=24153