tag | line | file | source code |
rlim | 276 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 58 | arch/alpha/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 197 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 844 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 845 | arch/i386/kernel/smp.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 847 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 851 | arch/i386/kernel/smp.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 854 | arch/i386/kernel/smp.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 855 | arch/i386/kernel/smp.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
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 | 218 | arch/sparc/mm/fault.c | if(vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) { |
rlim | 483 | arch/sparc/mm/fault.c | if(vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) { |
rlim | 962 | fs/binfmt_elf.c | int limit = current->rlim[RLIMIT_CORE].rlim_cur; |
rlim | 185 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
rlim | 226 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 231 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 203 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 282 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
rlim | 506 | fs/open.c | for(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) { |
rlim | 399 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
rlim | 519 | fs/proc/array.c | tsk->rlim ? tsk->rlim[RLIMIT_RSS].rlim_cur : 0, |
rlim | 260 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 202 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 43 | kernel/fork.c | long max_tasks = current->rlim[RLIMIT_NPROC].rlim_cur; |
rlim | 793 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 794 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 796 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 800 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 803 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 804 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 418 | kernel/sys.c | unsigned long rlim; |
rlim | 439 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 440 | kernel/sys.c | if (rlim >= RLIM_INFINITY) |
rlim | 441 | kernel/sys.c | rlim = ~0; |
rlim | 442 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
rlim | 725 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 731 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 734 | kernel/sys.c | memcpy_tofs(rlim, current->rlim + resource, sizeof(*rlim)); |
rlim | 738 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 745 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 748 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 749 | kernel/sys.c | old_rlim = current->rlim + resource; |
rlim | 695 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |