Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 1995 01:42:05 +0100 (MET)
From:      Ollivier Robert <roberto@blaise.ibp.fr>
To:        freebsd-hackers@FreeBSD.org (FreeBSD Hackers' list)
Subject:   Take UCONSOLE back in please...
Message-ID:  <199501140042.BAA00233@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
I'm afraid you were wrong Jordan... Could you please add UCONSOLE back ?

jkh         95/01/12 07:37:17

  Modified:    sys/i386/conf GENERIC LINT
  Log:
  1. Remove UCONSOLE.  This appears to be well and truly dead (unless it's
  hiding someplace in /sys I can't find).

Look into /sys/kern/tty.c:

		if (*(int *)data) {
			if (constty && constty != tp &&
			    ISSET(constty->t_state, TS_CARR_ON | TS_ISOPEN) ==
			    (TS_CARR_ON | TS_ISOPEN))
				return (EBUSY);
#ifndef	UCONSOLE
			if (error = suser(p->p_ucred, &p->p_acflag))
				return (error);
#endif

I don't want to have xconsole (which now fail with "Couldn't open console")
setuid root.

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
      FreeBSD keltia 2.1.0-Development #0: Thu Jan 12 00:41:32 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501140042.BAA00233>