tag | line | file | source code |
ruid | 69 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid); |
ruid | 234 | fs/nfs/proc.c | int ruid = 0; |
ruid | 240 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_GETATTR, ruid); |
ruid | 254 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 255 | fs/nfs/proc.c | ruid = 1; |
ruid | 270 | fs/nfs/proc.c | int ruid = 0; |
ruid | 276 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SETATTR, ruid); |
ruid | 291 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 292 | fs/nfs/proc.c | ruid = 1; |
ruid | 307 | fs/nfs/proc.c | int ruid = 0; |
ruid | 317 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LOOKUP, ruid); |
ruid | 333 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 334 | fs/nfs/proc.c | ruid = 1; |
ruid | 348 | fs/nfs/proc.c | int status, ruid = 0; |
ruid | 354 | fs/nfs/proc.c | p = nfs_rpc_header(*p0, NFSPROC_READLINK, ruid); |
ruid | 369 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 370 | fs/nfs/proc.c | ruid = 1; |
ruid | 384 | fs/nfs/proc.c | int ruid = 0; |
ruid | 391 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READ, ruid); |
ruid | 414 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 415 | fs/nfs/proc.c | ruid = 1; |
ruid | 430 | fs/nfs/proc.c | int ruid = 0; |
ruid | 436 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_WRITE, ruid); |
ruid | 454 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 455 | fs/nfs/proc.c | ruid = 1; |
ruid | 471 | fs/nfs/proc.c | int ruid = 0; |
ruid | 477 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_CREATE, ruid); |
ruid | 494 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 495 | fs/nfs/proc.c | ruid = 1; |
ruid | 509 | fs/nfs/proc.c | int ruid = 0; |
ruid | 515 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_REMOVE, ruid); |
ruid | 529 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 530 | fs/nfs/proc.c | ruid = 1; |
ruid | 546 | fs/nfs/proc.c | int ruid = 0; |
ruid | 552 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RENAME, ruid); |
ruid | 568 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 569 | fs/nfs/proc.c | ruid = 1; |
ruid | 584 | fs/nfs/proc.c | int ruid = 0; |
ruid | 590 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LINK, ruid); |
ruid | 605 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 606 | fs/nfs/proc.c | ruid = 1; |
ruid | 621 | fs/nfs/proc.c | int ruid = 0; |
ruid | 627 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SYMLINK, ruid); |
ruid | 643 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 644 | fs/nfs/proc.c | ruid = 1; |
ruid | 660 | fs/nfs/proc.c | int ruid = 0; |
ruid | 666 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_MKDIR, ruid); |
ruid | 683 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 684 | fs/nfs/proc.c | ruid = 1; |
ruid | 698 | fs/nfs/proc.c | int ruid = 0; |
ruid | 704 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RMDIR, ruid); |
ruid | 718 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 719 | fs/nfs/proc.c | ruid = 1; |
ruid | 734 | fs/nfs/proc.c | int ruid = 0; |
ruid | 744 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READDIR, ruid); |
ruid | 774 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 775 | fs/nfs/proc.c | ruid = 1; |
ruid | 790 | fs/nfs/proc.c | int ruid = 0; |
ruid | 796 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_STATFS, ruid); |
ruid | 810 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 811 | fs/nfs/proc.c | ruid = 1; |
ruid | 825 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid) |
ruid | 846 | fs/nfs/proc.c | *p++ = htonl(ruid ? current->uid : current->fsuid); |
ruid | 291 | kernel/sys.c | asmlinkage int sys_setreuid(uid_t ruid, uid_t euid) |
ruid | 296 | kernel/sys.c | if (ruid != (uid_t) -1) { |
ruid | 297 | kernel/sys.c | if ((old_ruid == ruid) || |
ruid | 298 | kernel/sys.c | (current->euid==ruid) || |
ruid | 300 | kernel/sys.c | current->uid = ruid; |
ruid | 315 | kernel/sys.c | if (ruid != (uid_t) -1 || |