Userspace enablement for getrlimitusage(2)

(cherry picked from commit 9b29fc89ae20a22516f54e146bfdfa0cfcd60b8b)
This commit is contained in:
Konstantin Belousov 2024-09-20 18:22:57 +03:00
parent 7c41d08320
commit dac3b7e394
2 changed files with 5 additions and 1 deletions

View file

@ -425,7 +425,8 @@ FBSD_1.7 {
};
FBSD_1.8 {
kcmp;
getrlimitusage;
kcmp;
};
FBSDprivate_1.0 {

View file

@ -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 */