summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ensure that an existing thread gets it's state set to PS_DEAD toJohn Birrell1999-05-163-3/+21
| | | | | | | | | prevent being rescheduled. Submitted by: Dan Eischen <eischen@vigrid.com> Notes: svn path=/head/; revision=47244
* - Fixed bug where we NULL'd before we freed the data causing a memory leak.Nate Williams1999-05-143-3/+3
| | | | | | | | Submitted by: Ralf S. Engelschall Obtained from: PR i386/11713 Notes: svn path=/head/; revision=47206
* Removed extraneous comma in xrefs.Alexander Langer1999-05-144-8/+8
| | | | Notes: svn path=/head/; revision=47205
* Added missing comma in xrefs.Alexander Langer1999-05-142-4/+4
| | | | Notes: svn path=/head/; revision=47204
* fix potential memory overwrite in escape parsingAndrey A. Chernov1999-05-131-2/+2
| | | | | | | | PR: 11687 Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com> Notes: svn path=/head/; revision=47118
* Fix my own Pie Floater.Mike Smith1999-05-121-2/+2
| | | | | | | (Correctly handle 'wd' devices) Notes: svn path=/head/; revision=47090
* Tidy up references to <sys/rlist.h> and support for the old swap managementPeter Wemm1999-05-111-88/+9
| | | | | | | that went away in January. Notes: svn path=/head/; revision=47018
* 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
* Back out the last change to disk.c - a kernel change removed the need.Doug Rabson1999-05-092-3/+6
| | | | | | | Enabled writing to the disklabel when writing a disk (only affects alpha). Notes: svn path=/head/; revision=46787
* Mutex test program.John Birrell1999-05-092-0/+1556
| | | | | | | Submitted by: Daniel Eischen <eischen@vigrid.com> Notes: svn path=/head/; revision=46772
* Add mutex test program.John Birrell1999-05-093-6/+6
| | | | Notes: svn path=/head/; revision=46771
* Make libdisk see the existing partitiions on the alpha.Doug Rabson1999-05-081-1/+2
| | | | Notes: svn path=/head/; revision=46731
* Hookup compat22/a.out libs.David E. O'Brien1999-05-081-1/+4
| | | | Notes: svn path=/head/; revision=46722
* Compatability libraries for 2.2.x binaries.David E. O'Brien1999-05-0835-0/+25300
| | | | | | | Note that these are thus our a.out compatability libraries. Notes: svn path=/head/; revision=46705
* Back out patch for cond_timedwait() bug from -current, since other changesJason Evans1999-05-083-30/+3
| | | | | | | | | | have made the patch obsolete, as pointed out by Daniel Eischen <eischen@vigrid.com>. PR: bin/8872 Notes: svn path=/head/; revision=46680
* Revive the pam_deny and pam_permit modules from Linux-PAM. They areJohn Polstra1999-05-086-2/+163
| | | | | | | | | | | | | simple enough to be trusted. Add account management functionality to the pam_unix module. These changes should make it possible to use PAM in some ports. Submitted by: Max Khon <fjoe@iclub.nsu.ru> Notes: svn path=/head/; revision=46665
* 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
* Apply patch included in bin/8872. This fixes a bug that occurs whenJason Evans1999-05-073-6/+33
| | | | | | | | | | | pthread_cond_timedwait() times out. PR: bin/8872 Submitted by: Jason Evans <jasone@canonware.com> Reviewed by: David Schwartz <davids@webmaster.com> Notes: svn path=/head/; revision=46628
* Correct prototype for tigetstr().Joseph Koshy1999-05-051-1/+1
| | | | | | | | PR: docs/11489 Submitted by: Andrew <andrew@ugh.net.au> Notes: svn path=/head/; revision=46461
* Clean up after another half-Danish.Mike Smith1999-05-042-3/+5
| | | | | | | Add 'ad' as another known disk driver of the same kind as 'wd'. Notes: svn path=/head/; revision=46455
* 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
* Add missing ``.''.Brian Somers1999-05-041-1/+1
| | | | Notes: svn path=/head/; revision=46395
* 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
* Change references from "passwordperiod" to "passwordtime", sinceTim Vanderhoek1999-04-301-3/+5
| | | | | | | | | "passwordtime" is what passwd(1) has actually been using. I suspect passwordperiod was the original intent. I can't figure-out which, if either, BSDi uses. If anyone knows... Notes: svn path=/head/; revision=46209
* 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-258-18/+13
| | | | | | | | | | | | | 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
* Re-fixed to start at 1969 per the actual Posix requirement. AlsoWes Peters1999-04-252-7/+7
| | | | | | | fixed a typo on the man page. Notes: svn path=/head/; revision=46051
* Bring two-digit years up-to-date with POSIX requirements.Wes Peters1999-04-252-2/+12
| | | | | | | | | | | 70-00 are intepreted in the 20th century; 01-69 in the 21st century. (Yes, 2000 is the last year of the 20th century, not the first year of the 21st.) Submitted by: Sergey Babkin <babkin@bellatlantic.net> Notes: svn path=/head/; revision=46042
* Add missing strings.Poul-Henning Kamp1999-04-241-0/+7
| | | | | | | | | PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk Notes: svn path=/head/; revision=46018
* oops, add pwd!=NULL check to previous fixAndrey A. Chernov1999-04-241-11/+17
| | | | Notes: svn path=/head/; revision=46004
* Switch to user UID/GID before checking/reading its ~/.login_confAndrey A. Chernov1999-04-241-1/+14
| | | | | | | - some NFSes have root read access disabled Notes: svn path=/head/; revision=46003
* add MLINKS for two functions used from login_auth.cAndrey A. Chernov1999-04-242-19/+20
| | | | | | | comment out unused functions from login_auth.3 Notes: svn path=/head/; revision=46001
* Remove some left-over stuff from NetBSD that we don't need. ThisJohn Polstra1999-04-242-29/+7
| | | | | | | | eliminates the need to include the dynamic linker's private header file, as well as two other headers from <sys>. Notes: svn path=/head/; revision=45973
* Add libf2c.so.2 for our FORTRAN friends.David E. O'Brien1999-04-222-2/+792
| | | | Notes: svn path=/head/; revision=45942
* Don't build with -g. The a.out egcs can't handle it at the moment.John Polstra1999-04-221-2/+2
| | | | | | | | This seems to have snuck back into the Makefile in an unrelated commit (rev. 1.8). Notes: svn path=/head/; revision=45939
* Fix all the mipseb Makefiles. They were broken when I checked them inWarner Losh1999-04-228-6/+166
| | | | | | | | | | | | | before. Added SYS.h for mipseb and mipsel. I now get part way through building libc in the cross environment that I have (along with pending mipse[bl] changes to the intree egcs) with these changes. Notes: svn path=/head/; revision=45931
* Back out my change from 6 April PDT that added a new dlversion()John Polstra1999-04-222-33/+1
| | | | | | | | | | function. It was an ill-considered feature. It didn't solve the problem I wanted it to solve. And it added Yet Another Version Number that would have to be maintained at every release point. I'm nuking it now before anybody grows too fond of it. Notes: svn path=/head/; revision=45929
* Work around an egcs optimizer bug (i386). This should fix the active ftpLuoqi Chen1999-04-211-2/+4
| | | | | | | hang problem. A bug report has been sent to cygnus. Notes: svn path=/head/; revision=45926
* Remove the old libf2c. libg2c is now serving us well.David E. O'Brien1999-04-21164-9259/+0
| | | | Notes: svn path=/head/; revision=45922
* Revise for KLD's.Guy Helmer1999-04-201-55/+8
| | | | | | | Prompted-By: Nathan Ahlstrom <nrahlstr@winternet.com> Notes: svn path=/head/; revision=45878
* Add the compat3x series of uuencoded, gziped balls of fun.David E. O'Brien1999-04-201-1/+4
| | | | Notes: svn path=/head/; revision=45861