tag | line | file | source code |
ruid | 66 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid); |
ruid | 244 | fs/nfs/proc.c | int ruid = 0; |
ruid | 250 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_GETATTR, ruid); |
ruid | 264 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 265 | fs/nfs/proc.c | ruid = 1; |
ruid | 280 | fs/nfs/proc.c | int ruid = 0; |
ruid | 286 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SETATTR, ruid); |
ruid | 301 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 302 | fs/nfs/proc.c | ruid = 1; |
ruid | 317 | fs/nfs/proc.c | int ruid = 0; |
ruid | 327 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LOOKUP, ruid); |
ruid | 343 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 344 | fs/nfs/proc.c | ruid = 1; |
ruid | 358 | fs/nfs/proc.c | int status, ruid = 0; |
ruid | 364 | fs/nfs/proc.c | p = nfs_rpc_header(*p0, NFSPROC_READLINK, ruid); |
ruid | 379 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 380 | fs/nfs/proc.c | ruid = 1; |
ruid | 394 | fs/nfs/proc.c | int ruid = 0; |
ruid | 401 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READ, ruid); |
ruid | 424 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 425 | fs/nfs/proc.c | ruid = 1; |
ruid | 440 | fs/nfs/proc.c | int ruid = 0; |
ruid | 446 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_WRITE, ruid); |
ruid | 464 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 465 | fs/nfs/proc.c | ruid = 1; |
ruid | 481 | fs/nfs/proc.c | int ruid = 0; |
ruid | 487 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_CREATE, ruid); |
ruid | 504 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 505 | fs/nfs/proc.c | ruid = 1; |
ruid | 519 | fs/nfs/proc.c | int ruid = 0; |
ruid | 525 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_REMOVE, ruid); |
ruid | 539 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 540 | fs/nfs/proc.c | ruid = 1; |
ruid | 556 | fs/nfs/proc.c | int ruid = 0; |
ruid | 562 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RENAME, ruid); |
ruid | 578 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 579 | fs/nfs/proc.c | ruid = 1; |
ruid | 594 | fs/nfs/proc.c | int ruid = 0; |
ruid | 600 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LINK, ruid); |
ruid | 615 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 616 | fs/nfs/proc.c | ruid = 1; |
ruid | 631 | fs/nfs/proc.c | int ruid = 0; |
ruid | 637 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SYMLINK, ruid); |
ruid | 653 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 654 | fs/nfs/proc.c | ruid = 1; |
ruid | 670 | fs/nfs/proc.c | int ruid = 0; |
ruid | 676 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_MKDIR, ruid); |
ruid | 693 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 694 | fs/nfs/proc.c | ruid = 1; |
ruid | 708 | fs/nfs/proc.c | int ruid = 0; |
ruid | 714 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RMDIR, ruid); |
ruid | 728 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 729 | fs/nfs/proc.c | ruid = 1; |
ruid | 744 | fs/nfs/proc.c | int ruid = 0; |
ruid | 754 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READDIR, ruid); |
ruid | 784 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 785 | fs/nfs/proc.c | ruid = 1; |
ruid | 800 | fs/nfs/proc.c | int ruid = 0; |
ruid | 806 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_STATFS, ruid); |
ruid | 820 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 821 | fs/nfs/proc.c | ruid = 1; |
ruid | 835 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid) |
ruid | 856 | fs/nfs/proc.c | *p++ = htonl(ruid ? current->uid : current->fsuid); |
ruid | 299 | kernel/sys.c | asmlinkage int sys_setreuid(uid_t ruid, uid_t euid) |
ruid | 303 | kernel/sys.c | if (ruid != (uid_t) -1) { |
ruid | 304 | kernel/sys.c | if ((old_ruid == ruid) || |
ruid | 305 | kernel/sys.c | (current->euid==ruid) || |
ruid | 307 | kernel/sys.c | current->uid = ruid; |
ruid | 322 | kernel/sys.c | if (ruid != (uid_t) -1 || |