blob: 5bc3116e649c80139fd34b591eea010b264dd5cd [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_RESOURCE_H
2#define _LINUX_RESOURCE_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/resource.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Jiri Slaby96d07d22009-11-20 14:16:33 +01006
7struct task_struct;
8
Adrian Bunk83cc5ed2006-06-25 05:47:41 -07009int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
Jiri Slaby5b415352010-03-24 16:11:29 +010010int do_prlimit(struct task_struct *tsk, unsigned int resource,
11 struct rlimit *new_rlim, struct rlimit *old_rlim);
Adrian Bunk83cc5ed2006-06-25 05:47:41 -070012
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif