Re: [PATCH] new syscall: flink

From: Oliver Neukum (oliver@neukum.org)
Date: Sun Apr 06 2003 - 15:33:01 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:28 EST