> > 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/
- Follow-Ups:
- Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- From: Al Viro <viro@ftp.linux.org.uk>
- Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- References:
- [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- From: Miklos Szeredi <miklos@szeredi.hu>
- Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- From: Miklos Szeredi <miklos@szeredi.hu>
- Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- From: Al Viro <viro@ftp.linux.org.uk>
- [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- Prev by Date: Re: [patch] sys_epoll_wait() timeout saga ...
- Next by Date: [PATCH] Input: check switch bitmap when matching handlers
- Previous by thread: Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- Next by thread: Re: [PATCH] open: O_DIRECTORY and O_CREAT together should fail
- Index(es):
