LWN.net Logo

flink syscall

flink syscall

Posted Nov 26, 2010 23:44 UTC (Fri) by speedster1 (subscriber, #8143)
In reply to: Exercises for the interested reader by lacos
Parent article: Ghosts of Unix past, part 4: High-maintenance designs

It sounded very promising, but unfortunately nobody was able to come up with an implementation avoiding security holes. Linus put it this way, later in the same thread:

"As others have pointed out, there is no way in HELL we can do this
securely without major other incursions.

In particular, both flink() and funlink() require that you do all the
same permission checks that a real link() or unlink() would do. And as
some of them are done on the _source_ of the file, that implies that
they have to be done at open() time."

http://lkml.indiana.edu/hypermail/linux/kernel/0304.0/160...


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds