1 /* SPDX-License-Identifier: LGPL-2.1 */ 1 /* SPDX-License-Identifier: LGPL-2.1 */ 2 #ifndef __PERF_RLIMIT_H_ 2 #ifndef __PERF_RLIMIT_H_ 3 #define __PERF_RLIMIT_H_ 3 #define __PERF_RLIMIT_H_ 4 4 5 enum rlimit_action { 5 enum rlimit_action { 6 NO_CHANGE, 6 NO_CHANGE, 7 SET_TO_MAX, 7 SET_TO_MAX, 8 INCREASED_MAX 8 INCREASED_MAX 9 }; 9 }; 10 10 11 void rlimit__bump_memlock(void); 11 void rlimit__bump_memlock(void); 12 12 13 bool rlimit__increase_nofile(enum rlimit_actio 13 bool rlimit__increase_nofile(enum rlimit_action *set_rlimit); 14 14 15 #endif // __PERF_RLIMIT_H_ 15 #endif // __PERF_RLIMIT_H_ 16 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.