diff options
| author | Brian Feldman <green@FreeBSD.org> | 2004-08-02 00:18:36 +0000 |
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 2004-08-02 00:18:36 +0000 |
| commit | b23f72e98ae8164c07be4b3780a0b83e094844cf (patch) | |
| tree | ff53102435294d83e0ddcbd011824aa65f84e3c8 /sys/security | |
| parent | 154b8df2ed89bc6ff54310ee54cd720670405ba7 (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/mac/mac_label.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/security/mac/mac_label.c b/sys/security/mac/mac_label.c index eedc1dfaa3d9e..19bd5b06e3621 100644 --- a/sys/security/mac/mac_label.c +++ b/sys/security/mac/mac_label.c @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); uma_zone_t zone_label; -static void mac_labelzone_ctor(void *mem, int size, void *arg); +static int mac_labelzone_ctor(void *mem, int size, void *arg, int flags); static void mac_labelzone_dtor(void *mem, int size, void *arg); void @@ -57,8 +57,8 @@ mac_labelzone_init(void) UMA_ALIGN_PTR, 0); } -static void -mac_labelzone_ctor(void *mem, int size, void *arg) +static int +mac_labelzone_ctor(void *mem, int size, void *arg, int flags) { struct label *label; @@ -66,6 +66,7 @@ mac_labelzone_ctor(void *mem, int size, void *arg) label = mem; bzero(label, sizeof(*label)); label->l_flags = MAC_FLAG_INITIALIZED; + return (0); } static void |
