resource.h 339 B

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