summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Remove orand* code as promised for the next releaseache1997-03-292-20/+4
|
* Fixed #includes in synopsis to compile.bde1997-03-281-6/+7
| | | | | Fixed #includes in synopsis to declare the prototype in the synopsis. Fixed stale types in description of struct dirent.
* The w+ entry description was misformatted.mpp1997-03-271-1/+1
| | | | Pointed out by: bde
* Remove minor warning (for -Wall -Wshadow); clarifies code.davidn1997-03-261-3/+3
|
* Get my last commit right. The NOTE section now reads:mpp1997-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...
* Restricting $LANG was a really bad ideaimp1997-03-251-4/+2
| | | | Pointed out by: Everybody but Jordan.
* Back out 1.14 until I reproduce trouble reportsimp1997-03-251-4/+2
|
* Change the description of how attempts to block SIGKILL and SIGSTOPmpp1997-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
* Don't honor LANG or NLSPATH if we're setuid/setgid.imp1997-03-241-3/+8
| | | | | | Fixes PR 2582 Submitted by: Julian Assange
* If we're running setuid/setguid then don't open the host alias file toimp1997-03-241-1/+4
| | | | | | | | prevent information leakage. Closes PR 2578 Submitted by: Julian Assange
* Don't open the tz file if we're running setuid or setgid to prevent infomrationimp1997-03-241-2/+4
| | | | | | leakage. Submitted by: Julian Assange
* add xrefs for getpeername, so other people that look for it can find it.. :)jmg1997-03-244-1/+5
|
* Buffer overflow. Similar, but different, to the fix that Julian A submittedimp1997-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.
* Add srandomdev.3 linkache1997-03-231-1/+2
|
* Fix urandom reference in the commentache1997-03-231-1/+1
|
* Add srandomdev() descriptionache1997-03-231-1/+24
|
* Add srandomdev() function (use "/dev/urandom" now)ache1997-03-231-0/+40
| | | | Submitted by: wollman & me (add type casts and remove unneded loop)
* Remove an extra comma.mpp1997-03-221-2/+2
|
* Use the .Tn macro for generic FreeBSD references. Other minor cleanup.mpp1997-03-216-18/+31
|
* Mdoc cleanup.mpp1997-03-213-43/+91
|
* Document SCM_CREDS changes.wpaul1997-03-211-0/+28
|
* Add backward compatibility so that static executables built onjdp1997-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.
* Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.bde1997-03-191-5/+6
| | | | Reviewed by: wollman
* FIxed arg types (mostly missing consts) in synopsis.bde1997-03-191-2/+2
|
* FIxed arg types (mostly missing consts) in synopsis.bde1997-03-195-8/+8
|
* Added missing #include of <stdarg.h> to synopsis. Moved prototypes forbde1997-03-191-9/+10
| | | | | `v' functions after this #include (same organisation as in printf.3 for printf/vprintf).
* Fixed missing function types in synopsis.bde1997-03-195-0/+7
|
* Fixed synopsis (put all of the function (return) type info in .Ft andbde1997-03-192-3/+3
| | | | none in .Fn).
* Removed unnecessary quoting of function names in synopsis to simplifybde1997-03-186-13/+13
| | | | automated checking of synopses.
* Check for overflow in size argument.phk1997-03-181-2/+4
| | | | | Tested by: Joel Maslak <j@pobox.com> Closes: PR kern/2964
* Fix arg types to match Lite2ache1997-03-171-2/+2
|
* Updated prototype for mount() to match Lite2 reality for the 1st argbde1997-03-131-1/+1
| | | | and Lite1 or earlier reality for the 4th arg.
* Part 2 of a failed commit (cvs broke). Original message:peter1997-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
* Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWDpeter1997-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
* Make this man page really match the current <sys/signal.h> again andbde1997-03-121-2/+2
| | | | | the 2.x <sys/signal.h> for the first time :-). The type of ss_sp was lexically different.
* Make this man page match the current <sys/signal.h> again :-).mpp1997-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.
* Update the structure to match how things are going to appear aftermpp1997-03-121-3/+3
| | | | bde commits some changes later tonight.
* More cleanup - I didn't realize that this was a new man pagempp1997-03-121-2/+3
| | | | and need extra attention :-)
* Restored a .Fa line that was lost in the Lite2 merge.bde1997-03-121-0/+1
|
* Mdoc cleanup.mpp1997-03-121-1/+0
|
* Fixed merging error. Lite2 fixed premature failure and didn'tbde1997-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.
* Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,mpp1997-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.
* Fixed errors in the Lite2 merge. Some style changes were mismerged.bde1997-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.
* Fix problem with FD_SET* overflow reporting.. Perror() didn't have enoughpeter1997-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
* _res_close() -> res_close()peter1997-03-121-2/+2
| | | | Pointed out by: bde
* Document that popen() uses a bidirectional pipe (in FreeBSD) and not abde1997-03-111-7/+5
| | | | socket pair (as in Lite2).
* Fixed cleaning up after malloc failure, which was broken by Lite2.bde1997-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.
* Install the Lite2 getvfsbyname.3. The old getvfsbyname() interface isbde1997-03-111-4/+4
| | | | still available and described in getvfsent.3.
* Fixed #include's in synopsis.bde1997-03-111-2/+1
|
* Merge from Lite2:peter1997-03-119-92/+312
| | | | | filesystem include updates, duplicate group suppression, cleanups, filesystem whiteout support (unionfs), bidir popen().
OpenPOWER on IntegriCloud