Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | handle SONPROC; ok aaron, deraadt, krw | 2004-11-18 | 1 | -2/+3 | ||
| | ||||||
* | constify speedtabs and make ttspeedtab() take a const struct speedtab * | 2004-09-19 | 1 | -2/+2 | ||
| | ||||||
* | debranch SMP, have fun | 2004-06-13 | 1 | -2/+3 | ||
| | ||||||
* | check for CLOCAL flag in right variable; from sq@oganer.net | 2004-03-19 | 1 | -2/+2 | ||
| | ||||||
* | Dynamically allocate space for ptys; adapted from NetBSD by beck@ | 2004-02-10 | 1 | -1/+7 | ||
| | ||||||
* | Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for | 2003-10-03 | 1 | -44/+17 | ||
| | | | | | | | | | separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me... | |||||
* | Replace select backends with poll backends. selscan() and pollscan() | 2003-09-23 | 1 | -21/+22 | ||
| | | | | | | | 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 | |||||
* | knf | 2003-08-23 | 1 | -3/+3 | ||
| | ||||||
* | change arguments to suser. suser now takes the process, and a flags | 2003-08-15 | 1 | -2/+2 | ||
| | | | | | | | | | 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@ | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | Clear error before jumping back to the input loop. If error was set | 2002-12-20 | 1 | -1/+2 | ||
| | | | | to EWOULDBLOCK it would otherwise not get cleared; Jim Geovedi | |||||
* | can now get _ttylist via sysctl; millert ok | 2002-12-12 | 1 | -1/+42 | ||
| | ||||||
* | Release sessions to avoid memory leak. From NetBSD. ok deraadt@ | 2002-07-30 | 1 | -1/+6 | ||
| | ||||||
* | Make sure to protect ttypend with spltty all the time. | 2002-07-11 | 1 | -1/+12 | ||
| | | | | Implemented with paranoia. | |||||
* | Change all variables definitions (int foo) in sys/sys/*.h to variable | 2002-07-03 | 1 | -1/+3 | ||
| | | | | declarations (extern int foo), and compensate in the appropriate locations. | |||||
* | splassert(IPL_TTY) where comments tell us we should | 2002-06-11 | 1 | -6/+8 | ||
| | ||||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -11/+11 | ||
| | ||||||
* | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | 2002-01-30 | 1 | -6/+1 | ||
| | ||||||
* | Increment reference count when copying session pointer pr#2112. ok deraadt@ | 2001-12-27 | 1 | -1/+2 | ||
| | ||||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+2 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | Setting the VTIME to a value larger than 214 lead to an integer overflow | 2001-10-07 | 1 | -51/+59 | ||
| | | | | | | | | | in the calculation of the sleep timeout which could lead to a panic. Instead of doing the very error-prone, and in more than one way incorrect, sleep time calculation, allocate an external timeout and let it wake us. Reported by: Raan Young <raan@graand-visions.com> | |||||
* | Random cleanup (I don't like Ms in my tree). | 2001-09-28 | 1 | -6/+6 | ||
| | ||||||
* | Get rid of REAL_CLISTS. It was never implemented and the tentacles are | 2001-07-05 | 1 | -24/+1 | ||
| | | | | everywhhere. | |||||
* | tty stats sysctl, deraadt@ok | 2001-05-14 | 1 | -1/+32 | ||
| | ||||||
* | Casting magic to avoid warnings on alpha. | 2001-03-02 | 1 | -6/+6 | ||
| | ||||||
* | port kqueue changes from freebsd, plus all required openbsd glue. | 2001-03-01 | 1 | -1/+90 | ||
| | | | | | | | okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org | |||||
* | Many drivers use a timeout on ttrstrt, make this a generic interface. | 2000-07-19 | 1 | -1/+2 | ||
| | ||||||
* | Changes to exit handling. | 2000-06-05 | 1 | -3/+3 | ||
| | | | | | | | | cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD | |||||
* | Iiieeek! This kludge was almost funny. | 2000-03-23 | 1 | -4/+2 | ||
| | | | | Probably something from the stone age. Kill it. | |||||
* | Use PAGE_SIZE instead of NBPG. | 1999-11-25 | 1 | -2/+2 | ||
| | ||||||
* | remove the "ifdef pmap_resident_count" hack and replace it with a macro. | 1999-06-01 | 1 | -7/+2 | ||
| | | | | change some &vm->vm_pmap to vm->vm_map.pmap | |||||
* | nasty indent | 1998-03-28 | 1 | -3/+3 | ||
| | ||||||
* | Please GCC 2.8's harsher view of good style | 1998-02-20 | 1 | -4/+5 | ||
| | ||||||
* | bad types; wileyc@sekiya.twics.co.jp | 1998-02-03 | 1 | -2/+2 | ||
| | ||||||
* | Count characters even when !OPOST and FLUSHO. | 1997-11-13 | 1 | -6/+4 | ||
| | | | | Don't output the \r for ONLCR if FLUSHO; mycroft | |||||
* | in ttywait(), double check if we need to sleep before sleeping | 1997-11-13 | 1 | -4/+9 | ||
| | ||||||
* | Updates for VFS Lite 2 + soft update. | 1997-11-06 | 1 | -3/+3 | ||
| | ||||||
* | When the input queues are flushed on a blocked tty, make sure to unblock | 1997-10-21 | 1 | -4/+17 | ||
| | | | | | | | it, if it's currently in a blocked state due to input flow control. This was typically seen with drivers implementing th t_hwiflow function, and starting of ppp (line discipline changes flushes the input queue). Independently discovered and fixed slightly different than NetBSD PR#4227. | |||||
* | back out vfs lite2 till after 2.2 | 1997-10-06 | 1 | -3/+3 | ||
| | ||||||
* | VFS Lite2 Changes | 1997-10-06 | 1 | -3/+3 | ||
| | ||||||
* | proper english | 1997-03-26 | 1 | -2/+2 | ||
| | ||||||
* | Be more Posixly correct; from FreeBSD | 1997-01-12 | 1 | -18/+26 | ||
| | ||||||
* | Remove lots of timer_state structs as they just ate memory and only a few was | 1997-01-05 | 1 | -2/+2 | ||
| | | | | | | | ever used. Now a single state is kept for net, tty and disk events resp. Also, call the randomness from disk_unbusy instead of biodone, as biodone gets a lot of virtual events (from virtual filesystems etc), and as a bonus: feed xfer time and size into the entropy pool too. | |||||
* | Really set column to 0 when outputting a carriage return... | 1996-12-19 | 1 | -2/+2 | ||
| | ||||||
* | Fix oversight in column handling with OCRNL enabled | 1996-12-17 | 1 | -2/+2 | ||
| | ||||||
* | Reset output column when outputting \r with ONLCR | 1996-12-17 | 1 | -1/+2 | ||
| | ||||||
* | Implement more tty flags for better portability from other systems: | 1996-12-16 | 1 | -3/+81 | ||
| | | | | | | | | | | | | | XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags. | |||||
* | -Wcast-qual happiness | 1996-12-08 | 1 | -4/+4 | ||
| | ||||||
* | Flush input and output in receipt of break (unless break is ignored) | 1996-11-11 | 1 | -2/+3 | ||
| | ||||||
* | Implement CREAD | 1996-11-09 | 1 | -1/+6 | ||
| |