mirror_zfs/module/os/linux/zfs
Tomohiro Kusumi ddb4e69db5 Don't fail to apply umask for O_TMPFILE files
Apply umask to `mode` which will eventually be applied to inode.
This is needed since VFS doesn't apply umask for O_TMPFILE files.

(Note that zpl_init_acl() applies `ip->i_mode &= ~current_umask();`
only when POSIX ACL is used.)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8997 
Closes #8998
2019-12-13 15:02:23 -08:00
..
abd.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
arc_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
Makefile.in Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
mmp_os.c Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
policy.c Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
qat_compress.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat_crypt.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
spa_misc_os.c Refactor deadman set failmode to be cross platform 2019-12-05 12:40:45 -08:00
spa_stats.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
trace.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
vdev_disk.c ZTS: Fix zpool_reopen_001_pos 2019-12-09 11:09:14 -08:00
vdev_file.c Mark Linux fallocate extensions as specific to Linux 2019-11-30 15:40:22 -08:00
zfs_acl.c Relocate common quota functions to shared code 2019-12-11 12:12:08 -08:00
zfs_ctldir.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zfs_debug.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zfs_dir.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zfs_file_os.c Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zfs_ioctl_os.c Abstract away platform specific superblock references 2019-12-10 09:21:07 -08:00
zfs_onexit_os.c Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zfs_sysfs.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_vfsops.c Relocate common quota functions to shared code 2019-12-11 12:12:08 -08:00
zfs_vnops.c Make zfs_replay.c work on FreeBSD 2019-12-13 07:54:10 -08:00
zfs_znode.c Make zfs_replay.c work on FreeBSD 2019-12-13 07:54:10 -08:00
zio_crypt.c Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
zio_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zpl_ctldir.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zpl_export.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zpl_file.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zpl_inode.c Don't fail to apply umask for O_TMPFILE files 2019-12-13 15:02:23 -08:00
zpl_super.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zpl_xattr.c Eliminate Linux specific inode usage from common code 2019-12-11 11:53:57 -08:00
zvol_os.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00