[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controlling tty

Julian Reschke writes:

> What about an Fcnt PGETCTTY which returns dev and index of the controlling
> tty (small change in procfs.c)? I've already added the few lines and
> would like to have them in the release kernel, if there's no simpler way...

 or maybe more general a Fcntl PFSTAT, to fstat' any of the process
open fds?  could be useful for other diagnostics too i guess.

J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
								...ohne Gewehr
PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA