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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user