[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] File flags handling - proposal for API.
Simon Richter 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.

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [W:0.050 / U:17.776 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site