Home
last modified time | relevance | path

Searched refs:S_IWUGO (Results 1 – 37 of 37) sorted by relevance

/linux-4.4.14/fs/fat/
Dfile.c67 S_IRUGO | S_IWUGO | (inode->i_mode & S_IXUGO)); in fat_ioctl_set_attributes()
347 if ((perm & S_IWUGO) && ((perm & S_IWUGO) != (S_IWUGO & ~mask))) in fat_sanitize_mode()
350 if ((perm & S_IWUGO) != (S_IWUGO & ~mask)) in fat_sanitize_mode()
Dfat.h168 if (!(mask & S_IWUGO)) in fat_mode_can_hold_ro()
178 mode &= ~S_IWUGO; in fat_make_mode()
192 if (fat_mode_can_hold_ro(inode) && !(inode->i_mode & S_IWUGO)) in fat_make_attrs()
Dinode.c482 ? S_IRUGO|S_IWUGO : S_IRWXUGO)); in fat_fill_inode()
/linux-4.4.14/fs/adfs/
Dinode.c118 mode |= S_IWUGO & asb->s_owner_mask; in adfs_atts2mode()
124 mode |= S_IWUGO & asb->s_other_mask; in adfs_atts2mode()
151 if (mode & S_IWUGO) in adfs_mode2atts()
158 if (mode & S_IWUGO) in adfs_mode2atts()
/linux-4.4.14/include/linux/
Dstat.h11 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
/linux-4.4.14/fs/hfs/
Dinode.c219 inode->i_mode |= S_IWUGO; in hfs_new_inode()
347 inode->i_mode |= S_IWUGO; in hfs_read_inode()
626 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr()
628 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr()
/linux-4.4.14/security/selinux/
Dselinuxfs.c1747 [SEL_CONTEXT] = {"context", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1748 [SEL_ACCESS] = {"access", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1749 [SEL_CREATE] = {"create", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1750 [SEL_RELABEL] = {"relabel", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1751 [SEL_USER] = {"user", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1756 [SEL_MEMBER] = {"member", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1781 inode = sel_make_inode(sb, S_IFCHR | S_IRUGO | S_IWUGO); in sel_fill_super()
1791 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, MKDEV(MEM_MAJOR, 3)); in sel_fill_super()
Dhooks.c5539 if (flag & S_IWUGO) in selinux_ipc_permission()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup.h14 #define USER_W (S_IFREG|S_IWUGO)
/linux-4.4.14/fs/configfs/
Dfile.c239 if (!(inode->i_mode & S_IWUGO) || !attr->store) in check_perm()
/linux-4.4.14/fs/cifs/
Dcifsacl.c454 *pbits_to_set &= ~S_IWUGO; in access_flags_to_mode()
475 *pmode |= (S_IWUGO & (*pbits_to_set)); in access_flags_to_mode()
507 if (mode & S_IWUGO) in mode_to_access_flags()
Dinode.c634 fattr->cf_mode &= ~(S_IWUGO);
1393 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
2333 if (((mode & S_IWUGO) == 0) &&
2340 attrs->ia_mode = inode->i_mode & ~S_IWUGO;
2341 } else if ((mode & S_IWUGO) &&
Dreaddir.c165 fattr->cf_mode &= ~S_IWUGO; in cifs_fill_common_info()
Ddir.c318 if (!tcon->unix_ext && (mode & S_IWUGO) == 0) in cifs_do_create()
/linux-4.4.14/security/smack/
Dsmackfs.c2926 "load-self", &smk_load_self_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2928 "access", &smk_access_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2934 "load-self2", &smk_load_self2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2936 "access2", &smk_access2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2958 S_IRUGO|S_IWUGO}, in smk_fill_super()
Dsmack_lsm.c2856 if (flags & S_IWUGO) in smack_flags_to_may()
/linux-4.4.14/ipc/
Dsem.c1302 if (ipcperms(ns, &sma->sem_perm, S_IWUGO)) { in semctl_setval()
1360 if (ipcperms(ns, &sma->sem_perm, cmd == SETALL ? S_IWUGO : S_IRUGO)) in semctl_main()
1870 if (ipcperms(ns, &sma->sem_perm, alter ? S_IWUGO : S_IRUGO)) in SYSCALL_DEFINE4()
Dmsg.c644 if (ipcperms(ns, &msq->q_perm, S_IWUGO)) in do_msgsnd()
Dshm.c1130 acc_mode = S_IRUGO | S_IWUGO; in do_shmat()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c121 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
/linux-4.4.14/fs/ncpfs/
Dinode.c208 if (nwi->attributes & aRONLY) inode->i_mode &= ~S_IWUGO; in ncp_update_attrs()
928 if (newmode & S_IWUGO) in ncp_notify_change()
/linux-4.4.14/drivers/mfd/
Dab8500-debugfs.c3237 (S_IRUGO | S_IWUGO), in ab8500_debug_probe()
3244 (S_IRUGO | S_IWUGO), in ab8500_debug_probe()
3250 (S_IRUGO | S_IWUGO), in ab8500_debug_probe()
3257 (S_IRUGO | S_IWUGO), in ab8500_debug_probe()
/linux-4.4.14/fs/proc/
Dbase.c2412 REG("current", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2414 REG("exec", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2415 REG("fscreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2416 REG("keycreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2417 REG("sockcreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
Dgeneric.c403 (S_IFLNK | S_IRUGO | S_IWUGO | S_IXUGO),1); in proc_symlink()
Dproc_sysctl.c1050 if ((table->mode & (S_IRUGO|S_IWUGO)) != table->mode) in sysctl_check_table()
/linux-4.4.14/fs/debugfs/
Dfile.c52 if (!(mode & S_IWUGO)) in debugfs_create_mode()
/linux-4.4.14/fs/kernfs/
Dfile.c633 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/linux-4.4.14/net/mac80211/
Drc80211_minstrel.c686 S_IRUGO | S_IWUGO, debugfsdir, &mp->fixed_rate_idx); in minstrel_alloc()
/linux-4.4.14/fs/hfsplus/
Dinode.c201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
/linux-4.4.14/fs/btrfs/
Dsysfs.c790 debugfs_create_u64("test", S_IRUGO | S_IWUGO, btrfs_debugfs_root_dentry, in btrfs_init_debugfs()
/linux-4.4.14/drivers/vfio/
Dvfio.c1580 .mode = S_IRUGO | S_IWUGO,
/linux-4.4.14/net/sunrpc/
Drpc_pipe.c829 umode &= ~S_IWUGO; in rpc_mkpipe_dentry()
/linux-4.4.14/drivers/base/
Dcore.c593 WARN(((attr->attr.mode & S_IWUGO) && !attr->store), in device_create_file()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c23 .ca_mode = S_IRUGO | S_IWUGO, \
/linux-4.4.14/fs/ntfs/
Dinode.c626 vi->i_mode &= ~S_IWUGO; in ntfs_read_locked_inode()
Dmft.c2691 vi->i_mode &= ~S_IWUGO; in ntfs_mft_record_alloc()
/linux-4.4.14/kernel/
Dcgroup.c1264 mode |= S_IWUGO; in cgroup_file_mode()