lkml.org 
[lkml]   [2005]   [Sep]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
FromMiklos Szeredi <>
DateSat, 24 Sep 2005 08:41:05 +0200
> > 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 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/

\
 
 \ /
  Last update: 2005-09-24 06:47    [from the cache]
©2003-2008