Mailinglist Archive: opensuse-bugs (13066 mails)

< Previous Next >
[Bug 447289] mingetty broken by a recent vanilla kernel
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 23 Jan 2009 05:34:42 -0700 (MST)
  • Message-id: <20090123123442.B604C245390@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=447289

User werner@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=447289#c17





--- Comment #17 from Dr. Werner Fink <werner@xxxxxxxxxx> 2009-01-23 05:34:41
MST ---
IMHo this kernel is broken ... it could be OK to fail TIOCGSID for with
ENOTTY if the terminal is not a master pseudo-terminal and not our controlling
terminal. In this case the TIOCSCTTY should succeed, from the manual page
tty_ioctl(4):

Controlling terminal
TIOCSCTTY int arg
Make the given terminal the controlling terminal of the calling
process. The calling process must be a session leader and not
have a controlling terminal already. If this terminal is already
the controlling terminal of a different session group then the
ioctl fails with EPERM, unless the caller is root (more
precisely: has the CAP_SYS_ADMIN capability) and arg equals
1,
in which case the terminal is stolen, and all processes that had
it as controlling terminal lose it.

...

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >