Re: F_SETOWN...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 24 Nov 1998 16:00:49 +0000 (GMT)


> >see the check is done at signal delivery time where it should be done,
> >otherwise you could set up a SIGIO on a process that then execs a setuid
> >process you shouldnt be able to signal
>
> Bad example... exec() (and friends) would reset the ownership of all the
> fd's. In my example, the same user (or superuser) was ultimately generating
> the signal, thus it did get sent. Has anyone tested 2.0?

Who says the exec is even involved with the handle in question. You'd have
to walk potentially over 100,000 file handles every exec - what fun

Yes 2.0.36 is fine.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/