Home
last modified time | relevance | path

Searched refs:rlim_max (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/security/apparmor/
Dresource.c94 new_rlim->rlim_max > profile->rlimits.limits[resource].rlim_max)) in aa_task_setrlimit()
97 return audit_resource(profile, resource, new_rlim->rlim_max, error); in aa_task_setrlimit()
119 rlim->rlim_cur = min(rlim->rlim_max, in __aa_transition_rlimits()
133 rlim->rlim_max = min(rlim->rlim_max, in __aa_transition_rlimits()
134 new->rlimits.limits[i].rlim_max); in __aa_transition_rlimits()
136 rlim->rlim_cur = min(rlim->rlim_cur, rlim->rlim_max); in __aa_transition_rlimits()
Dpolicy_unpack.c447 profile->rlimits.limits[a].rlim_max = tmp; in unpack_rlimits()
/linux-2.6.39/include/linux/
Dresource.h44 unsigned long rlim_max; member
51 __u64 rlim_max; member
Dcompat.h94 compat_ulong_t rlim_max; member
Dsched.h2613 return ACCESS_ONCE(tsk->signal->rlim[limit].rlim_max); in task_rlimit_max()
/linux-2.6.39/kernel/
Dcompat.c343 __get_user(r.rlim_max, &rlim->rlim_max)) in compat_sys_setrlimit()
348 if (r.rlim_max == COMPAT_RLIM_INFINITY) in compat_sys_setrlimit()
349 r.rlim_max = RLIM_INFINITY; in compat_sys_setrlimit()
369 if (r.rlim_max > COMPAT_RLIM_OLD_INFINITY) in compat_sys_old_getrlimit()
370 r.rlim_max = COMPAT_RLIM_INFINITY; in compat_sys_old_getrlimit()
374 __put_user(r.rlim_max, &rlim->rlim_max)) in compat_sys_old_getrlimit()
392 if (r.rlim_max > COMPAT_RLIM_INFINITY) in compat_sys_getrlimit()
393 r.rlim_max = COMPAT_RLIM_INFINITY; in compat_sys_getrlimit()
397 __put_user(r.rlim_max, &rlim->rlim_max)) in compat_sys_getrlimit()
Dsys.c1299 if (x.rlim_max > 0x7FFFFFFF) in SYSCALL_DEFINE2()
1300 x.rlim_max = 0x7FFFFFFF; in SYSCALL_DEFINE2()
1321 if (rlim->rlim_max == RLIM_INFINITY) in rlim_to_rlim64()
1322 rlim64->rlim_max = RLIM64_INFINITY; in rlim_to_rlim64()
1324 rlim64->rlim_max = rlim->rlim_max; in rlim_to_rlim64()
1333 if (rlim64_is_infinity(rlim64->rlim_max)) in rlim64_to_rlim()
1334 rlim->rlim_max = RLIM_INFINITY; in rlim64_to_rlim()
1336 rlim->rlim_max = (unsigned long)rlim64->rlim_max; in rlim64_to_rlim()
1349 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1352 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()
[all …]
Dposix-cpu-timers.c968 ACCESS_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_max); in check_thread_timers()
1134 ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_max); in check_process_timers()
Dfork.c241 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
/linux-2.6.39/arch/um/os-Linux/
Dstart_up.c354 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit()
356 else printf("%lu\n", lim.rlim_max); in check_coredump_limit()
/linux-2.6.39/arch/mips/kernel/
Dlinux32.c105 int rlim_max; member
/linux-2.6.39/fs/proc/
Dbase.c542 if (rlim[i].rlim_max == RLIM_INFINITY) in proc_pid_limits()
546 rlim[i].rlim_max); in proc_pid_limits()
/linux-2.6.39/security/selinux/
Dhooks.c2218 rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur); in selinux_bprm_committing_creds()
3398 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()
/linux-2.6.39/Documentation/s390/
DDebugging390.txt819 unsigned long rlim_max;
822 .stabs "rlimit:T(151,2)=s8rlim_cur:(0,5),0,32;rlim_max:(0,5),32,32;;",128,0,0,0