summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_posix_sem.c4
-rw-r--r--sys/security/mac/mac_sysv_msg.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/security/mac/mac_posix_sem.c b/sys/security/mac/mac_posix_sem.c
index 5e3941f..ec05587 100644
--- a/sys/security/mac/mac_posix_sem.c
+++ b/sys/security/mac/mac_posix_sem.c
@@ -64,7 +64,7 @@ mac_posix_sem_label_alloc(void)
return (label);
}
-void
+void
mac_init_posix_sem(struct ksem *ksemptr)
{
@@ -86,7 +86,7 @@ mac_destroy_posix_sem(struct ksem *ksemptr)
ksemptr->ks_label = NULL;
}
-void
+void
mac_create_posix_sem(struct ucred *cred, struct ksem *ksemptr)
{
diff --git a/sys/security/mac/mac_sysv_msg.c b/sys/security/mac/mac_sysv_msg.c
index 86ae8a8..8e66281 100644
--- a/sys/security/mac/mac_sysv_msg.c
+++ b/sys/security/mac/mac_sysv_msg.c
@@ -127,18 +127,18 @@ mac_destroy_sysv_msgqueue(struct msqid_kernel *msqkptr)
}
void
-mac_create_sysv_msgmsg(struct ucred *cred, struct msqid_kernel *msqkptr,
+mac_create_sysv_msgmsg(struct ucred *cred, struct msqid_kernel *msqkptr,
struct msg *msgptr)
{
-
- MAC_PERFORM(create_sysv_msgmsg, cred, msqkptr, msqkptr->label,
+
+ MAC_PERFORM(create_sysv_msgmsg, cred, msqkptr, msqkptr->label,
msgptr, msgptr->label);
}
void
mac_create_sysv_msgqueue(struct ucred *cred, struct msqid_kernel *msqkptr)
{
-
+
MAC_PERFORM(create_sysv_msgqueue, cred, msqkptr, msqkptr->label);
}
@@ -152,7 +152,7 @@ mac_cleanup_sysv_msgmsg(struct msg *msgptr)
void
mac_cleanup_sysv_msgqueue(struct msqid_kernel *msqkptr)
{
-
+
MAC_PERFORM(cleanup_sysv_msgqueue, msqkptr->label);
}
OpenPOWER on IntegriCloud