summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Make profil() 64bit-safe for alpha.Hidetoshi Shimokawa1999-07-161-2/+2
| | | | | | | | | | uintfptr_t may be better for offset, but we must wait until the definition of uintfptr_t moves from machine/profile.h. Reviewed by: bde Notes: svn path=/head/; revision=48835
* Reference correct sysctl: kern.maxsockbuf --> kern.ipc.maxsockbufJonathan Lemon1999-07-151-2/+2
| | | | Notes: svn path=/head/; revision=48822
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-12253-1/+267
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Fixed a minor style nit in the EXAMPLE section.Wes Peters1999-07-101-1/+1
| | | | Notes: svn path=/head/; revision=48740
* Clarify an explanation a little bit.Poul-Henning Kamp1999-07-091-4/+9
| | | | Notes: svn path=/head/; revision=48721
* Back out previous commit after discussing it with Dmitrij Tejblum.Dag-Erling Smørgrav1999-07-071-4/+0
| | | | Notes: svn path=/head/; revision=48672
* Always set errno to ENOMEM when returning 0 from malloc() or realloc().Dag-Erling Smørgrav1999-07-071-1/+5
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=48670
* Make the new %Z addition thread-safe.David E. O'Brien1999-07-061-19/+49
| | | | Notes: svn path=/head/; revision=48614
* Actually impliment the documented %Z specifier.David E. O'Brien1999-07-042-2/+44
| | | | Notes: svn path=/head/; revision=48550
* Nuke the BUGS sections of these man pages because they are not appropriate.Mike Pritchard1999-07-014-12/+4
| | | | Notes: svn path=/head/; revision=48422
* Fix typos/spelling errors.Mike Pritchard1999-07-016-16/+17
| | | | Notes: svn path=/head/; revision=48421
* Add mising aio_* man pages. Fixed a minor typo in aio_read.2,Wes Peters1999-07-016-9/+575
| | | | | | | and "corrected" statement of Posix conformance. Notes: svn path=/head/; revision=48411
* Spelll 'asynchronous' coriectlyKris Kennaway1999-07-011-2/+2
| | | | Notes: svn path=/head/; revision=48392
* Fix the NAME section of the kldload.2 manpage, which made reference toSheldon Hearn1999-07-016-8/+52
| | | | | | | | | | kldunload. Add proper cross-references to the whole family. PR: 12472 Submitted by: Chris Costello <chris@calldei.com> Notes: svn path=/head/; revision=48389
* Clarify what happens if fd is set to -1Bill Fumerola1999-06-291-2/+4
| | | | | | | Submitted by: Alfred Perlstein <bright@rush.net> Notes: svn path=/head/; revision=48336
* Document that mlock() and munlock() can return EPERM if theMike Pritchard1999-06-271-1/+9
| | | | | | | | | | caller is not the super-user. Also document that we do not currently support the per-process RLIMIT_MEMLOCK limit. PR: doc/11607 Notes: svn path=/head/; revision=48262
* Just return `curbrk' for sbrk(0) to avoid syscall overhead.Hidetoshi Shimokawa1999-06-261-0/+2
| | | | Notes: svn path=/head/; revision=48253
* Correct troff sequence for backslashes in manual page.Joseph Koshy1999-06-212-2/+2
| | | | | | | | PR: docs/12322 Submitted by: Marc Ramirez <mrami@gbtb.com> Notes: svn path=/head/; revision=48064
* Typo in previous commit.Ruslan Ermilov1999-06-181-2/+2
| | | | Notes: svn path=/head/; revision=48001
* Mention that pid 1 is not affected by kill(-1, SIGXXX) too.Ruslan Ermilov1999-06-181-3/+8
| | | | Notes: svn path=/head/; revision=47999
* Minor English corrections were made; SEE ALSO was also fixed (no commas).Brian Feldman1999-06-171-4/+4
| | | | Notes: svn path=/head/; revision=47990
* Fix a minor style nit in the NAME section.Mike Pritchard1999-06-111-1/+1
| | | | Notes: svn path=/head/; revision=47881
* Move the description of the strncmp() function from the RETURN VALUESMike Pritchard1999-06-111-6/+6
| | | | | | | | | | section to the DESCRIPTION section. PR: 12133 Submitted by: Sheldon Hearn <sheldonh@uunet.co.za> Notes: svn path=/head/; revision=47879
* Improvement in the description of what this does.Mark Murray1999-06-101-10/+10
| | | | | | | Prompted by (and thanks to): W Richard Stevens Notes: svn path=/head/; revision=47870
* Ensure that host_addr (which is returned in struct hostent::h_addr_list[0])Dmitrij Tejblum1999-06-071-2/+2
| | | | | | | is aligned so that pointer to it can be safely casted to struct in_addr *. Notes: svn path=/head/; revision=47819
* Spell the .St macro correctly.Steve Price1999-06-071-1/+1
| | | | | | | PR: 11704 Notes: svn path=/head/; revision=47812
* Spell isinf(3) correctly.Steve Price1999-06-071-1/+1
| | | | | | | PR: 11974 Notes: svn path=/head/; revision=47810
* Update of intro(2)/errno(2) in the ongoing effort of the Programmer'sJustin M. Seger1999-06-061-0/+25
| | | | | | | | | | Documentation Project <http://home.wxs.nl/~asmodai/pdp.html> Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> PR: docs/12030 Notes: svn path=/head/; revision=47785
* Change an internal variable from "class" to "ns_class" for C++'s benefit.Peter Wemm1999-06-041-2/+2
| | | | | | | | | Apparently BIND-8.2.1 uses ns_class. Submitted by: John Plevyak <jplevyak@inktomi.com> Notes: svn path=/head/; revision=47742
* Apply patch for PR #12008: remember to reset _yp_enabled flag inBill Paul1999-06-041-0/+2
| | | | | | | | | | endpwent() so we don't trip over a NULL db pointer later. PR: 12008 Submitted by: Valentin Netchayev <netch@lucky.net> Notes: svn path=/head/; revision=47721
* Typo.Pierre Beyssac1999-05-251-2/+2
| | | | | | | | PR: docs/11832 Submitted by: Ralf S. Engelschall <rse@engelschall.com> Notes: svn path=/head/; revision=47489
* Added Posix rand_r function.Wes Peters1999-05-242-5/+74
| | | | Notes: svn path=/head/; revision=47474
* Chflags was clearing all flags supplied on the command line after aJean-Marc Zucconi1999-05-213-6/+6
| | | | | | | | | | clearing flag like dump or noschg, etc. PR: bin/10071 Submitted by: Andreas Klussmann <andreas@infosys.heitec.net> Notes: svn path=/head/; revision=47367
* Fixed disordering and duplication of MLINKS in previous commit toBruce Evans1999-05-192-3/+3
| | | | | | | libc/string/Makefile.inc. psignal.3 doesn't live in libc/string. Notes: svn path=/head/; revision=47320
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherPeter Wemm1999-05-184-6/+95
| | | | | | | systems. NetBSD, Linux, SVR4 etc all have it. Notes: svn path=/head/; revision=47289
* Add a note that when a stream opened via fdopen() is closed via fclose(),Archie Cobbs1999-05-171-0/+4
| | | | | | | | the underlying file descriptor is also closed. To me at least this wasn't immediately obvious. Notes: svn path=/head/; revision=47281
* $ brucify -deblunderPoul-Henning Kamp1999-05-161-2/+2
| | | | Notes: svn path=/head/; revision=47249
* More typos.Kris Kennaway1999-05-091-2/+2
| | | | Notes: svn path=/head/; revision=46800
* Typo.Kris Kennaway1999-05-091-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=46798
* PR: 10918Foxfair Hu1999-05-071-2/+2
| | | | | | | | | Submitted by: Yung-Jen Hung <winard@u3717a.dorm.ccu.edu.tw> Reviewed by: bearscorp.bbs@bbs.life.nthu.edu.tw _BIG5_sgetrune() in libc doesn't work well, this commit will fix it. Notes: svn path=/head/; revision=46641
* writev(2) can return EDESTADDRREQ when attempting to write to aGuy Helmer1999-05-041-0/+6
| | | | | | | | | | UNIX domain socket on which connect(2) had been used to set a destination address and the destination goes away. PR: docs/10451 Notes: svn path=/head/; revision=46441
* Show "#include <machine/param.h>" in SYNOPSIS to get declaration ofGuy Helmer1999-05-043-3/+6
| | | | | | | | | PAGE_SIZE for sys/shm.h. PR: docs/8464 Notes: svn path=/head/; revision=46426
* Note the effect of close(2) on fcntl(2) record locks.Guy Helmer1999-05-041-1/+9
| | | | | | | PR: docs/3522 Notes: svn path=/head/; revision=46424
* Declare the return address for __divX, __remX so that gdb can step overDoug Rabson1999-05-021-1/+1
| | | | | | | calls properly. Notes: svn path=/head/; revision=46294
* Document ishexnumber, isideogram, isnumber, isphonogram, isrune,Guy Helmer1999-04-291-2/+20
| | | | | | | | | and isspecial. PR: docs/9854 Notes: svn path=/head/; revision=46191
* The accept(2) call can fail with EINTR (at least in the threaded context).Guy Helmer1999-04-291-1/+5
| | | | | | | PR: docs/8858 Notes: svn path=/head/; revision=46188
* This Implements the mumbled about "Jail" feature.Poul-Henning Kamp1999-04-282-2/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restrictions imposed on what the superuser can do. For all I know, it is safe to hand over the root bit inside a prison to the customer living in that prison, this is what it was developed for in fact: "real virtual servers". Each prison has an ip number associated with it, which all IP communications will be coerced to use and each prison has its own hostname. Needless to say, you need more RAM this way, but the advantage is that each customer can run their own particular version of apache and not stomp on the toes of their neighbors. It generally does what one would expect, but setting up a jail still takes a little knowledge. A few notes: I have no scripts for setting up a jail, don't ask me for them. The IP number should be an alias on one of the interfaces. mount a /proc in each jail, it will make ps more useable. /proc/<pid>/status tells the hostname of the prison for jailed processes. Quotas are only sensible if you have a mountpoint per prison. There are no privisions for stopping resource-hogging. Some "#ifdef INET" and similar may be missing (send patches!) If somebody wants to take it from here and develop it into more of a "virtual machine" they should be most welcome! Tools, comments, patches & documentation most welcome. Have fun... Sponsored by: http://www.rndassociates.com/ Run for almost a year by: http://www.servetheweb.com/ Notes: svn path=/head/; revision=46155
* Mention that you can only create a block or char special file usingJoerg Wunsch1999-04-281-0/+5
| | | | | | | mknod(2). Notes: svn path=/head/; revision=46150
* Mention that set-id bits are not honoured for shell scripts andTim Vanderhoek1999-04-271-1/+8
| | | | | | | | | | filesystems with the "nosuid" option. Mention that syscall tracing is disabled sometimes. PR: misc/11328 Notes: svn path=/head/; revision=46107
* More egcs warning fixes:Warner Losh1999-04-254-3/+5
| | | | | | | | | | | | | o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). o Use parens around assignment values used as truth values. o Remove unused function. Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46079