1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_RESOURCE_H
3 #define _LINUX_RESOURCE_H
5 #include <uapi/linux/resource.h>
10 void getrusage(struct task_struct *p, int who, struct rusage *ru);
11 int do_prlimit(struct task_struct *tsk, unsigned int resource,
12 struct rlimit *new_rlim, struct rlimit *old_rlim);