Deleted Added
full compact
38c38
< * $FreeBSD: head/sys/security/mac_seeotheruids/mac_seeotheruids.c 172930 2007-10-24 19:04:04Z rwatson $
---
> * $FreeBSD: head/sys/security/mac_seeotheruids/mac_seeotheruids.c 172955 2007-10-25 11:31:11Z rwatson $
64c64
< static int mac_seeotheruids_enabled = 1;
---
> static int seeotheruids_enabled = 1;
66c66
< &mac_seeotheruids_enabled, 0, "Enforce seeotheruids policy");
---
> &seeotheruids_enabled, 0, "Enforce seeotheruids policy");
100c100
< mac_seeotheruids_check(struct ucred *cr1, struct ucred *cr2)
---
> seeotheruids_check(struct ucred *cr1, struct ucred *cr2)
103c103
< if (!mac_seeotheruids_enabled)
---
> if (!seeotheruids_enabled)
129c129
< mac_seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2)
---
> seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2)
132c132
< return (mac_seeotheruids_check(cr1, cr2));
---
> return (seeotheruids_check(cr1, cr2));
136c136
< mac_seeotheruids_proc_check_signal(struct ucred *cred, struct proc *p,
---
> seeotheruids_proc_check_signal(struct ucred *cred, struct proc *p,
140c140
< return (mac_seeotheruids_check(cred, p->p_ucred));
---
> return (seeotheruids_check(cred, p->p_ucred));
144c144
< mac_seeotheruids_proc_check_sched(struct ucred *cred, struct proc *p)
---
> seeotheruids_proc_check_sched(struct ucred *cred, struct proc *p)
147c147
< return (mac_seeotheruids_check(cred, p->p_ucred));
---
> return (seeotheruids_check(cred, p->p_ucred));
151c151
< mac_seeotheruids_proc_check_debug(struct ucred *cred, struct proc *p)
---
> seeotheruids_proc_check_debug(struct ucred *cred, struct proc *p)
154c154
< return (mac_seeotheruids_check(cred, p->p_ucred));
---
> return (seeotheruids_check(cred, p->p_ucred));
158c158
< mac_seeotheruids_socket_check_visible(struct ucred *cred, struct socket *so,
---
> seeotheruids_socket_check_visible(struct ucred *cred, struct socket *so,
162c162
< return (mac_seeotheruids_check(cred, so->so_cred));
---
> return (seeotheruids_check(cred, so->so_cred));
165c165
< static struct mac_policy_ops mac_seeotheruids_ops =
---
> static struct mac_policy_ops seeotheruids_ops =
167,171c167,171
< .mpo_cred_check_visible = mac_seeotheruids_cred_check_visible,
< .mpo_proc_check_debug = mac_seeotheruids_proc_check_debug,
< .mpo_proc_check_sched = mac_seeotheruids_proc_check_sched,
< .mpo_proc_check_signal = mac_seeotheruids_proc_check_signal,
< .mpo_socket_check_visible = mac_seeotheruids_socket_check_visible,
---
> .mpo_cred_check_visible = seeotheruids_cred_check_visible,
> .mpo_proc_check_debug = seeotheruids_proc_check_debug,
> .mpo_proc_check_sched = seeotheruids_proc_check_sched,
> .mpo_proc_check_signal = seeotheruids_proc_check_signal,
> .mpo_socket_check_visible = seeotheruids_socket_check_visible,
174c174
< MAC_POLICY_SET(&mac_seeotheruids_ops, mac_seeotheruids,
---
> MAC_POLICY_SET(&seeotheruids_ops, mac_seeotheruids,