tag | line | file | source code |
rlim | 141 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 483 | kernel/sys.c | int sys_getrlimit(int resource, struct rlimit *rlim) |
rlim | 487 | kernel/sys.c | verify_area(rlim,sizeof *rlim); |
rlim | 488 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
rlim | 489 | kernel/sys.c | (unsigned long *) rlim); |
rlim | 490 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
rlim | 491 | kernel/sys.c | ((unsigned long *) rlim)+1); |
rlim | 495 | kernel/sys.c | int sys_setrlimit(int resource, struct rlimit *rlim) |
rlim | 501 | kernel/sys.c | old = current->rlim + resource; |
rlim | 502 | kernel/sys.c | new.rlim_cur = get_fs_long((unsigned long *) rlim); |
rlim | 503 | kernel/sys.c | new.rlim_max = get_fs_long(((unsigned long *) rlim)+1); |