summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
AgeCommit message (Expand)Author
2018-06-16base and ports are now clean of TIOCSTI uses. The #define can now be removed.Theo de Raadt
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-06reduce scope of variable a bit to avoid shadowingTed Unangst
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-06-29Due to risks known for decades, TIOCSTI now performs no action, and simplyTheo de Raadt
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-07-10POSIX specifies that if a processing calling tcsetpgrp() is in theTodd C. Miller
2016-05-17Allow sendsyslog(2) with LOG_CONS even when /dev/console has notAlexander Bluhm
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-01-28Convert to uiomove. Diff from Martin Natano.Stefan Kempf
2016-01-14Increase buffer sizes and watermarks for tty and pppStefan Fritsch
2015-12-05remove stale lint annotationsTed Unangst
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-10-28TIOCCONS will probably never be permitted, but it is good style to setTheo de Raadt
2015-08-28Modify ttystats_init() to tell us about the buffer size, so that weTheo de Raadt
2015-08-26two simple free() sizesTheo de Raadt
2015-07-20Fix tty hiwat handling a bitStefan Fritsch
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlockTed Unangst
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-12-01clist's chained, and could get fairly long which is why there was aTheo de Raadt
2014-11-18include unistd.h instead of picking it up accidentally. noted by jsgTed Unangst
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-13If the only process in the pgrp is in the middle of exiting, it mightPhilip Guenther
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-06-06Allocate the struct itty array in ttystats_init() with M_ZERO.Matthew Dempsky
2014-05-30explicit_bzero for clearing stack variables.Ted Unangst
2014-05-25Handle threaded processes correctly when processing kerninfo status requestsPhilip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2013-12-16Restore TIOCGSID ioctl that was removed along with the 4.3BSD tty(4)Todd C. Miller
2013-12-13Remove the 4.3BSD tty(4) compatibility shims. RIP. ok millert@Christian Weisgerber
2013-10-11poll(2) on a closed tty should return POLLIN|POLLHUP in reventsTodd C. Miller
2013-10-06Back out POLLHUP change until a problem with xterm hanging on closeTodd C. Miller
2013-10-04poll(2) on a closed tty should return POLLIN|POLLHUP in reventsTodd C. Miller
2013-06-10Switch from timeval to timespec introduced format error; fix by preppingPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-04-24When a ucom(4) is removed, it frees the tty with ttyfree(). However ifNicholas Marriott
2013-01-17Ensure the tty hiwat is less than the size of the ring buffer (sinceTheo de Raadt
2012-04-22Reset t_column to 0 when initializing a tty.Matthew Dempsky
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott