linux-only jail possible?

Gary Jennejohn gary.jennejohn at freenet.de
Sat Mar 6 10:37:55 UTC 2010


On Fri, 5 Mar 2010 09:26:11 +0100
Alexander Leidinger <Alexander at Leidinger.net> wrote:

> On Thu, 4 Mar 2010 13:22:57 -0500 John Nielsen <lists at jnielsen.net>
> wrote:
> > The "consoletype" utility runs despite this message:
> > linux: pid 2100 (consoletype): ioctl fd=0, cmd=0x541c ('T',28) is not 
> > implemented
> 
> Dokumented in the wiki. If someone knows what ioctl this is, that's
> some info which is needed in the wiki, so feel free to edit the page
> or tell me.
> 

This appears to be TIOCLINUX, which is used in the following Linux kernel
files:

fs/compat_ioctl.c
drivers/char/vt_ioctl.c
drivers/char/tty_io.c
drivers/char/vt.c

The handling of this is in tioclinux() in vt.c and seems to correspond to
FreeBSD's VT code in many respects.  Linux calls it VC for virtual console.

---
Gary Jennejohn (gj@)


More information about the freebsd-emulation mailing list