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