tag | line | file | source code |
rlim | 276 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 197 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 1052 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 1053 | arch/i386/kernel/smp.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 1055 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 1059 | arch/i386/kernel/smp.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 1062 | arch/i386/kernel/smp.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 1063 | arch/i386/kernel/smp.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 174 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 217 | arch/ppc/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 220 | arch/ppc/mm/fault.c | current->rlim[RLIMIT_STACK].rlim_cur); |
rlim | 127 | arch/sparc/kernel/sys_sunos.c | unsigned long rlim; |
rlim | 151 | arch/sparc/kernel/sys_sunos.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 152 | arch/sparc/kernel/sys_sunos.c | if (rlim >= RLIM_INFINITY) |
rlim | 153 | arch/sparc/kernel/sys_sunos.c | rlim = ~0; |
rlim | 154 | arch/sparc/kernel/sys_sunos.c | if (brk - current->mm->end_code > rlim) |
rlim | 99 | fs/binfmt_aout.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
rlim | 140 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 145 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 213 | fs/binfmt_aout.c | unsigned long rlim; |
rlim | 243 | fs/binfmt_aout.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 244 | fs/binfmt_aout.c | if (rlim >= RLIM_INFINITY) |
rlim | 245 | fs/binfmt_aout.c | rlim = ~0; |
rlim | 246 | fs/binfmt_aout.c | if (ex.a_data + ex.a_bss > rlim) |
rlim | 955 | fs/binfmt_elf.c | int limit = 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 | 521 | fs/open.c | for(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) { |
rlim | 420 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
rlim | 715 | 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 | 249 | include/linux/mm.h | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
rlim | 227 | include/linux/sched.h | struct rlimit rlim[RLIM_NLIMITS]; |
rlim | 42 | kernel/fork.c | long max_tasks = current->rlim[RLIMIT_NPROC].rlim_cur; |
rlim | 851 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 852 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 854 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 858 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 861 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 862 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 440 | kernel/sys.c | unsigned long rlim; |
rlim | 461 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 462 | kernel/sys.c | if (rlim >= RLIM_INFINITY) |
rlim | 463 | kernel/sys.c | rlim = ~0; |
rlim | 464 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
rlim | 770 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 776 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 779 | kernel/sys.c | memcpy_tofs(rlim, current->rlim + resource, sizeof(*rlim)); |
rlim | 783 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 790 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 793 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 794 | kernel/sys.c | old_rlim = current->rlim + resource; |
rlim | 196 | mm/mlock.c | lock_limit = current->rlim[RLIMIT_MEMLOCK].rlim_cur; |
rlim | 254 | mm/mlock.c | lock_limit = current->rlim[RLIMIT_MEMLOCK].rlim_cur; |
rlim | 73 | mm/mmap.c | if (locked > current->rlim[RLIMIT_MEMLOCK].rlim_cur) |
rlim | 869 | net/unix/af_unix.c | upper_bound = current->rlim[RLIMIT_NOFILE].rlim_cur; |