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:
Konstantin Belousov 2024-09-20 18:22:57 +03:00
parent f028f44ef3
commit 9b29fc89ae
2 changed files with 4 additions and 0 deletions

View file

@ -379,6 +379,7 @@ FBSD_1.7 {
};
FBSD_1.8 {
getrlimitusage;
kcmp;
};

View file

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