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 | 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 | 174 | arch/sparc/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
rlim | 175 | arch/sparc/kernel/smp.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
rlim | 177 | arch/sparc/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
rlim | 181 | arch/sparc/kernel/smp.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
rlim | 184 | arch/sparc/kernel/smp.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
rlim | 185 | arch/sparc/kernel/smp.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
rlim | 112 | arch/sparc/kernel/sys_sunos.c | unsigned long rlim; |
rlim | 136 | arch/sparc/kernel/sys_sunos.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 137 | arch/sparc/kernel/sys_sunos.c | if (rlim >= RLIM_INFINITY) |
rlim | 138 | arch/sparc/kernel/sys_sunos.c | rlim = ~0; |
rlim | 139 | 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 | 141 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 146 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
rlim | 265 | fs/binfmt_aout.c | unsigned long rlim; |
rlim | 295 | fs/binfmt_aout.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 296 | fs/binfmt_aout.c | if (rlim >= RLIM_INFINITY) |
rlim | 297 | fs/binfmt_aout.c | rlim = ~0; |
rlim | 298 | fs/binfmt_aout.c | if (ex.a_data + ex.a_bss > rlim) |
rlim | 948 | 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 | 431 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
rlim | 718 | 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 | 237 | 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 | 43 | kernel/fork.c | long max_tasks = current->rlim[RLIMIT_NPROC].rlim_cur; |
rlim | 871 | kernel/sched.c | if (psecs > p->rlim[RLIMIT_CPU].rlim_cur) { |
rlim | 876 | kernel/sched.c | if (psecs > p->rlim[RLIMIT_CPU].rlim_max) |
rlim | 549 | kernel/sys.c | unsigned long rlim; |
rlim | 570 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
rlim | 571 | kernel/sys.c | if (rlim >= RLIM_INFINITY) |
rlim | 572 | kernel/sys.c | rlim = ~0; |
rlim | 573 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
rlim | 879 | kernel/sys.c | asmlinkage int sys_getrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 885 | kernel/sys.c | error = verify_area(VERIFY_WRITE,rlim,sizeof *rlim); |
rlim | 888 | kernel/sys.c | memcpy_tofs(rlim, current->rlim + resource, sizeof(*rlim)); |
rlim | 892 | kernel/sys.c | asmlinkage int sys_setrlimit(unsigned int resource, struct rlimit *rlim) |
rlim | 899 | kernel/sys.c | err = verify_area(VERIFY_READ, rlim, sizeof(*rlim)); |
rlim | 902 | kernel/sys.c | memcpy_fromfs(&new_rlim, rlim, sizeof(*rlim)); |
rlim | 903 | 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 | 61 | mm/mmap.c | if (locked > current->rlim[RLIMIT_MEMLOCK].rlim_cur) |
rlim | 194 | mm/mremap.c | if (locked > current->rlim[RLIMIT_MEMLOCK].rlim_cur) |
rlim | 792 | net/unix/af_unix.c | if(i>current->rlim[RLIMIT_NOFILE].rlim_cur) |
rlim | 793 | net/unix/af_unix.c | i=current->rlim[RLIMIT_NOFILE].rlim_cur; |