summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Uniformly refer to a file system as "file system".ru2002-12-1226-165/+165
| | | | Approved by: re
* mdoc(7) police: .Dt is ALL UPPERCASE.ru2002-12-121-1/+1
| | | | Approved by: re
* mdoc(7) police: Added the missing .Os call; it's not strictlyru2002-12-116-0/+6
| | | | | | | necessary nowadays, but is documented as "required", and may become so again in the future. Approved by: re
* Fixed the parameter's name.ru2002-12-111-1/+1
| | | | | | PR: docs/46183 Submitted by: Dirk Gouders <gouders@et.bocholt.fh-ge.de> Approved by: re
* mdoc(7) police: tiny nits.ru2002-12-091-4/+4
| | | | Approved by: re
* mdoc(7) police: tiny nits.ru2002-12-093-8/+11
| | | | Approved by: re
* mdoc(7) police: overhaul.ru2002-12-091-109/+232
| | | | Approved by: re
* mdoc(7) police: nits.ru2002-12-091-15/+18
| | | | Approved by: re
* mdoc(7) police: nits.ru2002-12-091-2/+3
| | | | Approved by: re
* mdoc(7) police: overhaul.ru2002-12-091-12/+12
|
* For now, build and install this as libkse instead of libpthread.deischen2002-12-084-6/+6
| | | | | | | This will avoid any accidental use of an experimental library. Suggested by: rwatson Approved by: re (jhb)
* Do not guarantee an overflow of tm_year when doing the binary search inpeter2002-12-051-0/+6
| | | | | | localtime/mktime/tmcomp and friends on ia64. Approved by: re
* Capitalize ASCII code names.ru2002-12-053-10/+15
| | | | Approved by: re
* Consistently mark std(in|out|err) with .Dv, because that's how theyru2002-12-0421-38/+50
| | | | | | | are marked up in stdio(3), and because they are defined expressions of type "FILE *". Approved by: re
* mdoc(7) police: markup overhaul.ru2002-12-046-14/+22
| | | | Approved by: re
* mdoc(7) police: markup overhaul.ru2002-12-047-58/+82
| | | | Approved by: re
* mdoc(7) police: overhaul.ru2002-12-048-109/+132
| | | | Approved by: re
* Minimal libc for PowerPC.grehan2002-12-0418-0/+1149
| | | | | | Reviewed by: benno Approved by: re (blanket)
* Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64.jake2002-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
* Update the second copy of libstand to deal with the new ufs2 superblockjake2002-12-031-1/+1
| | | | | | format. The one in sys/boot/libstand is not connected to the build. Approved by: re
* Break up a bunch of crazy if statements to use a case statement insteadjhb2002-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
* Replace rev 1.33 with a real fix. The problem was integer overflowspeter2002-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
* Backed out previous commit (alignment suitable for RELENG_4) as plannedbde2002-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)
* mdoc(7) police: sweep.ru2002-11-2915-88/+92
|
* mdoc(7) police: sweep.ru2002-11-292-12/+14
|
* mdoc(7) police: formatting nits.ru2002-11-2919-64/+94
| | | | Approved by: re
* Whitespace nits.des2002-11-281-2/+2
| | | | Approved by: re (bmah)
* Add a PAM_MODULE_ENTRY to this module so it'll actually do something.des2002-11-281-0/+2
| | | | Approved by: re (bmah)
* try SIOCGIFINDEX 1st to be able to use network aliasing.ume2002-11-281-0/+13
| | | | | Submitted by: jlemon Approved by: re
* Implement and document support for an HTTP_REFERER environment variable.des2002-11-282-12/+26
| | | | | | | PR: 28171 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Approved by: re (bmah) MFC after: 1 week
* Create a new 32-bit fs_flags word in the superblock. Add code to movemckusick2002-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.
* Schedule spinlocked threads by moving them through the work queue, insteadmini2002-11-242-4/+30
| | | | | | | of the wait queue. Approved by: re (blanket) Stolen from: davidxu
* Get the wall clock time from the KSE mailbox, rather than doing anothermini2002-11-242-4/+4
| | | | syscall.
* Directly load %edx from mailboxdavidxu2002-11-231-4/+3
|
* Describe newly added fields in the KSE and thread mailboxes.archie2002-11-221-0/+28
| | | | Approved by: re
* Document the `label' capability.chris2002-11-221-0/+2
| | | | | | Approved by: re Sponsored by: DARPA, Network Associates Labs Obtained from: TrustedBSD Project
* In _thread_enter_uts, fix eflags saving bug.davidxu2002-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.
* Fix idle timeout bug, use correct current time of day.davidxu2002-11-202-4/+4
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-1831-153/+107
|
* This file has reincarnated as src/include/uuid.h with a whole newmarcel2002-11-181-59/+0
| | | | future ahead of it.
* libc header files are normally in src/include. Therefore, uuid.h hasmarcel2002-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
* Adjust code for new mailbox format.davidxu2002-11-182-6/+6
| | | | Reviewed by: deischen, mini
* Oops. Some ut_time stuff slipped through the cracks. These turned outpeter2002-11-172-2/+4
| | | | to be non-fatal due to stack alignment roundups.
* Update SYNOPSIS to reflect the standardized header. Add STANDARDSmike2002-11-171-4/+13
| | | | | | section. PR: 43270
* - Ease sanity check to get cylinders.nyan2002-11-171-6/+12
| | | | - Get the slice name from the result of kern.geom.conftxt.
* goto break; != break;dougb2002-11-171-3/+3
| | | | | | I've no idea if this is the right behavior for the library, but this at least fixes the build, and matches what seems to be alfred's intent in the commit message for 1.19.
* Rework the sysconf(3) interaction with aio:alfred2002-11-171-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | sysconf.c: Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0' return value from the kernel sysctl. vfs_aio.c: Make aio reset its configuration parameters to -1 after unloading instead of 0. posix4_mib.c: Initialize the aio configuration parameters to -1 to indicate that it is not loaded. Add a facility (p31b_iscfg()) to determine if a posix4 facility has been initialized to avoid having to re-order the SYSINITs. Use p31b_iscfg() to determine if aio has had a chance to run yet which is likely if it is compiled into the kernel and avoid spamming its values. Introduce a macro P31B_VALID() instead of doing the same comparison over and over. posix4.h: Prototype p31b_iscfg().
* Implement the lock with a cmpxchg instruction instead of a xchg.marcel2002-11-161-2/+3
| | | | | | | | | | Both are atomic, but the cmpxchg has memory ordering hints. We give this acquire semantics. NOTE: The unlock in libc_r is implemented by a "normal" assign statement. This is not correct on ia64 due to the memory ordering characteristics of the architecture. We need release semantics for an unlock.
* Disconnect the userland get/set/swapcontext() functions fromdeischen2002-11-164-6/+6
| | | | | | | | | libc. I want to keep these in some version for the thread library/ies, but don't know whether to have them repo-copied to libc_r or renamed and kept in libc. Change the name of an alpha macro that was changed with the system call commit.
* Provide more correct default values for sysconf(3) reporting of the AIOalfred2002-11-161-0/+3
| | | | | | | | | | | | | subsystems capabilities: _SC_AIO_LISTIO_MAX returns the default of _POSIX_AIO_LISTIO_MAX _SC_AIO_MAX returns the default _POSIX_AIO_MAX _SC_AIO_PRIO_DELTA_MAX returns the default of 0 Without these adjustments the values returned are -1 even when the aio side of the kernel returns '0' for them which is incorrect. Noticed by: Craig Rodrigues <rodrigc@attbi.com>
OpenPOWER on IntegriCloud