mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Garbage collect definition of M_MACOPVEC -- we no longer perform a
dynamic mapping of an operation vector into an operation structure, rather, we rely on C99 sparse structure initialization. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
f64e99baa2
commit
2d43d24ed4
9 changed files with 0 additions and 18 deletions
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,6 @@ static void mac_destroy_socket_label(struct label *label);
|
|||
static int mac_setlabel_vnode_extattr(struct ucred *cred,
|
||||
struct vnode *vp, struct label *intlabel);
|
||||
|
||||
|
||||
MALLOC_DEFINE(M_MACOPVEC, "macopvec", "MAC policy operation vector");
|
||||
MALLOC_DEFINE(M_MACPIPELABEL, "macpipelabel", "MAC labels for pipes");
|
||||
MALLOC_DEFINE(M_MACTEMP, "mactemp", "MAC temporary label storage");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue