Re: [PATCH] new syscall: flink

Fredrik Tolf
2003-04-07T22:05:48Z

On Monday 07 April 2003 23:43, Ulrich Drepper wrote:
> Fredrik Tolf wrote:
> > Anyway, while we're on the subject, is it just me who would like to see a
> > fexec() call?
>
> If you'd run an up-to-date system (e.g., RHL9) you'd have fexecve()
> already.

Am I right if I guess that this is the execve("/proc/self/fd/?") solution? I'm
asking since I'm running 2.4.20 right now and I do not have such a syscall.
I'm not sure if I truly like the idea of having to rely on the existence of
the proc fs, especially not since there is the chroot call. fexecve would
also be a nice thing just because of that, since it allows you to keep a file
descriptor over a chroot away from any /proc accessibility and then exec it.
For that reason, a fexec call could increase security in certain areas.

If I've missed the introduction of a fexecve syscall, I'm sorry for wasting
your time.

Fredrik Tolf