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 | 431 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()
|
D | coredump.c | 560 current->signal->rlim[RLIMIT_CORE] = (struct rlimit){1, 1}; in umh_pipe_setup()
|
D | exec.c | 371 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/ |
D | base.c | 591 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()
|
D | array.c | 497 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()
|