mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Userspace enablement for getrlimitusage(2)
Reviewed by: markj, olce Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46747
This commit is contained in:
parent
f028f44ef3
commit
9b29fc89ae
2 changed files with 4 additions and 0 deletions
|
|
@ -379,6 +379,7 @@ FBSD_1.7 {
|
|||
};
|
||||
|
||||
FBSD_1.8 {
|
||||
getrlimitusage;
|
||||
kcmp;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -190,6 +190,9 @@ int getrlimit(int, struct rlimit *);
|
|||
int getrusage(int, struct rusage *);
|
||||
int setpriority(int, int, int);
|
||||
int setrlimit(int, const struct rlimit *);
|
||||
#if __BSD_VISIBLE
|
||||
int getrlimitusage(unsigned which, int flags, rlim_t *res);
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue