summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Change references from "passwordperiod" to "passwordtime", sincehoek1999-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...
* Document ishexnumber, isideogram, isnumber, isphonogram, isrune,ghelmer1999-04-291-2/+20
| | | | | | and isspecial. PR: docs/9854
* The accept(2) call can fail with EINTR (at least in the threaded context).ghelmer1999-04-291-1/+5
| | | | PR: docs/8858
* This Implements the mumbled about "Jail" feature.phk1999-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/
* Mention that you can only create a block or char special file usingjoerg1999-04-281-0/+5
| | | | mknod(2).
* Mention that set-id bits are not honoured for shell scripts andhoek1999-04-271-1/+8
| | | | | | | filesystems with the "nosuid" option. Mention that syscall tracing is disabled sometimes. PR: misc/11328
* More egcs warning fixes:imp1999-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
* Re-fixed to start at 1969 per the actual Posix requirement. Alsowes1999-04-252-7/+7
| | | | fixed a typo on the man page.
* Bring two-digit years up-to-date with POSIX requirements.wes1999-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>
* Add missing strings.phk1999-04-241-0/+7
| | | | | | PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
* oops, add pwd!=NULL check to previous fixache1999-04-241-11/+17
|
* Switch to user UID/GID before checking/reading its ~/.login_confache1999-04-241-1/+14
| | | | - some NFSes have root read access disabled
* add MLINKS for two functions used from login_auth.cache1999-04-242-19/+20
| | | | comment out unused functions from login_auth.3
* Remove some left-over stuff from NetBSD that we don't need. Thisjdp1999-04-242-29/+7
| | | | | eliminates the need to include the dynamic linker's private header file, as well as two other headers from <sys>.
* Add libf2c.so.2 for our FORTRAN friends.obrien1999-04-222-2/+792
|
* Don't build with -g. The a.out egcs can't handle it at the moment.jdp1999-04-221-2/+2
| | | | | This seems to have snuck back into the Makefile in an unrelated commit (rev. 1.8).
* Fix all the mipseb Makefiles. They were broken when I checked them inimp1999-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.
* Back out my change from 6 April PDT that added a new dlversion()jdp1999-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.
* Work around an egcs optimizer bug (i386). This should fix the active ftpluoqi1999-04-211-2/+4
| | | | hang problem. A bug report has been sent to cygnus.
* Remove the old libf2c. libg2c is now serving us well.obrien1999-04-21164-9259/+0
|
* Revise for KLD's.ghelmer1999-04-201-55/+8
| | | | Prompted-By: Nathan Ahlstrom <nrahlstr@winternet.com>
* Add the compat3x series of uuencoded, gziped balls of fun.obrien1999-04-201-1/+4
|
* Welcome to the compat3x series.obrien1999-04-203-0/+4616
|
* vfsload maps into kldload only now, no more fork/exec of modload(8).peter1999-04-191-85/+1
|
* Turn off libf2c. Superseeded by EGCS's libg2c.obrien1999-04-181-2/+2
|
* Remove references to libg++ and libf2c that aren't needed post-EGCS.obrien1999-04-141-2/+2
|
* Document pread() and pwrite().dt1999-04-113-11/+68
| | | | Obtained from: NetBSD (mostly)
* Contains the paranik1999-04-101-9/+1
| | | | | | | | | | | | | | | Unlike other filesystem objects, symbolic links do not have an owner, group, access mode, times, etc. Instead, these attributes are taken from the directory that contains the link. The only attributes returned from an lstat() that refer to the symbolic link itself are the file type (S_IFLNK), size, blocks, and link count (always 1). This is bogus, and disagrees with the implementation and symlink(7). Removed it. PR: docs/10269 Submitted by: Tolik <tolik@sibptus.tomsk.ru>
* Oops, the previous log message should have been:bde1999-04-101-1/+1
| | | | | | | | Include <machine/ansi.h> so that this file is self-sufficient again. Rev.1.6 doesn't do this as claimed unless <nlist.h> has nonstandard pollution. Cleaned up includes.
* Various language and style concerns fixed.imp1999-04-091-11/+18
| | | | Noted by: bde
* Declare mkstemps().bde1999-04-091-4/+5
|
* Fixed missing include in synopsis.bde1999-04-096-21/+13
| | | | Fixed some mdoc usage errors.
* Ugh. I didn't know this Makefile was reaching over into the dynamicjdp1999-04-091-2/+4
| | | | | linker sources for some of its header files. Add a -I flag to pick up a new directory over there.
* If given host.domain:nn[.nn], trimdomain() now reduces it tobrian1999-04-092-10/+54
| | | | host:nn[.nn] (if the domain is the same as the local one).
* bcopy -> memmovebrian1999-04-081-2/+2
| | | | Suggested by: archie
* Tidy up trimdomain() and document it.brian1999-04-073-12/+76
| | | | Don't truncate one byte short of the passed length.
* Add aout to the links also.jhay1999-04-071-2/+3
| | | | Reviewed by: peter
* Handle hostnames up to MAXHOSTNAMELEN-1 in length.brian1999-04-071-10/+9
| | | | | | Use bcopy() instead of strcpy() to handle potentially overlapping regions. Un-obscure/complicate some code.
* Put parenthesis around sizeof args.brian1999-04-071-6/+6
| | | | | | Allow for host names up to MAXHOSTNAMELEN - 1 in length. Prompted by: bde
* Add manpage link for dlversion(3).jdp1999-04-071-2/+3
|
* Add a new function dlversion() which returns the version number ofjdp1999-04-072-2/+34
| | | | | | the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
* Add realhostname() - a function to correctly lookupbrian1999-04-064-3/+190
| | | | | a name by address and ensure that the name resolves back to the original address.
* Fix bug that prevented accounts with empty passwords from loggingjdp1999-04-061-1/+1
| | | | | | in. Submitted by: Paul Traina <pst@juniper.net>
* Install these compat libs to /usr/lib/compat/aout. I think this will workpeter1999-04-063-6/+6
| | | | with the release builds.
* Fixed disordering in previous 2 commits. Fixed an English error.bde1999-04-051-5/+6
|
* Add wrappers for pread and pwrite syscalls.dt1999-04-046-11/+119
|
* Add mkstemps to the man page, and create a link for it.imp1999-04-042-2/+14
| | | | | Obtained from: OpenBSD Poked in the eye about committing new functions without a manpage: obrien
* Add mkstemps from OpenBSD. This has been in my tree for months andimp1999-04-041-7/+24
| | | | | | hasn't caused any problems until the egcs import. This fix breaks the world build, but my very next commit will remove mkstemps from the egcs build.
* Manpages for the KLD system calls.dfr1999-04-047-1/+450
| | | | | PR: docs/10412 Submitted by: Chris Costello <chris@calldei.com>
* Fix a macro name typo that made a word disappear.jdp1999-04-031-1/+1
|
OpenPOWER on IntegriCloud