diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-05-23 00:33:04 +0530 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-05-23 00:33:04 +0530 |
commit | bc0163aaa19ba102da3f73f30ca3f4cc11ba7a9d (patch) | |
tree | 40cbbd4e1cd6616222ef8aea15df2a0d758e35c4 /libps/tty.c | |
parent | 3ffb892a5db5ad64b87261fa01478401806894cf (diff) |
Make sure to record only RWX open modes
Thanks Svante Signell for the investigation and proposed patch.
* trans/fakeroot.c (new_node): Assert that `openmodes' includes only
O_RDWR|O_EXEC
(check_openmodes): Likewise with `newmodes'.
(netfs_S_dir_lookup): Keep only O_RDWR|O_EXEC from `flags' when calling
new_node.
Diffstat (limited to 'libps/tty.c')
0 files changed, 0 insertions, 0 deletions