tag | line | file | source code |
resource | 725 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
resource | 729 | kernel/sys.c | if (resource >= RLIM_NLIMITS) |
resource | 734 | kernel/sys.c | memcpy_tofs(rlim, current->rlim + resource, sizeof(*rlim)); |
resource | 738 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
resource | 743 | kernel/sys.c | if (resource >= RLIM_NLIMITS) |
resource | 749 | kernel/sys.c | old_rlim = current->rlim + resource; |
resource | 754 | kernel/sys.c | if (resource == RLIMIT_NOFILE) { |