freebsd-skq/usr.sbin
ed e085cfc485 Don't leave the console TTY constantly open.
When we leave the console TTY constantly open, we never reset the
termios attributes. This causes output processing, echoing, etc. not to
be reset to the proper values when going into single user mode after the
system has booted. It also causes nl-to-crnl-conversion not to take
place during shutdown, which causes a `staircase effect'.

This patch adds a new TTY flag, TF_OPENED_CONS, which is set when the
TTY is opened through /dev/console. Because the flags are only used by
the kernel and the pstat(8) utility, I've decided to renumber the TTY
flags. This shouldn't be an issue, because the TTY layer is not yet part
of a stable release.

Reported by:	Mark Atkinson <atkin901 yahoo com>
Tested by:	sepotvin
2009-02-05 14:21:09 +00:00
..
ac
accton
acpi Update to reflect reality: 2008-05-20 12:07:02 +00:00
adduser The original adduser/rmuser scripts in Perl used to modify the PATH 2008-07-30 18:37:21 +00:00
amd Don't always link statically with libwrap. By the time amd(8) 2008-03-29 18:13:15 +00:00
ancontrol Remove duplicate headers <sys/socket.h> 2008-04-21 07:25:26 +00:00
apm
apmd
arp This checkin addresses a couple of issues: 2008-12-26 19:45:24 +00:00
asf
audit Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both 2008-12-02 23:26:43 +00:00
auditd Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
auditreduce
authpf
bluetooth Clenup code a bit and do not call fork(2) before dameon(3) where not needed. 2009-02-04 22:04:06 +00:00
boot0cfg Extend the geom-related info and put in the NOTE section, not 2009-01-13 21:55:39 +00:00
boot98cfg
bootparamd Remove a useless cast. 2008-08-02 00:10:02 +00:00
bsnmpd Only build the bsnmpd netgraph module if MK_NETGRAPH_SUPPORT is set. 2008-10-02 14:26:56 +00:00
btxld Allow for a zero length 'loader'. 2008-04-05 10:26:20 +00:00
burncd Correct the type for the global var accessed in sig handlers. 2009-01-05 16:47:42 +00:00
cdcontrol - Enhance volume handling 2008-07-14 13:22:09 +00:00
chkgrp
chown
chroot
ckdist Constify return value of stripath and avoid unnecessary deconst 2008-11-19 00:09:01 +00:00
clear_locks Add missing library dependency. 2008-03-29 18:07:06 +00:00
config Delete commented out ancient history. 2009-01-26 21:45:33 +00:00
cpucontrol - use .Ex macro in EXIT STATUS section 2009-01-07 01:31:09 +00:00
crashinfo Add a script to perform simple analysis of a crash dump (either a full 2008-08-05 20:41:46 +00:00
cron Fix typo. 2008-12-01 17:39:34 +00:00
crunch Run with -B and just .POSIX. 2009-01-31 07:03:36 +00:00
ctm
cxgbtool - Fix regression with GETMEM 2008-09-10 01:10:17 +00:00
daemon
dconschat
devinfo
digictl
diskinfo
dnssec-keygen
dnssec-signzone
dumpcis damn. Always do make depend. Forgot to recompile main because of it, 2008-11-20 08:32:19 +00:00
editmap
edquota Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
eeprom
extattr Invoke err() with a format string rather than directly with a passed 2008-07-15 16:07:34 +00:00
extattrctl
faithd
fdcontrol
fdformat
fdread
fdwrite
fifolog The last sector in the first segment might just be a sync, increment before 2009-02-02 14:30:07 +00:00
flowctl
freebsd-update In freebsd-update IDS, strip out file flags before we look for 2008-08-08 04:34:00 +00:00
ftp-proxy
fwcontrol Begin basic improvements to fwcontrol in the area of handling 2009-02-02 21:05:12 +00:00
getfmac
getpmac
gssd - Remove superfluous comment 2009-01-30 15:28:56 +00:00
gstat - Allow gstat to print values to different kind of outputs. 2008-10-07 10:25:27 +00:00
i2c Introduce the I2C diagnostic utility. It let's discover and inspect slave 2009-01-26 14:00:50 +00:00
ifmcstat
inetd
iostat Fix the device name spacing. 2008-09-11 09:55:54 +00:00
ip6addrctl
ipfwpcap
IPXrouted
jail New sentence starts on a new line. 2009-01-24 15:56:44 +00:00
jexec Correctly check the number of prison states to not access anything 2008-12-11 01:04:25 +00:00
jls Make sure that the direct jls invocations prints something 2008-12-14 16:56:47 +00:00
kbdcontrol
kbdmap
kernbb
keyserv
kgmon
kgzip
kldxref various cleanups including: 2009-01-06 14:23:38 +00:00
lastlogin
lmcconfig
lpr use bigger local variable to calculate free space 2008-09-01 12:32:40 +00:00
lptcontrol
mailstats
mailwrapper
makefs fix pathnames to work w/ buildworld 2008-12-19 22:59:05 +00:00
makemap
manctl
memcontrol
mergemaster Instead of using obj and all targets which are not cross-build aware, 2009-01-04 20:59:23 +00:00
mixer
mld6query - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:59:34 +00:00
mlxcontrol Make mlxcontrol work with more than one system drive: 2008-09-12 17:40:17 +00:00
mount_nwfs
mount_portalfs
mount_smbfs
mountd Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
moused Improve the virtual scrolling mechanism to make middle clicking less 2008-05-15 15:05:02 +00:00
mptable
mtest
mtree Write timestamps with exactly 9 digits after the period. 2009-01-31 05:17:28 +00:00
named
named-checkconf
named-checkzone
named.reload
ndiscvt Integrate the NDIS USB support code to CURRENT. 2008-12-27 08:03:32 +00:00
ndp This checkin addresses a couple of issues: 2008-12-26 19:45:24 +00:00
newsyslog Fix 6-year old cut&paste error. The # could be escaped with '\', not 2008-06-26 07:02:47 +00:00
nfsd Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
ngctl Modify the DoParseCommand() to work on (const char *) instead of just 2008-06-28 12:31:30 +00:00
nghook
nologin
nscd o Correct a database name: "group" not "groups". 2008-12-22 13:36:15 +00:00
ntp - fix typo 2008-11-18 23:38:47 +00:00
nvram
ofwdump
pciconf - Add a new ioctl to /dev/pci to fetch details on an individual BAR of a 2009-02-02 19:54:16 +00:00
periodic
pkg_install Use full name (noticed by: ru@ 2009-01-11 13:56:55 +00:00
pmcannotate Import an initial revision of the pmcannotate tool. 2008-11-26 21:44:57 +00:00
pmccontrol Ignore absent CPUs when listing the current state of PMC hardware. 2008-11-16 04:26:38 +00:00
pmcstat Close the read side of the pipe to self when exiting. 2008-12-23 12:08:06 +00:00
pnpinfo
portsnap - remove superfluous word 2008-09-15 16:30:06 +00:00
powerd Fix a typo higter->higher. 2008-12-24 09:17:30 +00:00
ppp The ppp application relies on the if_tun interface to properly 2008-12-19 01:37:20 +00:00
pppctl
pppd
pppstats
praliases
praudit
procctl
pstat Don't leave the console TTY constantly open. 2009-02-05 14:21:09 +00:00
pw Use arc4random_uniform() to avoid "modulo bias" 2008-08-16 15:41:03 +00:00
pwd_mkdb
quot Make `quot -a' work when we've got slashes in the device name. 2008-09-14 11:50:19 +00:00
quotaon Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rarpd
raycontrol
repquota Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rip6query
rmt
rndc
rndc-confgen
route6d This main goals of this project are: 2008-12-15 06:10:57 +00:00
rpc.lockd Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
rpc.statd Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
rpc.umntall
rpc.yppasswdd - Whenever a password/shell is changed via rpc.yppasswdd, the daemon leaves 2008-10-30 01:54:31 +00:00
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:58:25 +00:00
rtadvd - rename the RETURN VALUES section to EXIT STATUS [1] 2009-01-07 01:01:26 +00:00
rtprio
rtsold - rename the RETURN VALUES section to EXIT STATUS [1] 2009-01-07 00:54:30 +00:00
rwhod
sa
sade Oops, missed removing an 's' in previous rev. 2008-12-30 18:21:54 +00:00
sendmail
setfib - Use static for usage() 2008-10-17 21:11:09 +00:00
setfmac
setpmac
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
sliplogin
slstat
smbmsg
snapinfo
spkrtest
spray
sysinstall Add urtw(4) to the list of supported network interface. 2009-01-23 05:57:40 +00:00
syslogd Add "crit" to the list of keywords. 2008-12-23 17:39:24 +00:00
tcpdchk
tcpdmatch
tcpdrop
tcpdump
timed Remove spurious duplicated defination of sock. 2008-09-24 00:04:51 +00:00
traceroute
traceroute6 - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:57:27 +00:00
trpt
tzsetup - Replace rcsid with __FBSDID. 2008-06-03 22:34:52 +00:00
ugidfw In ugidfw(8), print the rule number and rule contents (as parsed and then 2008-12-24 22:40:13 +00:00
usbconfig MFp4: //depot/projects/usb@155807 2009-01-13 19:02:17 +00:00
usbdevs Add missing -o to usage output. 2008-12-29 14:59:22 +00:00
vidcontrol
vipw
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd
wlandebug TDMA support for long distance point-to-point links using ath devices: 2009-01-08 17:12:47 +00:00
wlconfig
wpa 'Strict EAP conformance' makes more sense here than 'String EAP 2008-11-21 18:15:39 +00:00
yp_mkdb
ypbind Don't rely on private RPC data structures when there is a perfectly good 2008-09-15 14:01:40 +00:00
yppoll
yppush
ypserv
ypset
zic Finish a few more .Dl "quoted" arguments missed in revision 184984 2008-11-15 06:41:57 +00:00
zzz
Makefile Introduce the I2C diagnostic utility. It let's discover and inspect slave 2009-01-26 14:00:50 +00:00
Makefile.inc