Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Well yes.  But I don't think anybody is using it, and if so they are
> > clearly breaking the rules in man open(2):
> 
> Be liberal in what you accept and all such...  Everything else aside,
> why bother?

To conform to well defined semantics?

It just bathers me, that you can get a non-directory file descriptor
with O_DIRECTORY.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux