summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_policy.h
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/mac_policy.h
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/mac_policy.h')
-rw-r--r--sys/security/mac/mac_policy.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index dfcb987..c16fbb5 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -273,7 +273,7 @@ typedef void (*mpo_create_sysv_shm_t)(struct ucred *cred,
* Labeling event operations: POSIX (global/inter-process) semaphores.
*/
typedef void (*mpo_create_posix_sem_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
/*
* Labeling event operations: network objects.
@@ -434,17 +434,17 @@ typedef int (*mpo_check_pipe_stat_t)(struct ucred *cred,
typedef int (*mpo_check_pipe_write_t)(struct ucred *cred,
struct pipepair *pp, struct label *pplabel);
typedef int (*mpo_check_posix_sem_destroy_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_posix_sem_getvalue_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_posix_sem_open_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_posix_sem_post_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_posix_sem_unlink_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_posix_sem_wait_t)(struct ucred *cred,
- struct ksem *ksemptr, struct label *ks_label);
+ struct ksem *ks, struct label *kslabel);
typedef int (*mpo_check_proc_debug_t)(struct ucred *cred,
struct proc *p);
typedef int (*mpo_check_proc_sched_t)(struct ucred *cred,
OpenPOWER on IntegriCloud