Home
last modified time | relevance | path

Searched refs:S_IRWXUGO (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.4.37.9/include/linux/
Dstat.h50 #define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO) macro
51 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
Dmsdos_fs.h191 #define MSDOS_MKMODE(a,m) (m & (a & ATTR_RO ? S_IRUGO|S_IXUGO : S_IRWXUGO))
/linux-2.4.37.9/fs/smbfs/
Dinode.c335 mnt->file_mode = (value & S_IRWXUGO) | S_IFREG; in parse_options()
339 mnt->dir_mode = (value & S_IRWXUGO) | S_IFDIR; in parse_options()
393 seq_printf(s, ",file_mode=%04o", mnt->file_mode & S_IRWXUGO); in smb_show_options()
395 seq_printf(s, ",dir_mode=%04o", mnt->dir_mode & S_IRWXUGO); in smb_show_options()
510 mnt->file_mode = (oldmnt->file_mode & S_IRWXUGO) | S_IFREG; in smb_read_super()
511 mnt->dir_mode = (oldmnt->dir_mode & S_IRWXUGO) | S_IFDIR; in smb_read_super()
587 unsigned int mask = (S_IFREG | S_IFDIR | S_IRWXUGO); in smb_notify_change()
DChangeLog15 * inode.c: use S_IRWXUGO where appropriate
/linux-2.4.37.9/fs/hfs/
Dinode.c27 #define HFS_VALID_MODE_BITS (S_IFREG | S_IFDIR | S_IRWXUGO)
42 inode->i_mode = S_IRWXUGO | S_IFREG; in init_file_inode()
386 inode->i_mode = S_IRWXUGO | S_IFDIR; in hfs_cap_ifill()
445 inode->i_mode = S_IRWXUGO | S_IFDIR; in hfs_dbl_ifill()
490 inode->i_mode = S_IRWXUGO | S_IFDIR; in hfs_nat_ifill()
/linux-2.4.37.9/drivers/usb/
Dinode.c160 inode->i_mode &= ~S_IRWXUGO; in free_inode()
198 devmode = simple_strtoul(value, &value, 0) & S_IRWXUGO; in parse_options()
219 busmode = simple_strtoul(value, &value, 0) & S_IRWXUGO; in parse_options()
240 listmode = simple_strtoul(value, &value, 0) & S_IRWXUGO; in parse_options()
/linux-2.4.37.9/ipc/
Dshm.c209 shp->shm_flags = (shmflg & S_IRWXUGO); in newseg()
546 shp->shm_flags = (shp->shm_flags & ~S_IRWXUGO) in sys_shmctl()
547 | (setbuf.mode & S_IRWXUGO); in sys_shmctl()
Dmsg.c130 msq->q_perm.mode = (msgflg & S_IRWXUGO); in newque()
548 ipcp->mode = (ipcp->mode & ~S_IRWXUGO) | in sys_msgctl()
549 (S_IRWXUGO & setbuf.mode); in sys_msgctl()
Dsem.c139 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary()
733 ipcp->mode = (ipcp->mode & ~S_IRWXUGO) in semctl_down()
734 | (setbuf.mode & S_IRWXUGO); in semctl_down()
/linux-2.4.37.9/fs/proc/
Dbase.c623 E(PROC_PID_CWD, "cwd", S_IFLNK|S_IRWXUGO),
624 E(PROC_PID_ROOT, "root", S_IFLNK|S_IRWXUGO),
625 E(PROC_PID_EXE, "exe", S_IFLNK|S_IRWXUGO),
1056 inode->i_mode = S_IFLNK|S_IRWXUGO; in proc_pid_lookup()
/linux-2.4.37.9/fs/autofs/
Dinode.c242 inode->i_mode = S_IFLNK | S_IRWXUGO; in autofs_read_inode()
/linux-2.4.37.9/fs/ramfs/
Dinode.c260 error = ramfs_mknod(dir, dentry, S_IFLNK | S_IRWXUGO, 0); in ramfs_symlink()
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dramfs.c236 error = hwgfs_mknod(dir, dentry, S_IFLNK | S_IRWXUGO, 0); in hwgfs_symlink()
/linux-2.4.37.9/fs/fat/
Dinode.c388 inode->i_mode = (S_IRWXUGO & ~sbi->options.fs_umask) | S_IFDIR; in fat_read_root()
915 inode->i_mode = MSDOS_MKMODE(de->attr,S_IRWXUGO & in fat_fill_inode()
948 ? S_IRUGO|S_IWUGO : S_IRWXUGO) in fat_fill_inode()
/linux-2.4.37.9/fs/ufs/
Dnamei.c126 inode = ufs_new_inode(dir, S_IFLNK | S_IRWXUGO); in ufs_symlink()
/linux-2.4.37.9/fs/ext2/
Dnamei.c132 inode = ext2_new_inode (dir, S_IFLNK | S_IRWXUGO); in ext2_symlink()
/linux-2.4.37.9/fs/adfs/
Dinode.c119 return S_IFLNK|S_IRWXUGO; in adfs_atts2mode()
/linux-2.4.37.9/mm/
Dshmem.c1356 inode = shmem_get_inode(dir->i_sb, S_IFLNK|S_IRWXUGO, 0); in shmem_symlink()
1530 int mode = S_IRWXUGO | S_ISVTX; in shmem_read_super()
1712 inode = shmem_get_inode(root->d_sb, S_IFREG | S_IRWXUGO, 0); in module_init()
/linux-2.4.37.9/fs/romfs/
Dinode.c518 i->i_mode = ino | S_IRWXUGO; in romfs_read_inode()
/linux-2.4.37.9/fs/hfsplus/
Ddir.c401 inode = hfsplus_new_inode(sb, S_IFLNK | S_IRWXUGO); in hfsplus_symlink()
Dinode.c205 (S_IRWXUGO & ~(HFSPLUS_SB(sb).umask)); in hfsplus_get_perms()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_iops.c315 va.va_mode = irix_symlink_mode ? 0777 & ~current->fs->umask : S_IRWXUGO; in linvfs_symlink()
/linux-2.4.37.9/fs/jffs/
Dinode-v23.c821 dir_mode = S_IFDIR | (mode & (S_IRWXUGO|S_ISVTX) in jffs_mkdir()
1182 raw_inode.mode = S_IFLNK | S_IRWXUGO; in jffs_symlink()
/linux-2.4.37.9/kernel/
Dsys.c1215 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in sys_umask()
/linux-2.4.37.9/fs/nfs/
Ddir.c932 attr.ia_mode = S_IFLNK | S_IRWXUGO; in nfs_symlink()

12