2024-09-09 08:52:07 +00:00
|
|
|
#ifndef _LINUX_RESOURCE_H
|
|
|
|
#define _LINUX_RESOURCE_H
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <uapi/linux/resource.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
struct task_struct;
|
|
|
|
|
|
|
|
int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
|
|
|
|
int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
|
|
|
struct rlimit *new_rlim, struct rlimit *old_rlim);
|
|
|
|
|
|
|
|
#endif
|