2005-04-17 00:20:36 +02:00
|
|
|
#ifndef _LINUX_RESOURCE_H
|
|
|
|
#define _LINUX_RESOURCE_H
|
|
|
|
|
2012-10-13 11:46:48 +02:00
|
|
|
#include <uapi/linux/resource.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
|
2009-11-20 14:16:33 +01:00
|
|
|
|
|
|
|
struct task_struct;
|
|
|
|
|
2006-06-25 14:47:41 +02:00
|
|
|
int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
|
2010-03-24 16:11:29 +01:00
|
|
|
int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
|
|
|
struct rlimit *new_rlim, struct rlimit *old_rlim);
|
2006-06-25 14:47:41 +02:00
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif
|