Re: [PATCH] new syscall: flink

Wichert Akkerman
2003-04-07T18:35:45Z

Previously H. Peter Anvin wrote:
> b) This is a security hole, in which case /proc needs to be fixed. In
> particular, the open("/proc/self/fd/3", O_RDWR) in my example above
> should return EPERM.

proc might not be a problem if you deal with a chroot or namespace which
doesn't have proc mounted and no processes running with mount
capabilities. flink could still be a problem in those situations.

Wichert.

--
Wichert Akkerman <wichert@wiggy.net> http://www.wiggy.net/
A random hacker