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