summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
AgeCommit message (Expand)Author
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-08Do not wait indefinitely for flushing when closing a tty.Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-08Replace ttkqflush() with klist_invalidate() to handle knote listVisa Hankala
2020-01-09Convert sleeps of 1sec or more to tsleep_nsec(9).Martin Pieuchot
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-07-19ttysleep(): drop unused timeout parametercheloha
2019-07-09Use timeout_add_msec(9)kn
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.Martin Pieuchot
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().Martin Pieuchot
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
2018-09-06fix whitespaceJonathan Gray
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
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