/linux-4.4.14/fs/fat/ |
D | file.c | 67 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()
|
D | fat.h | 168 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()
|
D | inode.c | 482 ? S_IRUGO|S_IWUGO : S_IRWXUGO)); in fat_fill_inode()
|
/linux-4.4.14/fs/adfs/ |
D | inode.c | 118 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/ |
D | stat.h | 11 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
|
/linux-4.4.14/fs/hfs/ |
D | inode.c | 219 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/ |
D | selinuxfs.c | 1747 [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()
|
D | hooks.c | 5539 if (flag & S_IWUGO) in selinux_ipc_permission()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | speakup.h | 14 #define USER_W (S_IFREG|S_IWUGO)
|
/linux-4.4.14/fs/configfs/ |
D | file.c | 239 if (!(inode->i_mode & S_IWUGO) || !attr->store) in check_perm()
|
/linux-4.4.14/fs/cifs/ |
D | cifsacl.c | 454 *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()
|
D | inode.c | 634 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) &&
|
D | readdir.c | 165 fattr->cf_mode &= ~S_IWUGO; in cifs_fill_common_info()
|
D | dir.c | 318 if (!tcon->unix_ext && (mode & S_IWUGO) == 0) in cifs_do_create()
|
/linux-4.4.14/security/smack/ |
D | smackfs.c | 2926 "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()
|
D | smack_lsm.c | 2856 if (flags & S_IWUGO) in smack_flags_to_may()
|
/linux-4.4.14/ipc/ |
D | sem.c | 1302 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()
|
D | msg.c | 644 if (ipcperms(ns, &msq->q_perm, S_IWUGO)) in do_msgsnd()
|
D | shm.c | 1130 acc_mode = S_IRUGO | S_IWUGO; in do_shmat()
|
/linux-4.4.14/arch/s390/hypfs/ |
D | inode.c | 121 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
|
/linux-4.4.14/fs/ncpfs/ |
D | inode.c | 208 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/ |
D | ab8500-debugfs.c | 3237 (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/ |
D | base.c | 2412 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),
|
D | generic.c | 403 (S_IFLNK | S_IRUGO | S_IWUGO | S_IXUGO),1); in proc_symlink()
|
D | proc_sysctl.c | 1050 if ((table->mode & (S_IRUGO|S_IWUGO)) != table->mode) in sysctl_check_table()
|
/linux-4.4.14/fs/debugfs/ |
D | file.c | 52 if (!(mode & S_IWUGO)) in debugfs_create_mode()
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 633 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
|
/linux-4.4.14/net/mac80211/ |
D | rc80211_minstrel.c | 686 S_IRUGO | S_IWUGO, debugfsdir, &mp->fixed_rate_idx); in minstrel_alloc()
|
/linux-4.4.14/fs/hfsplus/ |
D | inode.c | 201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
|
/linux-4.4.14/fs/btrfs/ |
D | sysfs.c | 790 debugfs_create_u64("test", S_IRUGO | S_IWUGO, btrfs_debugfs_root_dentry, in btrfs_init_debugfs()
|
/linux-4.4.14/drivers/vfio/ |
D | vfio.c | 1580 .mode = S_IRUGO | S_IWUGO,
|
/linux-4.4.14/net/sunrpc/ |
D | rpc_pipe.c | 829 umode &= ~S_IWUGO; in rpc_mkpipe_dentry()
|
/linux-4.4.14/drivers/base/ |
D | core.c | 593 WARN(((attr->attr.mode & S_IWUGO) && !attr->store), in device_create_file()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 23 .ca_mode = S_IRUGO | S_IWUGO, \
|
/linux-4.4.14/fs/ntfs/ |
D | inode.c | 626 vi->i_mode &= ~S_IWUGO; in ntfs_read_locked_inode()
|
D | mft.c | 2691 vi->i_mode &= ~S_IWUGO; in ntfs_mft_record_alloc()
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 1264 mode |= S_IWUGO; in cgroup_file_mode()
|