summaryrefslogtreecommitdiff
path: root/sys/kern/sys_generic.c
AgeCommit message (Expand)Author
2014-07-13trim some castsTed Unangst
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12Refactor out dosigsuspend() functionMatthew Dempsky
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08Repair compilability after the recent uvmexp changes, especially forMiod Vallat
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-01-21bzero -> memsetTed Unangst
2013-09-14Correct the handling of I/O of >=2^32 bytes and the ktracing there ofPhilip Guenther
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-01always implement stub utrace syscall, but keep the body #ifdef KTRACETed Unangst
2013-05-19select(-1, ...) should fail with EINVAL.Philip Guenther
2013-04-29Extend P_SIGSUSPEND handling in userret() to properly restore theMatthew Dempsky
2012-07-09Print the fd_set used by select in kdump.Claudio Jeker
2012-07-09Compare the size of the static fd_mask against the number of bytes neededClaudio Jeker
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
2011-11-06Document a non-obvious reason why something can't overflow.Philip Guenthe
2010-12-19Since we have an ioctl that uses a struct with an off_t member as itsMark Kettenis
2010-08-18delete some rogue spaces and tabs. no binary change.Marco Peereboom
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-08Devices which don't have read or write functionality should not returnTheo de Raadt
2010-04-11In sys_ioctl(), change the type of stkbuf to u_long to make sure it isMark Kettenis
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-06-08must calculate iovlen or ktrace panics the machine; diff from blambertTheo de Raadt
2009-06-04Put readv/writev changes back in, as they no longer hang ckuethe's ntpd.Bret Lambert
2009-06-03Revert readv/writev changes, as they trigger an apparent file descriptorBret Lambert
2009-06-02set needfree to NULL in sys_writev() so stack garbageThordur I. Bjornsson
2009-06-02it is better when ramdisks compileTheo de Raadt
2009-06-02dofile{read,write} are essentially identical to their iovec equivalents,Bret Lambert
2009-03-24Only copy out the revents field, not the whole pollfd structure. ThisKurt Miller
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-07-25Back out the tracking of procs in struct selinfo. There's one seriousArtur Grabowski
2007-03-24Kill the horrible hack of storing the pid in struct selinfo.Artur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-04-15Repair FIOGETOWN operation; from Alexandre Ratchov.Miod Vallat
2006-03-26do per file io accounting and show that in fstat as well; pedro@ marco@ okMichael Shalayeff
2006-03-15copyout() the pollfds if poll() gets interrupted. This resets the reventsClaudio Jeker
2005-12-13ansi/deregister. No binary change.Jonathan Gray
2005-08-01sys_select() used to use 6 local fd_set's in case the width was <= theTheo de Raadt
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-13debranch SMP, have funNiklas Hallqvist
2003-12-10Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.Todd C. Miller
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-09-01match syscallargs comments with realityHenning Brauer
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-23fix nfds type; tedu marc okTheo de Raadt