summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-09-23fix a bug where the logic was reversedKurt Miller
2006-09-23If fgetln() != NULL, len == 0 is impossible, so remove check.Ray Lai
OK otto@ and jaredy@.
2006-09-22Part 1 of file descriptor race and deadlock corrections.Kurt Miller
File status flags should be shared for dup'ed file descriptors. However fd_table_entry's should not be shared for dup'ed file descriptors so they can be independently be closed without interfering with dup'ed fd's. - split out file status flags into its own structure fs_flags to manage sharing of status flags between dup'ed file descriptors. - when duplicating a fd, initialize a new fd_table_entry for the new fd, but share the status flags via status_flags. - consolidate the code that sets the underlying system fd to be non-blocking to a new function _thread_fs_flags_init() - consolidate the code that sets the underlying system fd back to blocking into a new function _thread_fs_flags_replace() This change is needed as a prerequisite to the coming race and deadlock corrections. okay marc@
2006-09-22Check return value of authunix_create_default(); from bret lambertOtto Moerbeek
with some guidance by me; ok jaredy@
2006-09-22Back out change in rev 1.15 of to allow whitespace to separate aTodd C. Miller
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@
2006-09-22Remove reference to LFS, okay deraadt@Pedro Martelletto
2006-09-18+MLINK pcap.3 pcap_get_selectable_fd.3Jason McIntyre
from okan demirmen
2006-09-17dont put two '\n' at the end of the string returnd by clnt_sperror()Thordur I. Bjornsson
ok deraadt@
2006-09-15sysctl(3) can return ESRCH; noted by Kristaps Johnson; ok miod@ jmc@Otto Moerbeek
2006-09-15better desciption of ESRCH; prompted by jmc@; ok miod@ jmc@Otto Moerbeek
2006-09-09document pcap_get_selectable_fd(); MLINK will happen after unlockJason McIntyre
from okan demirmen; ok djm
2006-09-09fix RSA signature padding vulnerability in OpenSSL libcrypto CVE-2006-4339;Damien Miller
ok beck@ miod@
2006-09-07knock out an .Xr to self;Jason McIntyre
from joachim schipper (pr #5228)
2006-09-03Add EINVAL and EOPNOTSUPP for remote filesystems,Ian Darwin
OK jmc@ miod@
2006-08-29If pgrp is zero, the process ID of the specified process is used.Christian Weisgerber
ok jmc@
2006-08-09Document error return when namelen is 0. OK jmc@Todd C. Miller
2006-08-09correction from vasil dimov;Jason McIntyre
tweak whilst in here
2006-08-07- fix a sentenceJason McIntyre
- some indent
2006-08-05no point mentioning functions if we have nothing useful to sayJason McIntyre
about them; ok djm
2006-08-04Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programsBob Beck
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@
2006-08-04clarification from kristaps johnson;Jason McIntyre
2006-08-03tweak;Jason McIntyre
2006-08-03EILSEQ is 84 not 83.Bob Beck
2006-08-03Document EILSEQ - forgotten by the wide character folks when they addedBob Beck
it to errno. ok deraadt@
2006-07-26wording/grammar tweaks;Jason McIntyre
2006-07-26better macros;Jason McIntyre
2006-07-26document `iv';Jason McIntyre
from eren elci; tweaked by djm ok djm
2006-07-25updates from nicholas marriott;Jason McIntyre
re-worded and ok djm
2006-07-23remove tzset(3) from SYNOPSIS: it has its own man page;Jason McIntyre
spotted by stevesk; ok otto
2006-07-18get rid of arc network support. we have no users of it so this is deadDavid Gwynne
code. however, it is still cluttering up the kernel namespace a bit. it is better gone. ok claudio@
2006-07-13Back out the anon change. Apparently it was tested by a few, but most ofTheo de Raadt
us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices.
2006-07-12add some more C99 functions: round(3) and roundf(3).Brad Smith
By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu> From FreeBSD
2006-07-09grammar tweak, on re-read;Jason McIntyre
2006-07-09- clean up the SOCK_RAW textJason McIntyre
- remove the SOCK_RDM text; suggested by krw - Xr inet(4) and inet6(4)
2006-07-04fix prototype of wcstombs; from TAKAHASHI TamotsuOtto Moerbeek
2006-07-04allocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemioOtto Moerbeek
dot org>; ok djm@ deraadt@
2006-06-27crank shlib_versionDamien Miller
2006-06-27resolve conflictsDamien Miller
2006-06-27import of openssl-0.9.7jDamien Miller
2006-06-21from netbsd: make anons dynamically allocated from pool.Michael Shalayeff
this results in lesse kva waste due to static preallocation of those for every phys page and also every swap page. tested by beck krw miod
2006-06-20Mention that only the superuser may adjust the frequency. Like inRay Lai
adjtime(2), but less wordy. OK otto@, jmc@.
2006-06-19Real kvm routines for vax; allows ``target kvm'' to work in gdb for kernelMiod Vallat
crash dumps. ok kettenis@
2006-06-14.Xr adjfreq and ntpdOtto Moerbeek
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
Loosely based on dragonfly code. Man page help fro jmc@; ok deraadt@
2006-06-14Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. LongKenneth R Westerback
marked obsolete since the opendev() behaviour it turned on is now the default. 'it can go' deraadt@ 'no API of mine has ever made it into a standard' downsj@
2006-06-12Use the non-generic SEGSHIFT value in the 020/030 specific codepath.Miod Vallat
2006-06-12add class 1 and class 3 root certificates from CAcert.org. ok beck@Jakob Schlyter
2006-06-09proper type and ptdsize checks; had it for three weeks now... sighMichael Shalayeff
2006-06-08potential fd leak (we will fix this before we move to cloning)Theo de Raadt
2006-06-07remove expired certificates. ok beck@Jakob Schlyter