summaryrefslogtreecommitdiff
path: root/sys/dev/cons.c
AgeCommit message (Collapse)Author
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-16Avoid a NULL deref in cnkqfilter() for certain cases. Modeled afterTodd C. Miller
cnwrite(); closes PR 3317.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2001-04-17Implement cnbell(), an optional entrypoint that rings the console bell; fromAaron Campbell
NetBSD. deraadt@ ok
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-02-09check dev in cn_tab for sanity, better than pagefaultingMichael Shalayeff
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18Fix includes ordering.Michael Shalayeff
1996-03-30Add $OpenBSD$, fix comments.Michael Shalayeff
1996-03-02From NetBSD: sync with 960217 sourcesNiklas Hallqvist
1996-02-27From NetBSD: update to 960217 sourcesNiklas Hallqvist
1995-12-14from netbsd; fix definition of nullcnpollc, and add a prototype for itTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt