summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add srandomdev() function (use "/dev/urandom" now)Andrey A. Chernov1997-03-231-0/+40
| | | | | | | Submitted by: wollman & me (add type casts and remove unneded loop) Notes: svn path=/head/; revision=24151
* Remove an extra comma.Mike Pritchard1997-03-221-2/+2
| | | | Notes: svn path=/head/; revision=24125
* Use the .Tn macro for generic FreeBSD references. Other minor cleanup.Mike Pritchard1997-03-216-18/+31
| | | | Notes: svn path=/head/; revision=24094
* Mdoc cleanup.Mike Pritchard1997-03-213-43/+91
| | | | Notes: svn path=/head/; revision=24093
* Document SCM_CREDS changes.Bill Paul1997-03-211-0/+28
| | | | Notes: svn path=/head/; revision=24084
* Add backward compatibility so that static executables built onJohn Polstra1997-03-201-10/+23
| | | | | | | | | | | modern FreeBSD systems will syslog properly on older systems that still name the logging socket "/dev/log". This includes pre-2.2 versions of FreeBSD as well as BSD/OS systems. If the connect to "/var/run/log" fails, the function now tries to connect to "/dev/log" as a fallback. Notes: svn path=/head/; revision=24068
* Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.Bruce Evans1997-03-191-5/+6
| | | | | | | Reviewed by: wollman Notes: svn path=/head/; revision=24047
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-191-2/+2
| | | | Notes: svn path=/head/; revision=24009
* FIxed arg types (mostly missing consts) in synopsis.Bruce Evans1997-03-195-8/+8
| | | | Notes: svn path=/head/; revision=24008
* Added missing #include of <stdarg.h> to synopsis. Moved prototypes forBruce Evans1997-03-191-9/+10
| | | | | | | | `v' functions after this #include (same organisation as in printf.3 for printf/vprintf). Notes: svn path=/head/; revision=24007
* Fixed missing function types in synopsis.Bruce Evans1997-03-195-0/+7
| | | | Notes: svn path=/head/; revision=24006
* Fixed synopsis (put all of the function (return) type info in .Ft andBruce Evans1997-03-192-3/+3
| | | | | | | none in .Fn). Notes: svn path=/head/; revision=24004
* Removed unnecessary quoting of function names in synopsis to simplifyBruce Evans1997-03-186-13/+13
| | | | | | | automated checking of synopses. Notes: svn path=/head/; revision=24003
* Check for overflow in size argument.Poul-Henning Kamp1997-03-181-2/+4
| | | | | | | | Tested by: Joel Maslak <j@pobox.com> Closes: PR kern/2964 Notes: svn path=/head/; revision=23981
* Fix arg types to match Lite2Andrey A. Chernov1997-03-171-2/+2
| | | | Notes: svn path=/head/; revision=23969
* Updated prototype for mount() to match Lite2 reality for the 1st argBruce Evans1997-03-131-1/+1
| | | | | | | and Lite1 or earlier reality for the 4th arg. Notes: svn path=/head/; revision=23862
* Part 2 of a failed commit (cvs broke). Original message:Peter Wemm1997-03-132-0/+283
| | | | | | | | | | | | | | | | | | | Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde The following commits already happened but the log message got lost: Modified Files: gen/Makefile.inc gen/getcwd.c stdlib/Makefile.inc Removed Files: gen/realpath.3 Notes: svn path=/head/; revision=23833
* Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWDPeter Wemm1997-03-134-282/+4
| | | | | | | | | | | because it's potentially dangerous (think: symlink races). Move realpath() back to it's original location, and remove getcwd_physical() by renaming it back to getcwd() and zapping the original getcwd wrapper. Noticed by: bde Notes: svn path=/head/; revision=23832
* Make this man page really match the current <sys/signal.h> again andBruce Evans1997-03-121-2/+2
| | | | | | | | the 2.x <sys/signal.h> for the first time :-). The type of ss_sp was lexically different. Notes: svn path=/head/; revision=23800
* Make this man page match the current <sys/signal.h> again :-).Mike Pritchard1997-03-121-3/+4
| | | | | | | | | Bruce says that since NetBSD, OpenBSD and Linux currently use ss_sp, we won't be changing it to the lite2 ss_base. The type may change at some later date. Notes: svn path=/head/; revision=23793
* Update the structure to match how things are going to appear afterMike Pritchard1997-03-121-3/+3
| | | | | | | bde commits some changes later tonight. Notes: svn path=/head/; revision=23787
* More cleanup - I didn't realize that this was a new man pageMike Pritchard1997-03-121-2/+3
| | | | | | | and need extra attention :-) Notes: svn path=/head/; revision=23786
* Restored a .Fa line that was lost in the Lite2 merge.Bruce Evans1997-03-121-0/+1
| | | | Notes: svn path=/head/; revision=23785
* Mdoc cleanup.Mike Pritchard1997-03-121-1/+0
| | | | Notes: svn path=/head/; revision=23784
* Fixed merging error. Lite2 fixed premature failure and didn'tBruce Evans1997-03-121-2/+4
| | | | | | | | | | | touch duplicate group suppression, but the merge blew away our duplicate group suppression. The merge also blew away the -Wall cleanup in rev.1.5, but that was misformatted, so I didn't restore it. Notes: svn path=/head/; revision=23780
* Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,Mike Pritchard1997-03-123-15/+10
| | | | | | | | | | | but in one case the Lite2 changes were flat out wrong and caused the man page to disagree with a header file. There are still some *roff macro calls that were added that I have yet to figure out what to do with in some of the man pages. Notes: svn path=/head/; revision=23778
* Fixed errors in the Lite2 merge. Some style changes were mismerged.Bruce Evans1997-03-121-27/+28
| | | | | | | | | | My changes to preserve errno across free() and close() and to report fstat() errors properly were blown away. Updated the FreeBSD changes to match the Lite2 style fixes. Notes: svn path=/head/; revision=23768
* Fix problem with FD_SET* overflow reporting.. Perror() didn't have enoughPeter Wemm1997-03-121-2/+6
| | | | | | | | | | args, and errno hasn't actually been set so it probably doesn't make sense to report it via strerror(). Pointed out by: bde Notes: svn path=/head/; revision=23767
* _res_close() -> res_close()Peter Wemm1997-03-121-2/+2
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=23766
* Document that popen() uses a bidirectional pipe (in FreeBSD) and not aBruce Evans1997-03-111-7/+5
| | | | | | | socket pair (as in Lite2). Notes: svn path=/head/; revision=23735
* Fixed cleaning up after malloc failure, which was broken by Lite2.Bruce Evans1997-03-111-3/+5
| | | | | | | | | We don't use socketpair(), so don't #include <sys/socket.h>. Restored some gcc-quieting parentheses that were lost in the Lite2 merge. Notes: svn path=/head/; revision=23734
* Install the Lite2 getvfsbyname.3. The old getvfsbyname() interface isBruce Evans1997-03-111-4/+4
| | | | | | | still available and described in getvfsent.3. Notes: svn path=/head/; revision=23733