diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-11 14:15:58 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-11 14:15:58 +0000 |
commit | 01cba722c48a09af17b557b4efe13bd55127f027 (patch) | |
tree | 29c1ab8e49d6368e5e11185e9e46d62195d08bd4 /sys | |
parent | 1404d98db654d9c46b5da97420f38c76bb422fc7 (diff) | |
download | FreeBSD-src-01cba722c48a09af17b557b4efe13bd55127f027.zip FreeBSD-src-01cba722c48a09af17b557b4efe13bd55127f027.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_mac.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_framework.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_internal.h | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_net.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_pipe.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_process.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_syscalls.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_system.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_vfs.c | 2 |
9 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/kern_mac.c b/sys/kern/kern_mac.c index 69fa5ad..e5fb6ef 100644 --- a/sys/kern/kern_mac.c +++ b/sys/kern/kern_mac.c @@ -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"); diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_framework.c +++ b/sys/security/mac/mac_framework.c @@ -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"); diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_internal.h +++ b/sys/security/mac/mac_internal.h @@ -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"); diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -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"); diff --git a/sys/security/mac/mac_pipe.c b/sys/security/mac/mac_pipe.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_pipe.c +++ b/sys/security/mac/mac_pipe.c @@ -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"); diff --git a/sys/security/mac/mac_process.c b/sys/security/mac/mac_process.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_process.c +++ b/sys/security/mac/mac_process.c @@ -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"); diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -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"); diff --git a/sys/security/mac/mac_system.c b/sys/security/mac/mac_system.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_system.c +++ b/sys/security/mac/mac_system.c @@ -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"); diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c index 69fa5ad..e5fb6ef 100644 --- a/sys/security/mac/mac_vfs.c +++ b/sys/security/mac/mac_vfs.c @@ -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"); |