summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-06-13 22:14:15 +0000
committerrwatson <rwatson@FreeBSD.org>2008-06-13 22:14:15 +0000
commitf07c38e84aa87001718dc3e4625bc30c9af3be89 (patch)
tree73b558170fb5c7801f3fea0db4e1007d0362a79d /sys/security/mac/mac_framework.h
parent0dd1763fd61cb2c8ebe8fb606c1b6ee159ffd6e3 (diff)
downloadFreeBSD-src-f07c38e84aa87001718dc3e4625bc30c9af3be89.zip
FreeBSD-src-f07c38e84aa87001718dc3e4625bc30c9af3be89.tar.gz
The TrustedBSD MAC Framework named struct ipq instances 'ipq', which is the
same as the global variable defined in ip_input.c. Instead, adopt the name 'q' as found in about 1/2 of uses in ip_input.c, preventing a collision on the name. This is non-harmful, but means that search and replace on the global works less well (as in the virtualization work), as well as indexing tools. MFC after: 1 week Reported by: julian
Diffstat (limited to 'sys/security/mac/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index fa574e9..9b02e4f 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -137,12 +137,12 @@ void mac_inpcb_destroy(struct inpcb *);
int mac_inpcb_init(struct inpcb *, int);
void mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp);
-void mac_ipq_create(struct mbuf *m, struct ipq *ipq);
-void mac_ipq_destroy(struct ipq *);
-int mac_ipq_init(struct ipq *, int);
-int mac_ipq_match(struct mbuf *m, struct ipq *ipq);
-void mac_ipq_reassemble(struct ipq *ipq, struct mbuf *m);
-void mac_ipq_update(struct mbuf *m, struct ipq *ipq);
+void mac_ipq_create(struct mbuf *m, struct ipq *q);
+void mac_ipq_destroy(struct ipq *q);
+int mac_ipq_init(struct ipq *q, int);
+int mac_ipq_match(struct mbuf *m, struct ipq *q);
+void mac_ipq_reassemble(struct ipq *q, struct mbuf *m);
+void mac_ipq_update(struct mbuf *m, struct ipq *q);
int mac_kenv_check_dump(struct ucred *cred);
int mac_kenv_check_get(struct ucred *cred, char *name);
OpenPOWER on IntegriCloud