tag | line | file | source code |
rlim | 170 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 179 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
rlim | 220 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 225 | 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 | 480 | 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 | 174 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 639 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 640 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 642 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 646 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 649 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 650 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 381 | kernel/sys.c | unsigned long rlim; |
rlim | 403 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 404 | kernel/sys.c | if (rlim >= RLIM_INFINITY) |
rlim | 405 | kernel/sys.c | rlim = ~0; |
rlim | 406 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
rlim | 675 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 681 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 684 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
rlim | 685 | kernel/sys.c | (unsigned long *) rlim); |
rlim | 686 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
rlim | 687 | kernel/sys.c | ((unsigned long *) rlim)+1); |
rlim | 691 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 698 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 701 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 702 | 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 | 991 | mm/memory.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |