tag | line | file | source code |
rlim | 176 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
rlim | 223 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 227 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 200 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 279 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 352 | fs/proc/array.c | (*p)->rlim[RLIMIT_RSS].rlim_cur, |
rlim | 186 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 281 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 170 | kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 687 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 688 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 690 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 694 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 697 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 698 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 397 | kernel/sys.c | unsigned long rlim; |
rlim | 419 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 420 | kernel/sys.c | if (rlim >= RLIM_INFINITY) |
rlim | 421 | kernel/sys.c | rlim = ~0; |
rlim | 422 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
rlim | 691 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 697 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 700 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
rlim | 701 | kernel/sys.c | (unsigned long *) rlim); |
rlim | 702 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
rlim | 703 | kernel/sys.c | ((unsigned long *) rlim)+1); |
rlim | 707 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 714 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 717 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 718 | kernel/sys.c | old_rlim = current->rlim + resource; |
rlim | 649 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 996 | mm/memory.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |