summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Change the name for the local unix-socket based protocolMartin Blapp2002-12-163-6/+29
| | | | | | | | | | | | from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: imp (UPDATING) Requested by: iedowse, lukem@netbsd.org Notes: svn path=/head/; revision=107952
* Merge in most non-style differences from Andrew Korty's pam_ssh 1.7.Dag-Erling Smørgrav2002-12-163-51/+70
| | | | Notes: svn path=/head/; revision=107934
* o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. ItMaxim Konovalov2002-12-161-1/+1
| | | | | | | | | | | does not hurt anything because uipc_ctloutput() does not check sopt->sopt_level. Pointed out by: ru MFC after: 1 week Notes: svn path=/head/; revision=107929
* This is David Schultz's swapoff code which I am finally able to commit.Matthew Dillon2002-12-152-18/+46
| | | | | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks Notes: svn path=/head/; revision=107913
* o Fix bogus getsockopt(2) call: swap SOCK_STREAM and LOCAL_PEERCRED.Maxim Konovalov2002-12-151-1/+1
| | | | | | | | | | | | The bug does not affect anything because SOCK_STREAM == LOCAL_PEERCRED == 0x1. PR: bin/46165 Submitted by: Alain Thivillon <at@rominet.net> Reviewed by: dd MFC after: 1 week Notes: svn path=/head/; revision=107895
* mdoc(7) police: markup overhaul.Ruslan Ermilov2002-12-141-10/+15
| | | | Notes: svn path=/head/; revision=107864
* Add an implementation of the POSIX.1 sockatmark(3).Bill Fenner2002-12-133-2/+152
| | | | Notes: svn path=/head/; revision=107836
* mdoc(7) police: sort xrefs in SEE ALSO.Ruslan Ermilov2002-12-132-2/+2
| | | | Notes: svn path=/head/; revision=107826
* Fix the HISTORY to match reality. They were never MFC'ed to 4.X.Tom Rhodes2002-12-121-1/+1
| | | | | | | | Submitted by: R. Imura <imura@ryu16.org> Approved by: re (murray) Notes: svn path=/head/; revision=107796
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-1226-165/+165
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* mdoc(7) police: .Dt is ALL UPPERCASE.Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107771
* mdoc(7) police: Added the missing .Os call; it's not strictlyRuslan Ermilov2002-12-116-0/+6
| | | | | | | | | | necessary nowadays, but is documented as "required", and may become so again in the future. Approved by: re Notes: svn path=/head/; revision=107744
* Fixed the parameter's name.Ruslan Ermilov2002-12-111-1/+1
| | | | | | | | | PR: docs/46183 Submitted by: Dirk Gouders <gouders@et.bocholt.fh-ge.de> Approved by: re Notes: svn path=/head/; revision=107741
* mdoc(7) police: tiny nits.Ruslan Ermilov2002-12-091-4/+4
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107707
* mdoc(7) police: tiny nits.Ruslan Ermilov2002-12-093-8/+11
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107706
* mdoc(7) police: overhaul.Ruslan Ermilov2002-12-091-109/+232
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107705
* mdoc(7) police: nits.Ruslan Ermilov2002-12-091-15/+18
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107704
* mdoc(7) police: nits.Ruslan Ermilov2002-12-091-2/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107702
* mdoc(7) police: overhaul.Ruslan Ermilov2002-12-091-12/+12
| | | | Notes: svn path=/head/; revision=107701
* For now, build and install this as libkse instead of libpthread.Daniel Eischen2002-12-084-6/+6
| | | | | | | | | | This will avoid any accidental use of an experimental library. Suggested by: rwatson Approved by: re (jhb) Notes: svn path=/head/; revision=107687
* Do not guarantee an overflow of tm_year when doing the binary search inPeter Wemm2002-12-051-0/+6
| | | | | | | | | localtime/mktime/tmcomp and friends on ia64. Approved by: re Notes: svn path=/head/; revision=107648
* Capitalize ASCII code names.Ruslan Ermilov2002-12-053-10/+15
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107631
* Consistently mark std(in|out|err) with .Dv, because that's how theyRuslan Ermilov2002-12-0421-38/+50
| | | | | | | | | | are marked up in stdio(3), and because they are defined expressions of type "FILE *". Approved by: re Notes: svn path=/head/; revision=107619
* mdoc(7) police: markup overhaul.Ruslan Ermilov2002-12-046-14/+22
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107616
* mdoc(7) police: markup overhaul.Ruslan Ermilov2002-12-047-58/+82
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107603
* mdoc(7) police: overhaul.Ruslan Ermilov2002-12-048-109/+132
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107592
* Minimal libc for PowerPC.Peter Grehan2002-12-0418-0/+1149
| | | | | | | | | Reviewed by: benno Approved by: re (blanket) Notes: svn path=/head/; revision=107571
* Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64.Jake Burkholder2002-12-041-1/+1
| | | | | | | | | | This may only be turning up now to changes in the cpp predefines for sparc64, which may be turning on more strict alignment checking. Approved by: re Notes: svn path=/head/; revision=107570
* Update the second copy of libstand to deal with the new ufs2 superblockJake Burkholder2002-12-031-1/+1
| | | | | | | | | format. The one in sys/boot/libstand is not connected to the build. Approved by: re Notes: svn path=/head/; revision=107555
* Break up a bunch of crazy if statements to use a case statement insteadJohn Baldwin2002-12-021-14/+16
| | | | | | | | | | | | | | to be cleaner. Also, when deleting a chunk, try to find the mother chunk as a whole chunk by default if this isn't a BSD partition or a unused or whole chunk. Before we just did this for FreeBSD and FAT slices, which means that other chunk types such as EFI and mbr (mbr is used for slices that don't have their own chunk type). Submitted by: nyan (mostly) Approved by: re Notes: svn path=/head/; revision=107531
* Replace rev 1.33 with a real fix. The problem was integer overflowsPeter Wemm2002-12-021-8/+2
| | | | | | | | | | | | | | | | | | | when trying to store the year in a signed int. The maximum time_t on ia64 is around 292 billion years in the future, but 'int' and struct tm.tm_year can only represent then ext 2.1 billion years or so. This solves the problem of mktime/localtime looping on ia64. Unfortunately, the standards say that tm_year is an 'int', so we are still stuck with a y2147483647 bug. bash2's configure script looks for bugs in mktime() and fails on ia64 because of this. However, mktime() on FreeBSD fails the test normally anyway so this is no big loss. This change does not affect any other platforms besides ia64. Approved by: re Notes: svn path=/head/; revision=107480
* Backed out previous commit (alignment suitable for RELENG_4) as plannedBruce Evans2002-12-012-66/+0
| | | | | | | | | | | since it has been MFC'ed. See the log message for the previous commit for more details. The alignment bug in gcc-3 has not been fixed, but it is not very serious and the previous commit just moved it (as intended). Approved by: re (murray) Notes: svn path=/head/; revision=107460
* mdoc(7) police: sweep.Ruslan Ermilov2002-11-2915-88/+92
| | | | Notes: svn path=/head/; revision=107392
* mdoc(7) police: sweep.Ruslan Ermilov2002-11-292-12/+14
| | | | Notes: svn path=/head/; revision=107391
* mdoc(7) police: formatting nits.Ruslan Ermilov2002-11-2919-64/+94
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107387
* Whitespace nits.Dag-Erling Smørgrav2002-11-281-2/+2
| | | | | | | Approved by: re (bmah) Notes: svn path=/head/; revision=107381
* Add a PAM_MODULE_ENTRY to this module so it'll actually do something.Dag-Erling Smørgrav2002-11-281-0/+2
| | | | | | | Approved by: re (bmah) Notes: svn path=/head/; revision=107380
* try SIOCGIFINDEX 1st to be able to use network aliasing.Hajimu UMEMOTO2002-11-281-0/+13
| | | | | | | | Submitted by: jlemon Approved by: re Notes: svn path=/head/; revision=107378
* Implement and document support for an HTTP_REFERER environment variable.Dag-Erling Smørgrav2002-11-282-12/+26
| | | | | | | | | | PR: 28171 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Approved by: re (bmah) MFC after: 1 week Notes: svn path=/head/; revision=107372
* Create a new 32-bit fs_flags word in the superblock. Add code to moveKirk McKusick2002-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel. Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved. Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=107294
* Schedule spinlocked threads by moving them through the work queue, insteadJonathan Mini2002-11-242-4/+30
| | | | | | | | | | of the wait queue. Approved by: re (blanket) Stolen from: davidxu Notes: svn path=/head/; revision=107202
* Get the wall clock time from the KSE mailbox, rather than doing anotherJonathan Mini2002-11-242-4/+4
| | | | | | | syscall. Notes: svn path=/head/; revision=107201
* Directly load %edx from mailboxDavid Xu2002-11-231-4/+3
| | | | Notes: svn path=/head/; revision=107183
* Describe newly added fields in the KSE and thread mailboxes.Archie Cobbs2002-11-221-0/+28
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107179
* Document the `label' capability.Chris Costello2002-11-221-0/+2
| | | | | | | | | Approved by: re Sponsored by: DARPA, Network Associates Labs Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=107177
* In _thread_enter_uts, fix eflags saving bug.David Xu2002-11-223-8/+17
| | | | | | | | | | | In _thread_switch, set current thread pointer in kse mailbox only after all registers copied out of thread mailbox, kernel will do upcall at trap time, if set current thread pointer before loading all registers from thread mailbox, at trap time, the thread mailbox data will be overwritten by kernel, result is junk data is loaded into CPU. Notes: svn path=/head/; revision=107169
* Fix idle timeout bug, use correct current time of day.David Xu2002-11-202-4/+4
| | | | Notes: svn path=/head/; revision=107102
* libc_r wasn't so tied to libc for 22 months.Ruslan Ermilov2002-11-1831-153/+107
| | | | Notes: svn path=/head/; revision=107052
* This file has reincarnated as src/include/uuid.h with a whole newMarcel Moolenaar2002-11-181-59/+0
| | | | | | | future ahead of it. Notes: svn path=/head/; revision=107047
* libc header files are normally in src/include. Therefore, uuid.h hasMarcel Moolenaar2002-11-181-2/+0
| | | | | | | | | | | | | been repo-copied from src/lib/libc/uuid to src/include. Update the makefiles. While in src/include/Makefile, reformat and resort INCS. Reverting the functional change only involves removing uuid.h. Pompted by: ru Notes: svn path=/head/; revision=107046