Home
last modified time | relevance | path

Searched refs:i_uid (Results 1 – 25 of 107) sorted by relevance

12345

/linux-2.4.37.9/fs/
Dattr.c30 (current->fsuid != inode->i_uid || in inode_change_ok()
31 attr->ia_uid != inode->i_uid) && !capable(CAP_CHOWN)) 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()
74 inode->i_uid = attr->ia_uid; in inode_setattr()
137 if ((ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) || in notify_change()
Dstat.c57 SET_OLDSTAT_UID(tmp, inode->i_uid); in cp_old_stat()
85 SET_STAT_UID(tmp, inode->i_uid); in cp_new_stat()
292 tmp.st_uid = inode->i_uid; in cp_new_stat64()
/linux-2.4.37.9/fs/affs/
Dinode.c85 inode->i_uid = AFFS_SB->s_uid; in affs_read_inode()
87 inode->i_uid = 0; in affs_read_inode()
89 inode->i_uid = id; in affs_read_inode()
101 inode->i_uid = AFFS_SB->s_uid; in affs_read_inode()
203 uid = inode->i_uid; in affs_write_inode()
206 if (inode->i_uid == 0 || inode->i_uid == 0xFFFF) in affs_write_inode()
207 uid = inode->i_uid ^ ~0; in affs_write_inode()
316 inode->i_uid = current->fsuid; in affs_new_inode()
/linux-2.4.37.9/fs/autofs/
Dinode.c150 …if ( parse_options(data,&pipefd,&root_inode->i_uid,&root_inode->i_gid,&sbi->oz_pgrp,&minproto,&max… in autofs_read_super()
222 inode->i_uid = inode->i_gid = 0; /* Changed in read_super */ in autofs_read_inode()
226 inode->i_uid = inode->i_sb->s_root->d_inode->i_uid; in autofs_read_inode()
/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()
Dinode.c961 inode->i_uid = (uid_t)le16_to_cpu(raw_inode->i_uid_low); in ext2_read_inode()
964 inode->i_uid |= le16_to_cpu(raw_inode->i_uid_high) << 16; in ext2_read_inode()
1095 raw_inode->i_uid_low = cpu_to_le16(low_16_bits(inode->i_uid)); in ext2_update_inode()
1102 raw_inode->i_uid_high = cpu_to_le16(high_16_bits(inode->i_uid)); in ext2_update_inode()
1109 raw_inode->i_uid_low = cpu_to_le16(fs_high2lowuid(inode->i_uid)); in ext2_update_inode()
/linux-2.4.37.9/fs/minix/
Dinode.c361 inode->i_uid = (uid_t)raw_inode->i_uid; in V1_minix_read_inode()
388 inode->i_uid = (uid_t)raw_inode->i_uid; in V2_minix_read_inode()
426 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V1_minix_update_inode()
452 raw_inode->i_uid = fs_high2lowuid(inode->i_uid); in V2_minix_update_inode()
/linux-2.4.37.9/fs/autofs4/
Dinode.c220 &root_inode->i_uid, &root_inode->i_gid, in autofs4_read_super()
303 inode->i_uid = sb->s_root->d_inode->i_uid; in autofs4_get_inode()
306 inode->i_uid = 0; in autofs4_get_inode()
/linux-2.4.37.9/fs/sysv/
Dinode.c165 inode->i_uid = (uid_t)fs16_to_cpu(sb, raw_inode->i_uid); in sysv_read_inode()
208 raw_inode->i_uid = cpu_to_fs16(sb, fs_high2lowuid(inode->i_uid)); in sysv_update_inode()
/linux-2.4.37.9/fs/hpfs/
Dinode.c65 i->i_uid = sb->s_hpfs_uid; in hpfs_read_inode()
114 i->i_uid = ea[0] + (ea[1] << 8); in hpfs_read_inode()
201 if ((i->i_uid != i->i_sb->s_hpfs_uid) || i->i_hpfs_ea_uid) { in hpfs_write_inode_ea()
202 ea[0] = i->i_uid & 0xff; in hpfs_write_inode_ea()
203 ea[1] = i->i_uid >> 8; in hpfs_write_inode_ea()
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/include/linux/
Dminix_fs.h43 __u16 i_uid; member
60 __u16 i_uid; member
Dqnx4_fs_i.h30 qnx4_muid_t i_uid; /* 2 */ member
Dbfs_fs.h29 __s32 i_uid; member
/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/drivers/usb/
Dinode.c109 inode->i_uid = sb->u.usbdevfs_sb.devuid; in new_dev_inode()
146 inode->i_uid = sb->u.usbdevfs_sb.busuid; in new_bus_inode()
161 inode->i_uid = inode->i_gid = 0; in free_inode()
515 inode->i_gid = inode->i_uid = 0; in usbdevfs_read_inode()
578 inode->i_uid = s->u.usbdevfs_sb.listuid; in usbdevfs_remount()
583 inode->i_uid = s->u.usbdevfs_sb.busuid; in usbdevfs_remount()
588 inode->i_uid = s->u.usbdevfs_sb.devuid; in usbdevfs_remount()
635 inode->i_uid = s->u.usbdevfs_sb.listuid; in usbdevfs_read_super()
/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/fs/bfs/
Dinode.c72 inode->i_uid = di->i_uid; in bfs_read_inode()
120 di->i_uid = inode->i_uid; in bfs_write_inode()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c195 inode->i_uid = be32_to_cpu(perms->owner); in hfsplus_get_perms()
196 if (!inode->i_uid && !mode) in hfsplus_get_perms()
197 inode->i_uid = HFSPLUS_SB(sb).uid; in hfsplus_get_perms()
216 perms->owner = cpu_to_be32(inode->i_uid); in hfsplus_set_perms()
282 inode->i_uid = current->fsuid; in hfsplus_new_inode()
/linux-2.4.37.9/fs/proc/
Dinode.c154 inode->i_uid = de->uid; in proc_get_inode()
203 parse_options(data, &root_inode->i_uid, &root_inode->i_gid); in proc_read_super()
/linux-2.4.37.9/fs/devpts/
Dinode.c150 inode->i_uid = inode->i_gid = 0; in devpts_read_super()
200 inode->i_uid = sbi->setuid ? sbi->uid : current->fsuid; in devpts_pty_new()
/linux-2.4.37.9/fs/jffs2/
Dfile.c151 ri->uid = (ivalid & ATTR_UID)?iattr->ia_uid:inode->i_uid; in jffs2_setattr()
194 inode->i_uid = ri->uid; in jffs2_setattr()
366 ri.uid = inode->i_uid; in jffs2_prepare_write()
484 ri->uid = inode->i_uid; in jffs2_commit_write()
/linux-2.4.37.9/fs/jfs/
Djfs_inode.c64 inode->i_uid = current->fsuid; in ialloc()
/linux-2.4.37.9/fs/isofs/
Drock.c294 inode->i_uid = isonum_733(rr->u.PX.uid); in parse_rock_ridge_inode_internal()
385 inode->i_uid = reloc->i_uid; in parse_rock_ridge_inode_internal()
/linux-2.4.37.9/fs/devfs/
Dbase.c2566 (int) inode->i_mode, (int) inode->i_uid, (int) inode->i_gid); in devfs_notify_change()
2573 de->inode.uid = inode->i_uid; in devfs_notify_change()
2582 inode->i_uid, inode->i_gid, fs_info, 0); in devfs_notify_change()
2692 inode->i_uid = de->inode.uid; in _devfs_get_vfs_inode()
2698 (int) inode->i_mode, (int) inode->i_uid, (int) inode->i_gid); in _devfs_get_vfs_inode()
2816 inode->i_uid = current->euid; in devfs_open()
2924 inode->i_uid = de->inode.uid; in devfs_d_delete()
3092 inode->i_uid, inode->i_gid, fs_info, 0); in devfs_unlink()
3127 inode->i_uid, inode->i_gid, fs_info, 0); in devfs_symlink()
3158 inode->i_uid, inode->i_gid, fs_info, 0); in devfs_mkdir()
[all …]

12345