diff options
author | Barret Rhoden <brho@google.com> | 2022-01-06 20:20:40 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-03-08 23:33:36 +0300 |
commit | c57bef0287dd5deeabaea5727950559fb9037cd9 (patch) | |
tree | 8401f64ace8e167a54eb48647627a220eb0a1c28 /include/linux/resource.h | |
parent | ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2 (diff) | |
download | linux-c57bef0287dd5deeabaea5727950559fb9037cd9.tar.xz |
prlimit: make do_prlimit() static
There are no other callers in the kernel.
Fixed up a comment format and whitespace issue when moving do_prlimit()
higher in sys.c.
Signed-off-by: Barret Rhoden <brho@google.com>
Link: https://lkml.kernel.org/r/20220106172041.522167-3-brho@google.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/resource.h')
-rw-r--r-- | include/linux/resource.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/resource.h b/include/linux/resource.h index bdf491cbcab7..4fdbc0c3f315 100644 --- a/include/linux/resource.h +++ b/include/linux/resource.h @@ -8,7 +8,5 @@ struct task_struct; void getrusage(struct task_struct *p, int who, struct rusage *ru); -int do_prlimit(struct task_struct *tsk, unsigned int resource, - struct rlimit *new_rlim, struct rlimit *old_rlim); #endif |