summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.mpi1-1/+3
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousderaadt1-2/+1
2020-05-08Do not wait indefinitely for flushing when closing a tty.mpi1-6/+24
2020-04-07Abstract the head of knote lists. This allows extending the lists,visa1-4/+4
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowvisa1-3/+3
2020-02-08Replace ttkqflush() with klist_invalidate() to handle knote listvisa1-46/+11
2020-01-09Convert sleeps of 1sec or more to tsleep_nsec(9).mpi1-2/+3
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa1-1/+29
2019-12-31Use C99 designated initializers with struct filterops. In addition,visa1-5/+14
2019-07-19ttysleep(): drop unused timeout parametercheloha1-11/+11
2019-07-09Use timeout_add_msec(9)kn1-19/+12
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.mpi1-3/+1
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().mpi1-1/+3
2019-05-13When killing a process, the signal is handled by any thread thatbluhm1-3/+3
2018-09-06fix whitespacejsg1-3/+3
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsbeck1-1/+2
2018-06-16base and ports are now clean of TIOCSTI uses. The #define can now be removed.deraadt1-4/+1
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isvisa1-2/+2
2018-04-28replace add_*_randomness with enqueue_randomness()jasper1-2/+2
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysvisa1-2/+2
2018-02-19Remove almost unused `flags' argument of suser().mpi1-2/+2
2018-02-06reduce scope of variable a bit to avoid shadowingtedu1-2/+3
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hguenther1-2/+2
2017-06-29Due to risks known for decades, TIOCSTI now performs no action, and simplyderaadt1-7/+2
2017-01-21p_comm is the process's command and isn't per thread, so move it fromguenther1-2/+2
2016-07-10POSIX specifies that if a processing calling tcsetpgrp() is in themillert1-3/+1
2016-05-17Allow sendsyslog(2) with LOG_CONS even when /dev/console has notbluhm1-4/+1
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano1-2/+2
2016-01-28Convert to uiomove. Diff from Martin Natano.stefan1-2/+2
2016-01-14Increase buffer sizes and watermarks for tty and pppsf1-2/+7
2015-12-05remove stale lint annotationstedu1-2/+1
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'semarie1-2/+2
2015-10-28TIOCCONS will probably never be permitted, but it is good style to setderaadt1-1/+3
2015-08-28Modify ttystats_init() to tell us about the buffer size, so that wederaadt1-5/+7
2015-08-26two simple free() sizesderaadt1-3/+3
2015-07-20Fix tty hiwat handling a bitsf1-14/+5
2015-02-10First step towards making uiomove() take a size_t size argument:miod1-2/+2
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.mpf1-1/+14
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlocktedu1-1/+2
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu1-1/+3
2014-12-10convert bcopy to memcpy. ok millerttedu1-4/+4
2014-12-01clist's chained, and could get fairly long which is why there was aderaadt1-4/+3
2014-11-18include unistd.h instead of picking it up accidentally. noted by jsgtedu1-1/+2
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod1-2/+1
2014-07-13use mallocarray where arguments are multipled. ok deraadttedu1-2/+2
2014-07-13If the only process in the pgrp is in the middle of exiting, it mightguenther1-2/+4
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-4/+4
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt1-2/+1
2014-07-04Track whether a process is a zombie or not yet fully built via flagsguenther1-4/+3
2014-06-06Allocate the struct itty array in ttystats_init() with M_ZERO.matthew1-2/+2