summaryrefslogtreecommitdiff
path: root/lib/libc/sys
AgeCommit message (Collapse)Author
2008-12-17Document ENOBUFS for writev(2).Ray Lai
Okay claudio, deraadt.
2008-11-26Add unix(4) to SEE ALSO.Michael Knudsen
ok deraadt
2008-11-21- make the .Nd of link(2) and symlink(2) a bit more consistentJasper Lievisse Adriaanse
(train trips are soo boring...) ok jmc@
2008-10-24some SEE ALSO additions from Ingo Schwarze;Jason McIntyre
2008-09-16Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).Mark Kettenis
ok miod@
2008-09-12as we did for reboot(8), do not attempt to list architecturesJason McIntyre
which do or do not support certain options: it just goes horribly out of date;
2008-08-04improve SEE ALSO links; from Ingo SchwarzeJason McIntyre
ok otto millert
2008-07-29clarify EMSGSIZEGilles Chehade
rewording by jmc@, "lovely" deraadt@
2008-06-30document that mquery(2) is non-standard; hint and ok deraadt@Otto Moerbeek
2008-06-30xref mqueryOtto Moerbeek
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-10document access(2) can return EPERM; noted by Tim van der Molen; ok millert@Otto Moerbeek
2008-06-10add missing arg to .FnOtto Moerbeek
2008-06-09Update access(2) to have modern semantics with respect to X_OK andTodd C. Miller
the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@
2008-05-09kill trailing whitespace;Jason McIntyre
2008-05-09add SO_BINDANY with pf example; help from jmc, ok beck@Markus Friedl
2008-05-02Make the SO_TIMESTAMP sockopt work. When set, this allows the user toChris Kuethe
get a timestamp of when the datagram was accepted (by udp(4), for example) rather than having to take a timestamp with gettimeofday(2) when recv(2) returns - possibly several hundreds of microseconds later. May be of use to those interested in precision network timing schemes or QoS for media applications. Tested on alpha, amd64, i386 and sparc64. manpage suggestions from jmc, ok deraadt
2008-04-24- correct brk(2) prototype and man page to match implementation and POSIX.Kurt Miller
brk(2) returns an int value not a void *. brk(2) returns 0 upon success not a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
2008-04-05document EINVAL; from DasnJason McIntyre
ok millert
2008-04-04- do not call pthread_atfork(3) handlers when a multithreaded programKurt Miller
calls vfork(2). "untested, but looks OK" marc@ - document vfork(2), popen(3) and system(3) don't call atfork handlers in multithreaded programs. okay jmc@
2008-03-22move statvfs.c to gen, since it is not a syscall; ok deraadt@Otto Moerbeek
2008-03-16sync with sys/statfs.h; ok jmc@Otto Moerbeek
2008-03-16indentTheo de Raadt
2008-03-16statvfs supportOtto Moerbeek
2008-01-05no more need for vadvise.oTheo de Raadt
2007-12-09correct the STANDARDS section to mention clock_getres() instead ofBrad Smith
clock_setres(). ok jmc@ dlg@
2007-11-05sync the comments for struct stat w/ <sys/stat.h>;Jason McIntyre
2007-11-05- sync the error descriptions w/ those in errlistJason McIntyre
- escape "No" incase groff thinks it's a macro call
2007-09-09Add lint stubs for the longjmp family of functions which are defined inOtto Moerbeek
assembly on all platforms. ok deraadt@
2007-09-09Silence erroneous "environ used, but not defined" lint warning byOtto Moerbeek
providing a stub. ok deraadt@
2007-09-08typo; ok deraadt@Otto Moerbeek
2007-09-08it's MAXNAMLEN, not MAXNAMELEN; spotted by Igor Zinovi.Otto Moerbeek
2007-09-07IPv6 is not an ARPA protocol;Jason McIntyre
from Robert Elz, netbsd-bugs pr#36933 ok otto deraadt
2007-09-03Add ENOMSG and EIDRM; from jsg@Todd C. Miller
2007-07-21- this page describes getpgid.2 tooJason McIntyre
- describe when "pid" is zero; from Kristaps Dzonsons ok millert
2007-07-17document "pid"; based on a diff from Kristaps DzonsonsJason McIntyre
ok otto
2007-07-11add a STANDARDS section, as requested by itojun;Jason McIntyre
ok otto
2007-06-11Document the Bluetooth network protocols and mention that there is AF_BLUETOOTHUwe Stuehler
2007-06-07convert some displays to lists, since the format is more suitable;Jason McIntyre
plus a little cleanup;
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, soKurt Miller
isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
2007-06-05one more IPX removal; ok henningJason McIntyre
2007-06-01more adosfs removal;Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31Xr clock_gettime. pointed there by art. ok jmc.Kjell Wooding
2007-05-30add a new kevent filter type for timers. this allows processes to createTed Unangst
a series of oneshot or periodic timers. capped to a global limit. from freebsd via brad. ok art pedro
2007-05-28tweaks; ok thibJason McIntyre
2007-05-27cleanup the nfssvc() system call.Thordur I. Bjornsson
* Remove alot of dead kerberos code like the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where originally to get the kerberos auth info into the kernel. (that hasnt worked for long, if ever.) Also remove some helper functions and associated goo, however theres still alot of it left. * Remove NFSSVC_BIOD, biod's where replaced with kernel threads a long time ago. * NFSSVC_MNTD wich was is NQNFS leftover. Update the man page and nfsd(8). nfssvc(2) besides being special has only one user in the tree nfsd(8), therefore no library bumps are needed. (discussed with deraadt@). ok beck@, "go a head" deraadt@ Tested by ckuethe@
2007-05-21add EOVERFLOW and ECANCELED here too.Jasper Lievisse Adriaanse
reminded and ok jmc@
2007-05-02Document the lack of error return value in arc4random.Pierre-Yves Ritschard
Sync the documentation in getpid with arc4random's format.
2007-03-30document accept can return EINTR. ok millert@ jmc@Kurt Miller