tag | line | file | source code |
ruid | 55 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid); |
ruid | 209 | fs/nfs/proc.c | int ruid = 0; |
ruid | 215 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_GETATTR, ruid); |
ruid | 228 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 229 | fs/nfs/proc.c | ruid = 1; |
ruid | 243 | fs/nfs/proc.c | int ruid = 0; |
ruid | 249 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SETATTR, ruid); |
ruid | 263 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 264 | fs/nfs/proc.c | ruid = 1; |
ruid | 278 | fs/nfs/proc.c | int ruid = 0; |
ruid | 288 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LOOKUP, ruid); |
ruid | 303 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 304 | fs/nfs/proc.c | ruid = 1; |
ruid | 318 | fs/nfs/proc.c | int ruid = 0; |
ruid | 324 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READLINK, ruid); |
ruid | 341 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 342 | fs/nfs/proc.c | ruid = 1; |
ruid | 356 | fs/nfs/proc.c | int ruid = 0; |
ruid | 363 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READ, ruid); |
ruid | 384 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 385 | fs/nfs/proc.c | ruid = 1; |
ruid | 399 | fs/nfs/proc.c | int ruid = 0; |
ruid | 405 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_WRITE, ruid); |
ruid | 422 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 423 | fs/nfs/proc.c | ruid = 1; |
ruid | 438 | fs/nfs/proc.c | int ruid = 0; |
ruid | 444 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_CREATE, ruid); |
ruid | 460 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 461 | fs/nfs/proc.c | ruid = 1; |
ruid | 474 | fs/nfs/proc.c | int ruid = 0; |
ruid | 480 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_REMOVE, ruid); |
ruid | 493 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 494 | 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_RENAME, ruid); |
ruid | 530 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 531 | fs/nfs/proc.c | ruid = 1; |
ruid | 545 | fs/nfs/proc.c | int ruid = 0; |
ruid | 551 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_LINK, ruid); |
ruid | 565 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 566 | fs/nfs/proc.c | ruid = 1; |
ruid | 580 | fs/nfs/proc.c | int ruid = 0; |
ruid | 586 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_SYMLINK, ruid); |
ruid | 601 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 602 | fs/nfs/proc.c | ruid = 1; |
ruid | 617 | fs/nfs/proc.c | int ruid = 0; |
ruid | 623 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_MKDIR, ruid); |
ruid | 639 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 640 | fs/nfs/proc.c | ruid = 1; |
ruid | 653 | fs/nfs/proc.c | int ruid = 0; |
ruid | 659 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_RMDIR, ruid); |
ruid | 672 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 673 | fs/nfs/proc.c | ruid = 1; |
ruid | 687 | fs/nfs/proc.c | int ruid = 0; |
ruid | 697 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_READDIR, ruid); |
ruid | 726 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 727 | fs/nfs/proc.c | ruid = 1; |
ruid | 741 | fs/nfs/proc.c | int ruid = 0; |
ruid | 747 | fs/nfs/proc.c | p = nfs_rpc_header(p0, NFSPROC_STATFS, ruid); |
ruid | 760 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
ruid | 761 | fs/nfs/proc.c | ruid = 1; |
ruid | 774 | fs/nfs/proc.c | static int *nfs_rpc_header(int *p, int procedure, int ruid) |
ruid | 795 | 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 || |