/linux-4.1.27/fs/debugfs/ |
D | file.c | 99 if (!(mode & S_IWUGO)) in debugfs_create_u8() 151 if (!(mode & S_IWUGO)) in debugfs_create_u16() 203 if (!(mode & S_IWUGO)) in debugfs_create_u32() 256 if (!(mode & S_IWUGO)) in debugfs_create_u64() 302 if (!(mode & S_IWUGO)) in debugfs_create_x8() 326 if (!(mode & S_IWUGO)) in debugfs_create_x16() 350 if (!(mode & S_IWUGO)) in debugfs_create_x32() 438 if (!(mode & S_IWUGO)) in debugfs_create_atomic_t()
|
/linux-4.1.27/fs/fat/ |
D | file.c | 66 S_IRUGO | S_IWUGO | (inode->i_mode & S_IXUGO)); in fat_ioctl_set_attributes() 346 if ((perm & S_IWUGO) && ((perm & S_IWUGO) != (S_IWUGO & ~mask))) in fat_sanitize_mode() 349 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 | 481 ? S_IRUGO|S_IWUGO : S_IRWXUGO)); in fat_fill_inode()
|
/linux-4.1.27/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.1.27/include/linux/ |
D | stat.h | 11 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
|
/linux-4.1.27/arch/mips/jz4740/ |
D | clock-debugfs.c | 73 debugfs_create_file("rate", S_IWUGO | S_IRUGO, clk->debugfs_entry, clk, in jz4740_clock_debugfs_add_clk()
|
/linux-4.1.27/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.1.27/security/selinux/ |
D | selinuxfs.c | 1755 [SEL_CONTEXT] = {"context", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1756 [SEL_ACCESS] = {"access", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1757 [SEL_CREATE] = {"create", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1758 [SEL_RELABEL] = {"relabel", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1759 [SEL_USER] = {"user", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1764 [SEL_MEMBER] = {"member", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super() 1789 inode = sel_make_inode(sb, S_IFCHR | S_IRUGO | S_IWUGO); in sel_fill_super() 1799 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, MKDEV(MEM_MAJOR, 3)); in sel_fill_super()
|
D | hooks.c | 5525 if (flag & S_IWUGO) in selinux_ipc_permission()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | speakup.h | 14 #define USER_W (S_IFREG|S_IWUGO)
|
/linux-4.1.27/fs/configfs/ |
D | file.c | 241 if (!(inode->i_mode & S_IWUGO) || !ops->store_attribute) in check_perm()
|
/linux-4.1.27/fs/cifs/ |
D | cifsacl.c | 455 *pbits_to_set &= ~S_IWUGO; in access_flags_to_mode() 476 *pmode |= (S_IWUGO & (*pbits_to_set)); in access_flags_to_mode() 508 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 | dir.c | 318 if (!tcon->unix_ext && (mode & S_IWUGO) == 0) in cifs_do_create()
|
D | readdir.c | 165 fattr->cf_mode &= ~S_IWUGO; in cifs_fill_common_info()
|
/linux-4.1.27/security/smack/ |
D | smackfs.c | 2456 "load-self", &smk_load_self_ops, S_IRUGO|S_IWUGO}, in smk_fill_super() 2458 "access", &smk_access_ops, S_IRUGO|S_IWUGO}, in smk_fill_super() 2464 "load-self2", &smk_load_self2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super() 2466 "access2", &smk_access2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
|
D | smack_lsm.c | 2581 if (flags & S_IWUGO) in smack_flags_to_may()
|
/linux-4.1.27/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 | 642 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.1.27/fs/proc/ |
D | base.c | 2217 REG("current", S_IRUGO|S_IWUGO, proc_pid_attr_operations), 2219 REG("exec", S_IRUGO|S_IWUGO, proc_pid_attr_operations), 2220 REG("fscreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations), 2221 REG("keycreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations), 2222 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.1.27/arch/s390/hypfs/ |
D | inode.c | 126 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
|
/linux-4.1.27/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.1.27/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.1.27/net/mac80211/ |
D | rc80211_minstrel.c | 686 S_IRUGO | S_IWUGO, debugfsdir, &mp->fixed_rate_idx); in minstrel_alloc()
|
/linux-4.1.27/fs/btrfs/ |
D | sysfs.c | 720 debugfs_create_u64("test", S_IRUGO | S_IWUGO, btrfs_debugfs_root_dentry, in btrfs_init_debugfs()
|
/linux-4.1.27/fs/kernfs/ |
D | file.c | 633 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
|
/linux-4.1.27/fs/hfsplus/ |
D | inode.c | 201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
|
/linux-4.1.27/drivers/vfio/ |
D | vfio.c | 1532 .mode = S_IRUGO | S_IWUGO,
|
/linux-4.1.27/net/sunrpc/ |
D | rpc_pipe.c | 829 umode &= ~S_IWUGO; in rpc_mkpipe_dentry()
|
/linux-4.1.27/drivers/base/ |
D | core.c | 547 WARN(((attr->attr.mode & S_IWUGO) && !attr->store), in device_create_file()
|
/linux-4.1.27/fs/ntfs/ |
D | mft.c | 2691 vi->i_mode &= ~S_IWUGO; in ntfs_mft_record_alloc()
|
D | inode.c | 626 vi->i_mode &= ~S_IWUGO; in ntfs_read_locked_inode()
|
/linux-4.1.27/mm/ |
D | memcontrol.c | 4270 .mode = S_IWUGO,
|