Searched refs:rlim (Results 1 – 6 of 6) sorted by relevance
/fs/ |
D | binfmt_aout.c | 123 unsigned long rlim; in load_aout_binary() local 147 rlim = rlimit(RLIMIT_DATA); in load_aout_binary() 148 if (rlim >= RLIM_INFINITY) in load_aout_binary() 149 rlim = ~0; in load_aout_binary() 150 if (ex.a_data + ex.a_bss > rlim) in load_aout_binary()
|
D | binfmt_flat.c | 460 unsigned long len, memp, memp_size, extra, rlim; in load_flat_file() local 556 rlim = rlimit(RLIMIT_DATA); in load_flat_file() 557 if (rlim >= RLIM_INFINITY) in load_flat_file() 558 rlim = ~0; in load_flat_file() 559 if (data_len + bss_len > rlim) { in load_flat_file()
|
D | exec.c | 377 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init() 1450 current->signal->rlim[RLIMIT_STACK] = bprm->rlim_stack; in finalize_exec()
|
D | coredump.c | 573 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
|
/fs/proc/ |
D | base.c | 602 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits() local 606 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits() 618 if (rlim[i].rlim_cur == RLIM_INFINITY) in proc_pid_limits() 623 lnames[i].name, rlim[i].rlim_cur); in proc_pid_limits() 625 if (rlim[i].rlim_max == RLIM_INFINITY) in proc_pid_limits() 628 seq_printf(m, "%-20lu ", rlim[i].rlim_max); in proc_pid_limits()
|
D | array.c | 500 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()
|