summaryrefslogtreecommitdiff
path: root/sys/kern/sys_generic.c
AgeCommit message (Expand)Author
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
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-08-12Missing FRELE() call on writev(2) error condition; art@ ok.Aaron Campbell
2002-08-11SCARG cleanup; okay millert@Niels Provos
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
2002-02-13More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl f...Artur Grabowski
2002-02-08Require a FREFd file in dofilewrite{,v}.Artur Grabowski
2002-02-08require a FREFd fp in dofilereadv. Fix some comments.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
2002-02-05Add counting of temporary references to a struct file (as opposed to referencesArtur Grabowski
2002-02-02Be more consistent about using fd_getfile where it matters.Artur Grabowski
2001-11-14in poll, if fd is < 0, clear revents; bjy@mogua.orgTheo de Raadt
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
2000-09-27replace MALLOC/FREE w/ malloc/free for non-constant-sized memory allocations;...Michael Shalayeff
2000-07-07Isn't code sharing great?Artur Grabowski
2000-07-07When select is awakened by a select collission, we need to recalculateArtur Grabowski
2000-04-20p{read,write}{,v} from csapuntz, partial NetBSD origin I thinkTheo de Raadt
2000-04-19Change struct file interface methods read and write to pass file offset inConstantine Sapuntzakis
1999-11-29revents already cleared; dTheo de Raadt
1999-11-29handle invalid file descriptors in poll more carefully; dTheo de Raadt
1999-08-04optimize poll() for small nfds, by avoiding mallocTheo de Raadt
1999-05-24correct return value of poll(); noted by d@Theo de Raadt
1999-03-22in poll(), constrain nfds better, to avoid kvm starvation; alexTheo de Raadt
1999-02-14Use IOV_MAX, not the deprecated UIO_MAXIOVTodd C. Miller
1999-02-14readv/writev with iov_len == 0 is legal (was already ok in uipc_syscalls.c).Todd C. Miller
1998-07-28writev takes an int as param #3; theoTodd C. Miller
1998-07-28For read, write, send, sendto, recv, recvfrom return EINVAL is size arg > SSI...Todd C. Miller
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t...Todd C. Miller
1998-02-09More missing type changes; pointed out by deraadt@OpenBSD.orgThorsten Lockert
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt
1997-01-27select subsystem si_pid becomes si_selpid, to not conflict against user/kerne...Theo de Raadt
1996-10-12i added a fair bit to thisTheo de Raadt
1996-05-18poll() as a system callTheo de Raadt
1996-05-07if nfds > FD_SETSIZE, allocate room for the bitmasks inside the kernel; alsoTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt