summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* sync with <sys/stat.h>;jmc2006-10-141-5/+14
| | | | | from simon barner (freebsd pr #57153); ok millert deraadt
* __mips64__ handling too.. sighderaadt2006-10-131-4/+5
|
* sparc64 should be in the #ifdefderaadt2006-10-121-2/+2
|
* use __amd64__ instead, until lint is fixedderaadt2006-10-121-2/+2
|
* reorder #if tests because apparently on amd64 cpp proceeds to blow it'sderaadt2006-10-121-3/+4
| | | | own brains out, and then takes lint down with it. To be investigated...
* SIGCONT may be sent to any process with the same session ID as the caller,jmc2006-10-112-4/+4
| | | | | | | not to any process that is a descendant of the current process. from ryan younce (freebsd pr #58710); confirmed by otto and ok
* be specific about what we mean by a "slow device";jmc2006-10-111-3/+5
| | | | | | | | kick started by netbsd pr 19603 from kevin p. neal. rillig@netbsd seems to have adapted that, and i have in turn adapted it again; ok otto
* and I forgot ldexp.cdrahn2006-10-111-2/+2
|
* build modf.cdrahn2006-10-111-2/+2
|
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-1043-0/+2882
| | | | NetBSD.
* Teach'em about cpus in spandexmiod2006-10-102-6/+6
|
* MLINKS to macros described in stat(2)deraadt2006-10-101-1/+3
|
* system call changes (the file says "changes", leaving it purposelyderaadt2006-10-101-2/+2
| | | | | vague like that) REQUIRE a major crank. Yet it was not done for getcwd. Now a lot of people are going to get screwed
* supply -indent to another display, to make the page match;jmc2006-10-051-5/+5
| | | | kill some trailing whitespace;
* Add S_ISBLK(), S_ISCHR(), S_ISDIR(), S_ISFIFO(), S_ISLNK(), S_ISREG(),ray2006-10-051-1/+14
| | | | | | and S_ISSOCK() macros. OK deraadt@, OK and help from jmc@.
* from wiz@netbsd:jmc2006-10-041-8/+1
| | | | | | Log Message: Switch from 4-clause to 2-clause BSD license. Ok dillo@, board@.
* when using SHA1Data(), no CTX is needed, so zap that line in the examplegrunk2006-10-031-2/+1
| | | | ok jmc@
* Make a var volatile, which forces a mem write at the right spot, andotto2006-10-011-2/+7
| | | | | | detctecion of underflow where it would otherwise not happen for FPUs that have a larger register size than sizeof double (i386, m68k). ok deraadt@ weingart@ kettenis@
* remove superfluous paranthesisjasper2006-09-271-2/+2
| | | | | from Matthew R. Dempsky <mrd at alkemio dot org> ok deraadt
* Zap D_REMOVABLE flag from disklabel. If you didn't already know thatkrw2006-09-261-2/+0
| | | | | | | | floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
* Part 2 of file descriptor race and deadlock corrections.kurt2006-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust design of file descriptor table to eliminate races with both opening and closing of file descriptor entries and eliminates one class of deadlocks. One nice side effect of this change in design should be better performance for applications that open and close many file descriptors due to reduced fd_table_lock contention and fd entry reuse. - Add entry states to manage use of entry and eliminate some closing races. fd entries are not deallocated upon close() now. - Call _thread_fd_table_init with one of five discreet modes to properly initialize an entry and manage the state transition to open. - When closing an entry hold the entry spinlock locked across the state transition and the _thread_sys_close call to close another race. - Introduce a new lock type FD_RDWR_CLOSE that transitions either a closed entry or an open entry into closing state and then waits for a RDWR lock so that the lock queue can unwind normally. All subsequent fd lock attempts for that entry are rejected with EBADF until the fd is fully closed, or reopened by dup2(). Once a thread holds the FD_RDWR_LOCK it is safe to close() it or dup2() on it. - When a thread creates a new fd there is a window of time when another thread could attempt to use the fd before the creating thread has initialized the entry for it. This can result in improper status_flags for the entry, so record the entries init mode, detect when this has happened and correct the status_flags when needed. reviewed by marc@ & brad@, tested by several, okay brad@
* Remove unnecessary /* NOTREACHED */ comments because our lint isray2006-09-252-20/+8
| | | | | | cool and recognizes __dead, and because shorter examples are clearer. OK otto@.
* Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They werekrw2006-09-241-2/+0
| | | | | | | not being used in the tree for anything obviously useful. Get it done early so we can find if there are non-obvious uses out there. ok deraadt@ beck@
* If fgetln() != NULL, len == 0 is impossible, so remove check.ray2006-09-231-3/+3
| | | | OK otto@ and jaredy@.
* Check return value of authunix_create_default(); from bret lambertotto2006-09-221-3/+9
| | | | with some guidance by me; ok jaredy@
* Back out change in rev 1.15 of to allow whitespace to separate amillert2006-09-221-10/+1
| | | | | | | | | flag from its optional argument if permutation is disabled. The idea was that since "r:" would match "-r foo" then "r::" should match "-r foo" too as long as we know that things have not been reshuffled. Unfortunately, this causes incompatibilities with GNU getopt_long when the POSIXLY_CORRECT environment variable is set. OK deraadt@
* Remove reference to LFS, okay deraadt@pedro2006-09-221-2/+1
|
* dont put two '\n' at the end of the string returnd by clnt_sperror()thib2006-09-171-7/+7
| | | | ok deraadt@
* sysctl(3) can return ESRCH; noted by Kristaps Johnson; ok miod@ jmc@otto2006-09-151-1/+3
|
* better desciption of ESRCH; prompted by jmc@; ok miod@ jmc@otto2006-09-151-3/+2
|
* knock out an .Xr to self;jmc2006-09-071-2/+1
| | | | from joachim schipper (pr #5228)
* Add EINVAL and EOPNOTSUPP for remote filesystems,ian2006-09-031-1/+9
| | | | OK jmc@ miod@
* If pgrp is zero, the process ID of the specified process is used.naddy2006-08-291-1/+4
| | | | ok jmc@
* Document error return when namelen is 0. OK jmc@millert2006-08-091-1/+6
|
* correction from vasil dimov;jmc2006-08-091-7/+3
| | | | tweak whilst in here
* - fix a sentencejmc2006-08-071-5/+5
| | | | - some indent
* no point mentioning functions if we have nothing useful to sayjmc2006-08-051-13/+1
| | | | | | about them; ok djm
* Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programsbeck2006-08-043-3/+10
| | | | | | | | | | | when using removable media devices, along with changes to scsi_base to detect such cases in tapes other devices. This makes tar, dd, and friends report a semi useful error message instead of nonsense when there is nothing in the device. Includes libc minor bump, and will require the corresponding sets change. ok krw@ deraadt@
* clarification from kristaps johnson;jmc2006-08-041-1/+2
|
* tweak;jmc2006-08-031-2/+2
|
* EILSEQ is 84 not 83.beck2006-08-031-2/+2
|
* Document EILSEQ - forgotten by the wide character folks when they addedbeck2006-08-031-1/+3
| | | | | it to errno. ok deraadt@
* wording/grammar tweaks;jmc2006-07-261-3/+4
|
* better macros;jmc2006-07-261-6/+6
|
* document `iv';jmc2006-07-261-1/+4
| | | | | from eren elci; tweaked by djm ok djm
* updates from nicholas marriott;jmc2006-07-251-5/+9
| | | | re-worded and ok djm
* remove tzset(3) from SYNOPSIS: it has its own man page;jmc2006-07-231-4/+2
| | | | spotted by stevesk; ok otto
* grammar tweak, on re-read;jmc2006-07-091-2/+2
|
* - clean up the SOCK_RAW textjmc2006-07-091-8/+5
| | | | | - remove the SOCK_RDM text; suggested by krw - Xr inet(4) and inet6(4)
* fix prototype of wcstombs; from TAKAHASHI Tamotsuotto2006-07-041-2/+2
|