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.c431 unsigned long len, memp, memp_size, extra, rlim; in load_flat_file() local
527 rlim = rlimit(RLIMIT_DATA); in load_flat_file()
528 if (rlim >= RLIM_INFINITY) in load_flat_file()
529 rlim = ~0; in load_flat_file()
530 if (data_len + bss_len > rlim) { in load_flat_file()
Dcoredump.c560 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
Dexec.c371 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()
1396 current->signal->rlim[RLIMIT_STACK] = bprm->rlim_stack; in finalize_exec()
/fs/proc/
Dbase.c591 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits() local
595 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()
607 if (rlim[i].rlim_cur == RLIM_INFINITY) in proc_pid_limits()
612 lnames[i].name, rlim[i].rlim_cur); in proc_pid_limits()
614 if (rlim[i].rlim_max == RLIM_INFINITY) in proc_pid_limits()
617 seq_printf(m, "%-20lu ", rlim[i].rlim_max); in proc_pid_limits()
Darray.c497 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()