summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
AgeCommit message (Expand)Author
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
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
2010-06-28Allow tty drivers to request larger buffers at attach time using aTheo de Raadt
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
2009-11-27typo in documentation; missing full stop.Igor Sobrado
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-30Add missing KNOTE() calls after selwakeup() in ptcread() (to wake up writersNicholas Marriott
2009-10-28For the TIOCSET* ioctls, validate that the tty speeds are positive (sinceTheo de Raadt
2009-07-19clalloc() can't fail, so there's no need to handle failure cases.Bret Lambert
2008-12-24EVFILT_WRITE filters should return the amount of space remaining in theMark Kettenis
2008-11-11for ^T support, grab all the information from the process before goingTheo de Raadt
2008-07-28Fix integer truncation in ttwrite(). ok deraadt, miod.Stefan Kempf
2008-05-23tputchar() can put characters on the tty output queue if clocal is set,Theo de Raadt
2008-04-10scrub local stack-based buffers in the tty subsystem. tested by a lot ofTheo de Raadt
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-06-17avoid missing events for timestamping (dcd change at same time as cts);Theo de Raadt
2006-04-27create a (very simple) method for timestamping CTS & DCD events on ttys,Theo de Raadt
2005-12-21ansi/deregister. No binary change.Jonathan Gray
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-11-18handle SONPROC; ok aaron, deraadt, krwMarkus Friedl
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff