Home
last modified time | relevance | path

Searched refs:fsuid (Results 1 – 25 of 60) sorted by relevance

123

/linux-2.4.37.9/fs/
Dattr.c30 (current->fsuid != inode->i_uid || in inode_change_ok()
36 (current->fsuid != inode->i_uid || in inode_change_ok()
43 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in inode_change_ok()
53 if (current->fsuid != inode->i_uid && !capable(CAP_FOWNER)) in inode_change_ok()
Dexec.c812 current->suid = current->euid = current->fsuid = bprm->e_uid; in compute_creds()
1145 int fsuid = current->fsuid; in do_coredump() local
1155 current->fsuid = 0; in do_coredump()
1177 if (inode->i_uid != current->fsuid) in do_coredump()
1191 if (fsuid != current->fsuid) in do_coredump()
1192 current->fsuid = fsuid; in do_coredump()
Dfile_table.c47 f->f_uid = current->fsuid; in get_empty_filp()
92 filp->f_uid = current->fsuid; in init_private_file()
Dopen.c293 if (current->fsuid != inode->i_uid && in sys_utime()
345 if (current->fsuid != inode->i_uid && in sys_utimes()
371 old_fsuid = current->fsuid; in sys_access()
375 current->fsuid = current->uid; in sys_access()
394 current->fsuid = old_fsuid; in sys_access()
/linux-2.4.37.9/fs/ext2/
Dioctl.c33 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext2_ioctl()
64 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext2_ioctl()
/linux-2.4.37.9/fs/nfsd/
Dauth.c38 current->fsuid = cred->cr_uid; in nfsd_setuser()
40 current->fsuid = exp->ex_anon_uid; in nfsd_setuser()
/linux-2.4.37.9/kernel/
Dsys.c578 current->fsuid = current->euid = new_euid; in sys_setreuid()
582 current->fsuid = current->euid; in sys_setreuid()
625 current->fsuid = current->euid = uid; in sys_setuid()
669 current->fsuid = current->euid; in sys_setresuid()
745 old_fsuid = current->fsuid; in sys_setfsuid()
747 uid == current->suid || uid == current->fsuid || in sys_setfsuid()
755 current->fsuid = uid; in sys_setfsuid()
768 if (old_fsuid == 0 && current->fsuid != 0) { in sys_setfsuid()
771 if (old_fsuid != 0 && current->fsuid == 0) { in sys_setfsuid()
Dkmod.c125 curtask->euid = curtask->uid = curtask->suid = curtask->fsuid = 0; in exec_usermodehelper()
/linux-2.4.37.9/fs/reiserfs/
Dioctl.c48 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in reiserfs_ioctl()
75 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in reiserfs_ioctl()
/linux-2.4.37.9/fs/ext3/
Dioctl.c39 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext3_ioctl()
107 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) in ext3_ioctl()
/linux-2.4.37.9/include/linux/
Dintermezzo_journal.h12 int fsuid; member
Dintermezzo_fs.h151 uid_t fsuid; member
166 save->fsuid = current->fsuid; in push_ctxt()
179 current->fsuid = new->fsuid; in push_ctxt()
199 current->fsuid = saved->fsuid; in pop_ctxt()
Dsched.h371 uid_t uid,euid,suid,fsuid; member
732 if (!issecure(SECURE_NOROOT) && current->fsuid == 0) { in fsuser()
750 if (cap_is_fs_cap(cap) ? current->fsuid == 0 : current->euid == 0) in capable()
Dintermezzo_kml.h41 u32 fsuid; member
Dintermezzo_idl.h212 __u32 fsuid; member
/linux-2.4.37.9/fs/hpfs/
Dnamei.c76 if (result->i_uid != current->fsuid || in hpfs_mkdir()
79 result->i_uid = current->fsuid; in hpfs_mkdir()
146 if (result->i_uid != current->fsuid || in hpfs_create()
149 result->i_uid = current->fsuid; in hpfs_create()
207 result->i_uid = current->fsuid; in hpfs_mknod()
271 result->i_uid = current->fsuid; in hpfs_symlink()
/linux-2.4.37.9/net/sunrpc/
Dauth_unix.c89 cred->uc_fsuid = current->fsuid; in unx_create_cred()
145 || cred->uc_fsuid != current->fsuid in unx_match()
/linux-2.4.37.9/fs/coda/
Dcoda_linux.c58 cred->cr_fsuid = (vuid_t) current->fsuid; in coda_load_creds()
68 return(current->fsuid == cred->cr_fsuid); in coda_cred_ok()
/linux-2.4.37.9/fs/jfs/
Djfs_inode.c64 inode->i_uid = current->fsuid; in ialloc()
/linux-2.4.37.9/fs/xfs/
Dxfs_acl.c400 if (va.va_uid != current->fsuid && !capable(CAP_FOWNER)) in xfs_acl_allow_set()
510 if (fuid != current->fsuid) in xfs_acl_access()
516 if (fap->acl_entry[i].ae_id != current->fsuid) in xfs_acl_access()
/linux-2.4.37.9/fs/udf/
Dialloc.c116 inode->i_uid = current->fsuid; in udf_new_inode()
/linux-2.4.37.9/fs/jffs/
Dinode-v23.c471 raw_inode.uid = current->fsuid; in jffs_rename()
842 raw_inode.uid = current->fsuid; in jffs_mkdir()
1001 raw_inode.uid = current->fsuid; in jffs_remove()
1076 raw_inode.uid = current->fsuid; in jffs_mknod()
1183 raw_inode.uid = current->fsuid; in jffs_symlink()
1281 raw_inode.uid = current->fsuid; in jffs_create()
/linux-2.4.37.9/fs/intermezzo/
Dkml_unpack.c414 rec->prefix.hdr->fsuid = NTOH__u32(rec->prefix.hdr->fsuid); in kml_unpack_prefix()
665 rec->prefix.hdr->fsuid, in kml_print_rec()
/linux-2.4.37.9/fs/sysv/
Dialloc.c164 inode->i_uid = current->fsuid; in sysv_new_inode()
/linux-2.4.37.9/fs/devpts/
Dinode.c200 inode->i_uid = sbi->setuid ? sbi->uid : current->fsuid; in devpts_pty_new()

123