what would happen if a jail had virtualized ttys? i.e. they each had
tty1,2,3,4..... and this was transalted to an open real tty when needed,
and the transalation mapping being kept in the prison struct?
>
> >> sys_getsid) NOT SURE - whats it for?
> >
> > You shouldn't be able to call getsid() on some other
> > process outside the jail. Also, calling getsid() on
> > yourself might reveal information about your parent,
> > like getppid() or getpgid() (minor).
>
> Your parent ought to be 1.
yes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/