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