1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _LINUX_RESOURCE_H 3 #define _LINUX_RESOURCE_H 4 5 #include <uapi/linux/resource.h> 6 7 8 struct task_struct; 9 10 void getrusage(struct task_struct *p, int who, struct rusage *ru); 11 int do_prlimit(struct task_struct *tsk, unsigned int resource, 12 struct rlimit *new_rlim, struct rlimit *old_rlim); 13 14 #endif 15