Re: [PATCH] new syscall: flink

Fredrik Tolf (fredrik@dolda2000.cjb.net)
Tue, 8 Apr 2003 00:17:21 +0200


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

-
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/