Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_RESOURCE_H |
| 2 | #define _LINUX_RESOURCE_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/resource.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Jiri Slaby | 96d07d2 | 2009-11-20 14:16:33 +0100 | [diff] [blame] | 6 | |
| 7 | struct task_struct; |
| 8 | |
Adrian Bunk | 83cc5ed | 2006-06-25 05:47:41 -0700 | [diff] [blame] | 9 | int getrusage(struct task_struct *p, int who, struct rusage __user *ru); |
Jiri Slaby | 5b41535 | 2010-03-24 16:11:29 +0100 | [diff] [blame] | 10 | int do_prlimit(struct task_struct *tsk, unsigned int resource, |
| 11 | struct rlimit *new_rlim, struct rlimit *old_rlim); |
Adrian Bunk | 83cc5ed | 2006-06-25 05:47:41 -0700 | [diff] [blame] | 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #endif |