Home
last modified time | relevance | path

Searched refs:rlim (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dsys.c1453 struct rlimit *rlim; in do_prlimit() local
1469 rlim = tsk->signal->rlim + resource; in do_prlimit()
1476 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()
1484 *old_rlim = *rlim; in do_prlimit()
1486 *rlim = *new_rlim; in do_prlimit()
1513 SYSCALL_DEFINE2(getrlimit, unsigned int, resource, struct rlimit __user *, rlim) in SYSCALL_DEFINE2() argument
1520 ret = copy_to_user(rlim, &value, sizeof(*rlim)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1528 struct compat_rlimit __user *, rlim) in COMPAT_SYSCALL_DEFINE2()
1533 if (copy_from_user(&r32, rlim, sizeof(struct compat_rlimit))) in COMPAT_SYSCALL_DEFINE2()
1548 struct compat_rlimit __user *, rlim) in COMPAT_SYSCALL_DEFINE2()
[all …]
Dfork.c1026 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()
1027 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
1028 init_task.signal->rlim[RLIMIT_SIGPENDING] = in fork_init()
1029 init_task.signal->rlim[RLIMIT_NPROC]; in fork_init()
1792 cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in posix_cpu_timers_init_group()
1831 memcpy(sig->rlim, current->signal->rlim, sizeof sig->rlim); in copy_signal()
Dacct.c503 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY; in do_acct_process()
544 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = flim; in do_acct_process()
/kernel/time/
Dposix-cpu-timers.c931 tsk->signal->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
1029 sig->rlim[RLIMIT_CPU].rlim_cur = soft + 1; in check_process_timers()