Searched refs:rlim_init (Results 1 – 1 of 1) sorted by relevance
100 struct rlimit rlim_init, rlim_cur_zero = {}; in known_to_need_rlimit() local115 if (getrlimit(RLIMIT_MEMLOCK, &rlim_init)) in known_to_need_rlimit()122 rlim_cur_zero.rlim_max = rlim_init.rlim_max; in known_to_need_rlimit()133 setrlimit(RLIMIT_MEMLOCK, &rlim_init); in known_to_need_rlimit()