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
@ -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…
x
Reference in New Issue
Block a user