mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Userspace enablement for getrlimitusage(2)
(cherry picked from commit 9b29fc89ae20a22516f54e146bfdfa0cfcd60b8b)
This commit is contained in:
parent
7c41d08320
commit
dac3b7e394
2 changed files with 5 additions and 1 deletions
|
|
@ -425,7 +425,8 @@ FBSD_1.7 {
|
|||
};
|
||||
|
||||
FBSD_1.8 {
|
||||
kcmp;
|
||||
getrlimitusage;
|
||||
kcmp;
|
||||
};
|
||||
|
||||
FBSDprivate_1.0 {
|
||||
|
|
|
|||
|
|
@ -192,6 +192,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