diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-25 12:34:14 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-25 12:34:14 +0000 |
commit | 8756317538371eb8709335e44bced5be817fbeec (patch) | |
tree | 09ab2e34d1c0854e04e44916dd25df475c7a1a35 /sys/security/mac/mac_framework.h | |
parent | 2fd98af619b989e0cb105bb5b81e41d895fd8e20 (diff) | |
download | FreeBSD-src-8756317538371eb8709335e44bced5be817fbeec.zip FreeBSD-src-8756317538371eb8709335e44bced5be817fbeec.tar.gz |
Rename mac_associate_nfsd_label() to mac_proc_associate_nfsd(), and move
from mac_vfs.c to mac_process.c to join other functions that setup up
process labels for specific purposes. Unlike the two proc create calls,
this call is intended to run after creation when a process registers as
the NFS daemon, so remains an _associate_ call..
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac/mac_framework.h')
-rw-r--r-- | sys/security/mac/mac_framework.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index 44ee79f..098d503 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -224,6 +224,7 @@ int mac_vnode_execve_will_transition(struct ucred *cred, struct image_params *imgp); void mac_proc_create_swapper(struct ucred *cred); void mac_proc_create_init(struct ucred *cred); +void mac_proc_associate_nfsd(struct ucred *cred); void mac_thread_userret(struct thread *td); /* @@ -414,7 +415,6 @@ int mac_setsockopt_label(struct ucred *cred, struct socket *so, int mac_pipe_label_set(struct ucred *cred, struct pipepair *pp, struct label *label); void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred); -void mac_associate_nfsd_label(struct ucred *cred); int mac_priv_check(struct ucred *cred, int priv); int mac_priv_grant(struct ucred *cred, int priv); |