Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/perf/trace/beauty/
Dmode_t.c16 #ifndef S_IWUGO
17 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
/Linux-v5.15/fs/adfs/
Dinode.c117 mode |= S_IWUGO & asb->s_owner_mask; in adfs_atts2mode()
123 mode |= S_IWUGO & asb->s_other_mask; in adfs_atts2mode()
150 if (mode & S_IWUGO) in adfs_mode2atts()
157 if (mode & S_IWUGO) in adfs_mode2atts()
/Linux-v5.15/fs/fat/
Dfile.c72 S_IRUGO | S_IWUGO | (inode->i_mode & S_IXUGO)); in fat_ioctl_set_attributes()
438 if ((perm & S_IWUGO) && ((perm & S_IWUGO) != (S_IWUGO & ~mask))) in fat_sanitize_mode()
441 if ((perm & S_IWUGO) != (S_IWUGO & ~mask)) in fat_sanitize_mode()
Dfat.h197 if (!(mask & S_IWUGO)) in fat_mode_can_hold_ro()
207 mode &= ~S_IWUGO; in fat_make_mode()
221 if (fat_mode_can_hold_ro(inode) && !(inode->i_mode & S_IWUGO)) in fat_make_attrs()
/Linux-v5.15/include/linux/
Dstat.h12 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
/Linux-v5.15/drivers/dma/qcom/
Dhidma_mgmt_sys.c271 (S_IRUGO | S_IWUGO), i, in hidma_mgmt_init_sys()
277 (S_IRUGO | S_IWUGO), i, in hidma_mgmt_init_sys()
/Linux-v5.15/fs/hfs/
Dinode.c224 inode->i_mode |= S_IWUGO; in hfs_new_inode()
353 inode->i_mode |= S_IWUGO; in hfs_read_inode()
634 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr()
636 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr()
/Linux-v5.15/security/selinux/
Dselinuxfs.c2066 [SEL_CONTEXT] = {"context", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2067 [SEL_ACCESS] = {"access", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2068 [SEL_CREATE] = {"create", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2069 [SEL_RELABEL] = {"relabel", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2070 [SEL_USER] = {"user", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2075 [SEL_MEMBER] = {"member", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2082 S_IWUGO}, in sel_fill_super()
2108 inode = sel_make_inode(sb, S_IFCHR | S_IRUGO | S_IWUGO); in sel_fill_super()
2120 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, MKDEV(MEM_MAJOR, 3)); in sel_fill_super()
/Linux-v5.15/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c157 debugfs_create_file("reset", S_IWUGO, minor->debugfs_root, dev, in a5xx_debugfs_init()
/Linux-v5.15/security/smack/
Dsmackfs.c2895 "load-self", &smk_load_self_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2897 "access", &smk_access_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2903 "load-self2", &smk_load_self2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2905 "access2", &smk_access2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2927 S_IRUGO|S_IWUGO}, in smk_fill_super()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c1313 debugfs_create_file("ras_ctrl", S_IWUGO | S_IRUGO, dir, adev, in amdgpu_ras_debugfs_create_ctrl_node()
1315 debugfs_create_file("ras_eeprom_reset", S_IWUGO | S_IRUGO, dir, adev, in amdgpu_ras_debugfs_create_ctrl_node()
1336 debugfs_create_bool("auto_reboot", S_IWUGO | S_IRUGO, dir, &con->reboot); in amdgpu_ras_debugfs_create_ctrl_node()
1362 debugfs_create_file(obj->fs_data.debugfs_name, S_IWUGO | S_IRUGO, dir, in amdgpu_ras_debugfs_create()
/Linux-v5.15/fs/cifs/
Dinode.c710 fattr->cf_mode &= ~(S_IWUGO);
1771 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
2923 if (((mode & S_IWUGO) == 0) &&
2930 attrs->ia_mode = inode->i_mode & ~S_IWUGO;
2931 } else if ((mode & S_IWUGO) &&
Ddir.c300 if (!tcon->unix_ext && (mode & S_IWUGO) == 0) in cifs_do_create()
Dreaddir.c200 fattr->cf_mode &= ~S_IWUGO; in cifs_fill_common_info()
Dcifsacl.c654 if (mode & S_IWUGO) in mode_to_access_flags()
/Linux-v5.15/fs/configfs/
Dfile.c341 if (!(inode->i_mode & S_IWUGO)) in __configfs_open_file()
/Linux-v5.15/arch/s390/hypfs/
Dinode.c123 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
/Linux-v5.15/ipc/
Dsem.c1369 if (ipcperms(ns, &sma->sem_perm, S_IWUGO)) { in semctl_setval()
1426 if (ipcperms(ns, &sma->sem_perm, cmd == SETALL ? S_IWUGO : S_IRUGO)) in semctl_main()
2064 if (ipcperms(ns, &sma->sem_perm, alter ? S_IWUGO : S_IRUGO)) { in __do_semtimedop()
Dmsg.c878 if (ipcperms(ns, &msq->q_perm, S_IWUGO)) in do_msgsnd()
/Linux-v5.15/fs/hfsplus/
Dinode.c204 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
/Linux-v5.15/fs/kernfs/
Dfile.c618 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/Linux-v5.15/fs/proc/
Dgeneric.c462 (S_IFLNK | S_IRUGO | S_IWUGO | S_IXUGO),1); in proc_symlink()
/Linux-v5.15/fs/debugfs/
Dfile.c403 if (!(mode & S_IWUGO)) in debugfs_create_mode_unsafe()
/Linux-v5.15/security/apparmor/
Dapparmorfs.c2519 inode->i_mode = S_IFCHR | S_IRUGO | S_IWUGO; in aa_mk_null_file()
2521 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, in aa_mk_null_file()
/Linux-v5.15/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c2104 dev_attr->attr.mode &= ~S_IWUGO; in default_attr_update()
2115 dev_attr->attr.mode &= ~S_IWUGO; in default_attr_update()

12