summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_test
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-10-21 11:11:07 +0000
committerrwatson <rwatson@FreeBSD.org>2007-10-21 11:11:07 +0000
commit9916bac0308523d049a0f85df5fca330c02aec48 (patch)
tree0440331426a8de72c1499cbaddb7eda7d02e6687 /sys/security/mac_test
parent533fe0fffb484de88cfd95a79295ac957ed26828 (diff)
downloadFreeBSD-src-9916bac0308523d049a0f85df5fca330c02aec48.zip
FreeBSD-src-9916bac0308523d049a0f85df5fca330c02aec48.tar.gz
Canonicalize naming of local variables for struct ksem and associated
labels to 'ks' and 'kslabel' to reflect the convention in posix_sem.c. MFC after: 3 days Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac_test')
-rw-r--r--sys/security/mac_test/mac_test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c
index 14b67b6..4947cdc 100644
--- a/sys/security/mac_test/mac_test.c
+++ b/sys/security/mac_test/mac_test.c
@@ -765,12 +765,12 @@ mac_test_create_pipe(struct ucred *cred, struct pipepair *pp,
COUNTER_DECL(create_posix_sem);
static void
-mac_test_create_posix_sem(struct ucred *cred, struct ksem *ksem,
- struct label *posixlabel)
+mac_test_create_posix_sem(struct ucred *cred, struct ksem *ks,
+ struct label *kslabel)
{
LABEL_CHECK(cred->cr_label, MAGIC_CRED);
- LABEL_CHECK(posixlabel, MAGIC_POSIX_SEM);
+ LABEL_CHECK(kslabel, MAGIC_POSIX_SEM);
COUNTER_INC(create_posix_sem);
}
@@ -1610,12 +1610,12 @@ mac_test_check_pipe_write(struct ucred *cred, struct pipepair *pp,
COUNTER_DECL(check_posix_sem);
static int
-mac_test_check_posix_sem(struct ucred *cred, struct ksem *ksemptr,
- struct label *ks_label)
+mac_test_check_posix_sem(struct ucred *cred, struct ksem *ks,
+ struct label *kslabel)
{
LABEL_CHECK(cred->cr_label, MAGIC_CRED);
- LABEL_CHECK(ks_label, MAGIC_POSIX_SEM);
+ LABEL_CHECK(kslabel, MAGIC_POSIX_SEM);
COUNTER_INC(check_posix_sem);
return (0);
OpenPOWER on IntegriCloud