Re: [PATCH] new syscall: flink

Oliver Neukum (oliver@neukum.org)
Sun, 6 Apr 2003 22:33:01 +0200


Am Sonntag, 6. April 2003 22:08 schrieb Malcolm Beattie:
> Oliver Neukum writes:
> > If you have an fd, the permissions based on the path are already
> > bypassed, whether you can call flink or not, aren't they?
>
> Not if it's opened O_RDONLY, for example.

OK, so you could open a file RW even if the fd you get passed
is only RO, right?

Regards
Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/