2017-08-10 13:25:24 +00:00
|
|
|
#ifndef _LINUX_RESOURCE_H
|
|
|
|
#define _LINUX_RESOURCE_H
|
|
|
|
|
|
|
|
#include <uapi/linux/resource.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct task_struct;
|
|
|
|
|
2017-09-05 02:31:27 +00:00
|
|
|
void getrusage(struct task_struct *p, int who, struct rusage *ru);
|
2017-08-10 13:25:24 +00:00
|
|
|
int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
|
|
|
struct rlimit *new_rlim, struct rlimit *old_rlim);
|
|
|
|
|
|
|
|
#endif
|