Re: [PATCH] new syscall: flink

David Wagner
2003-04-11T01:16:10Z

Clayton Weaver wrote:
>One other thing: why O_CANLINK (suggested flag
>to open) instead of O_NOLINK?

Because O_CANLINK fails secure; O_NOLINK fails open.
When security is on the line, you really want a fail-safe solution.

And the failure mode of forgetting to specify an O_NOLINK flag
where it should have been specified is going to be a common one.