Home
last modified time | relevance | path

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

/fs/
Dbinfmt_aout.c123 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()
Dbinfmt_flat.c460 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()
Dexec.c377 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()
1450 current->signal->rlim[RLIMIT_STACK] = bprm->rlim_stack; in finalize_exec()
Dcoredump.c573 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
/fs/proc/
Dbase.c602 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()
Darray.c500 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()