Home
last modified time | relevance | path

Searched refs:MAY_WRITE (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/fs/nfsd/
Dvfs.c205 accmode |= MAY_WRITE|MAY_OWNER_OVERRIDE; in nfsd_setattr()
340 { NFS3_ACCESS_MODIFY, MAY_WRITE|MAY_TRUNC },
341 { NFS3_ACCESS_EXTEND, MAY_WRITE },
349 { NFS3_ACCESS_MODIFY, MAY_EXEC|MAY_WRITE|MAY_TRUNC },
350 { NFS3_ACCESS_EXTEND, MAY_EXEC|MAY_WRITE },
365 { NFS3_ACCESS_MODIFY, MAY_WRITE },
366 { NFS3_ACCESS_EXTEND, MAY_WRITE },
463 err = get_lease(inode, (access & MAY_WRITE) ? FMODE_WRITE : 0); in nfsd_open()
467 if ((access & MAY_WRITE) && (err = get_write_access(inode)) != 0) in nfsd_open()
477 if (access & MAY_WRITE) { in nfsd_open()
[all …]
Dnfsproc.c271 MAY_WRITE|_NFSD_IRIX_BOGOSITY); in nfsd_proc_create()
/linux-2.4.37.9/include/linux/nfsd/
Dnfsd.h41 …AY_TRUNC | MAY_LOCK | MAY_OWNER_OVERRIDE | _NFSD_IRIX_BOGOSITY) & (MAY_READ | MAY_WRITE | MAY_EXEC)
44 #define MAY_CREATE (MAY_EXEC|MAY_WRITE)
45 #define MAY_REMOVE (MAY_EXEC|MAY_WRITE|MAY_TRUNC)
/linux-2.4.37.9/fs/ncpfs/
Dioctl.c43 if ((permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
102 if ((permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
130 if ((permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
246 if ((permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
282 if ( (permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
303 if ( (permission(inode, MAY_WRITE) != 0) in ncp_ioctl()
605 if ((permission(inode, MAY_WRITE) != 0) && in ncp_ioctl()
/linux-2.4.37.9/fs/
Dnamei.c155 if (mask & MAY_WRITE) { in vfs_permission()
178 if (((mode & mask & (MAY_READ|MAY_WRITE|MAY_EXEC)) == mask)) in vfs_permission()
185 if ((mask & (MAY_READ|MAY_WRITE)) || (inode->i_mode & S_IXUGO)) in vfs_permission()
192 if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE))) in vfs_permission()
921 error = permission(dir,MAY_WRITE | MAY_EXEC); in may_delete()
954 return permission(dir,MAY_WRITE | MAY_EXEC); in may_create()
1772 error = permission(old_dentry->d_inode, MAY_WRITE); in vfs_rename_dir()
Dopen.c144 error = permission(inode,MAY_WRITE); in do_sys_truncate()
294 (error = permission(inode,MAY_WRITE)) != 0) in sys_utime()
346 (error = permission(inode,MAY_WRITE)) != 0) in sys_utimes()
Dnamespace.c410 if (permission(nd->dentry->d_inode, MAY_WRITE)) in mount_is_safe()
/linux-2.4.37.9/fs/nfs/
Dnfs3proc.c133 if (mode & MAY_WRITE) in nfs3_proc_access()
138 if (mode & MAY_WRITE) in nfs3_proc_access()
/linux-2.4.37.9/fs/intermezzo/
Dvfs.c137 error = permission(dir,MAY_WRITE | MAY_EXEC); in may_delete()
161 return permission(dir,MAY_WRITE | MAY_EXEC); in may_create()
1857 error = permission(old_dentry->d_inode, MAY_WRITE); in presto_rename_dir()
/linux-2.4.37.9/fs/jfs/
Dxattr.c668 return permission(inode, MAY_WRITE); in can_set_xattr()
/linux-2.4.37.9/fs/hpfs/
Dnamei.c337 permission(inode, MAY_WRITE) || in hpfs_unlink()
/linux-2.4.37.9/include/linux/
Dfs.h71 #define MAY_WRITE 2 macro
/linux-2.4.37.9/net/unix/
Daf_unix.c588 err = permission(nd.dentry->d_inode,MAY_WRITE); in unix_find_other()