tag | line | file | source code |
rlim | 54 | arch/alpha/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 199 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 50 | arch/i386/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 175 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 57 | arch/mips/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 182 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
rlim | 223 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 228 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 202 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 281 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 414 | fs/open.c | for(fd=0; fd<NR_OPEN && fd<current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) |
rlim | 417 | fs/open.c | if (fd>=NR_OPEN || fd>=current->rlim[RLIMIT_NOFILE].rlim_cur) |
rlim | 397 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
rlim | 513 | fs/proc/array.c | (*p)->rlim[RLIMIT_RSS].rlim_cur, |
rlim | 231 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 175 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 57 | kernel/fork.c | this_user_tasks > current->rlim[RLIMIT_NPROC].rlim_cur) |
rlim | 633 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 634 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 636 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 640 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 643 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 644 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 382 | 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 | 672 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 678 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 681 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
rlim | 682 | kernel/sys.c | (unsigned long *) rlim); |
rlim | 683 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
rlim | 684 | kernel/sys.c | ((unsigned long *) rlim)+1); |
rlim | 688 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 695 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 698 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 699 | kernel/sys.c | old_rlim = current->rlim + resource; |
rlim | 723 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |