mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
jail: Don't define malloc type M_PRISON_RACCT on !RACCT
Reviewed by: emaste, jamie MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54271
This commit is contained in:
1 file changed
+2
@@ -83,7 +83,9 @@
|
||||
#define PRISON0_HOSTUUID_MODULE "hostuuid"
|
||||
|
||||
MALLOC_DEFINE(M_PRISON, "prison", "Prison structures");
|
||||
#ifdef RACCT
|
||||
static MALLOC_DEFINE(M_PRISON_RACCT, "prison_racct", "Prison racct structures");
|
||||
#endif
|
||||
|
||||
/* Keep struct prison prison0 and some code in kern_jail_set() readable. */
|
||||
#ifdef INET
|
||||
|
||||
Reference in new issue
Block a user