Re: [RFC] File flags handling - proposal for API.

Simon Richter (geier@phobos.fachschaften.tu-muenchen.de)
Sat, 3 Jul 1999 03:18:49 +0200 (CEST)


On Fri, 2 Jul 1999, Jamie Lokier wrote:

> > A real problem, however, is that fstat() does not allow you to check
> > whether you just opened a link. Maybe a solution would be to add an
> > O_NOLINK flag that makes open refuse to open a symlink (that is not root
> > owned?)?
>
> Already done in 2.1.126: O_NOFOLLOW.

I guess I'll have to update my manpages, then.

Simon

PGP public key available from ftp://phobos.fs.tum.de/pub/pgp/geier.asc
Fingerprint: 10 62 F6 F5 C0 5D 9E D8 47 05 1B 8A 22 E5 4E C1
GEEK code block available from ftp://phobos.fs.tum.de/pub/gcb/geier.asc
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
3:17am up 13 days, 8:30, 1 user, load average: 1.08, 1.08, 1.02

-
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.tux.org/lkml/