Searched refs:RLIMIT_CPU (Results 1 - 7 of 7) sorted by relevance

/linux-master/include/uapi/asm-generic/
H A Dresource.h16 #define RLIMIT_CPU 0 /* CPU time in sec */ macro
/linux-master/include/asm-generic/
H A Dresource.h13 [RLIMIT_CPU] = { RLIM_INFINITY, RLIM_INFINITY }, \
/linux-master/kernel/time/
H A Dposix-cpu-timers.c34 * Called after updating RLIMIT_CPU to run cpu timer and update
569 * and RLIMIT_CPU and for thread timers with RLIMIT_RTTIME.
984 * RLIMIT_CPU) nothing to check. Also skip the process wide timer
1013 soft = task_rlimit(tsk, RLIMIT_CPU);
1015 /* RLIMIT_CPU is in seconds. Samples are nanoseconds */
1016 unsigned long hard = task_rlimit_max(tsk, RLIMIT_CPU);
1028 sig->rlim[RLIMIT_CPU].rlim_cur = soft + 1;
1458 * Set one of the process-wide special case CPU timers or RLIMIT_CPU.
1493 * expiry cache is also used by RLIMIT_CPU!.
/linux-master/kernel/
H A Dsys.c1496 * RLIMIT_CPU handling. Arm the posix CPU timer if the limit is not
1500 if (!retval && new_rlim && resource == RLIMIT_CPU &&
H A Dfork.c1847 cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur);
/linux-master/fs/proc/
H A Dbase.c578 [RLIMIT_CPU] = {"Max cpu time", "seconds"},
/linux-master/security/selinux/
H A Dhooks.c2509 update_rlimit_cpu(current, rlimit(RLIMIT_CPU));

Completed in 1004 milliseconds