Re: [security]: kernel ioctl()'s [3]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 2 Jul 1999 00:45:15 +0100 (BST)


> will work. They do NOT expect to have to
>
> open("blah", O_RDWR)
> if (-EPERM)
> chflags("blah", immutable off)
> open("blah", O_RDWR)

There is a race there with me chflagging it back 8)

-
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/