>
>What if a root process wants to put a suid program at the end of a
>shell pipeline for example? This changes core unix semantics, and is
>a bandaid at best.
So it runs an suid program at the end of a pipeline...
The only cases where execution is denied are when there is an ID
change i.e. UID 172->4 and one of fds 0,1,2 is missing or is set
to close on exec.
No root call to exec will ever fail with EPERM.
If a user wants to put an suid program at the end of a pipeline,
they do. They just better make sure that the pipeline is complete,
i.e. no missing stdin/stdout/stderr.
Zachary Amsden
amsden@andrew.cmu.edu
-
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.altern.org/andrebalsa/doc/lkml-faq.html