git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672fe15
)
fs: Fix file mode for O_TMPFILE
author
Andy Lutomirski
<luto@amacapital.net>
Fri, 2 Aug 2013 04:07:52 +0000
(21:07 -0700)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 5 Aug 2013 14:24:10 +0000
(18:24 +0400)
O_TMPFILE, like O_CREAT, should respect the requested mode and should
create regular files.
This fixes two bugs: O_TMPFILE required privilege (because the mode
ended up as 000) and it produced bogus inodes with no type.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c
patch
|
blob
|
history
diff --cc
fs/open.c
Simple merge