Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/perf/trace/beauty/
H A Dmode_t.c16 #ifndef S_IWUGO
17 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
/openbmc/linux/fs/fat/
H A Dfile.c72 S_IRUGO | S_IWUGO | (inode->i_mode & S_IXUGO)); in fat_ioctl_set_attributes()
447 if ((perm & S_IWUGO) && ((perm & S_IWUGO) != (S_IWUGO & ~mask))) in fat_sanitize_mode()
450 if ((perm & S_IWUGO) != (S_IWUGO & ~mask)) in fat_sanitize_mode()
H A Dfat.h198 if (!(mask & S_IWUGO)) in fat_mode_can_hold_ro()
208 mode &= ~S_IWUGO; in fat_make_mode()
222 if (fat_mode_can_hold_ro(inode) && !(inode->i_mode & S_IWUGO)) in fat_make_attrs()
/openbmc/linux/fs/adfs/
H A 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()
/openbmc/linux/include/linux/
H A Dstat.h12 #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) macro
/openbmc/linux/drivers/dma/qcom/
H A 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()
/openbmc/linux/fs/hfs/
H A Dinode.c227 inode->i_mode |= S_IWUGO; in hfs_new_inode()
358 inode->i_mode |= S_IWUGO; in hfs_read_inode()
644 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr()
646 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr()
/openbmc/linux/security/selinux/
H A Dselinuxfs.c1995 [SEL_CONTEXT] = {"context", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1996 [SEL_ACCESS] = {"access", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1997 [SEL_CREATE] = {"create", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1998 [SEL_RELABEL] = {"relabel", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
1999 [SEL_USER] = {"user", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2004 [SEL_MEMBER] = {"member", &transaction_ops, S_IRUGO|S_IWUGO}, in sel_fill_super()
2011 S_IWUGO}, in sel_fill_super()
2037 inode = sel_make_inode(sb, S_IFCHR | S_IRUGO | S_IWUGO); in sel_fill_super()
2049 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, MKDEV(MEM_MAJOR, 3)); in sel_fill_super()
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Da5xx_debugfs.c157 debugfs_create_file_unsafe("reset", S_IWUGO, minor->debugfs_root, dev, in a5xx_debugfs_init()
/openbmc/linux/security/smack/
H A Dsmackfs.c2907 "load-self", &smk_load_self_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2909 "access", &smk_access_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2915 "load-self2", &smk_load_self2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2917 "access2", &smk_access2_ops, S_IRUGO|S_IWUGO}, in smk_fill_super()
2939 S_IRUGO|S_IWUGO}, in smk_fill_super()
/openbmc/linux/fs/smb/client/
H A Dinode.c872 fattr->cf_mode &= ~(S_IWUGO); in cifs_open_info_to_fattr()
1298 fattr->cf_mode &= ~(S_IWUGO); in cifs_get_fattr()
2025 (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
3198 if (((mode & S_IWUGO) == 0) &&
3205 attrs->ia_mode = inode->i_mode & ~S_IWUGO;
3206 } else if ((mode & S_IWUGO) &&
H A Ddir.c311 if (!tcon->unix_ext && (mode & S_IWUGO) == 0)
H A Dreaddir.c209 fattr->cf_mode &= ~S_IWUGO; in cifs_fill_common_info()
/openbmc/linux/arch/s390/hypfs/
H A Dinode.c123 if (!(inode->i_mode & S_IWUGO)) in hypfs_open()
/openbmc/linux/fs/configfs/
H A Dfile.c341 if (!(inode->i_mode & S_IWUGO)) in __configfs_open_file()
/openbmc/linux/drivers/vfio/
H A Dcontainer.c413 .mode = S_IRUGO | S_IWUGO,
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.c1500 debugfs_create_file("ras_ctrl", S_IWUGO | S_IRUGO, dir, adev, in amdgpu_ras_debugfs_create_ctrl_node()
1502 debugfs_create_file("ras_eeprom_reset", S_IWUGO | S_IRUGO, dir, adev, in amdgpu_ras_debugfs_create_ctrl_node()
1524 debugfs_create_bool("auto_reboot", S_IWUGO | S_IRUGO, dir, &con->reboot); in amdgpu_ras_debugfs_create_ctrl_node()
1550 debugfs_create_file(obj->fs_data.debugfs_name, S_IWUGO | S_IRUGO, dir, in amdgpu_ras_debugfs_create()
/openbmc/linux/ipc/
H A Dsem.c1368 if (ipcperms(ns, &sma->sem_perm, S_IWUGO)) { in semctl_setval()
1425 if (ipcperms(ns, &sma->sem_perm, cmd == SETALL ? S_IWUGO : S_IRUGO)) in semctl_main()
2061 if (ipcperms(ns, &sma->sem_perm, alter ? S_IWUGO : S_IRUGO)) { in __do_semtimedop()
H A Dmsg.c884 if (ipcperms(ns, &msq->q_perm, S_IWUGO)) in do_msgsnd()
/openbmc/linux/fs/proc/
H A Dgeneric.c464 (S_IFLNK | S_IRUGO | S_IWUGO | S_IXUGO),1); in proc_symlink()
/openbmc/linux/fs/hfsplus/
H A Dinode.c206 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
/openbmc/linux/fs/kernfs/
H A Dfile.c662 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c2105 dev_attr->attr.mode &= ~S_IWUGO; in default_attr_update()
2123 dev_attr->attr.mode &= ~S_IWUGO; in default_attr_update()
2130 dev_attr->attr.mode &= ~S_IWUGO; in default_attr_update()
/openbmc/linux/fs/debugfs/
H A Dfile.c427 if (!(mode & S_IWUGO)) in debugfs_create_mode_unsafe()
/openbmc/linux/security/apparmor/
H A Dapparmorfs.c2553 inode->i_mode = S_IFCHR | S_IRUGO | S_IWUGO; in aa_mk_null_file()
2555 init_special_inode(inode, S_IFCHR | S_IRUGO | S_IWUGO, in aa_mk_null_file()

12