diff --git a/sys/config/X86_64_GENERIC b/sys/config/X86_64_GENERIC --- a/sys/config/X86_64_GENERIC +++ b/sys/config/X86_64_GENERIC @@ -33,7 +33,6 @@ options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options IFPOLL_ENABLE # Support mixed interrupt-polling # handling of network device drivers -options UCONSOLE #Allow users to grab the console options KTRACE #ktrace(1) support options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies diff --git a/sys/kern/tty.c b/sys/kern/tty.c --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -966,14 +966,12 @@ lwkt_reltoken(&tp->t_token); return (EBUSY); } -#ifndef UCONSOLE error = caps_priv_check_td(td, SYSCAP_RESTRICTEDROOT); if (error) { lwkt_reltoken(&p->p_token); lwkt_reltoken(&tp->t_token); return (error); } -#endif constty = tp; } else if (tp == constty) constty = NULL;