39c39
< * $FreeBSD: head/sys/security/mac/mac_pipe.c 106217 2002-10-30 18:48:51Z rwatson $
---
> * $FreeBSD: head/sys/security/mac/mac_pipe.c 106308 2002-11-01 20:46:53Z rwatson $
2172a2173,2224
> mac_check_kenv_dump(struct ucred *cred)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_dump, cred);
>
> return (error);
> }
>
> int
> mac_check_kenv_get(struct ucred *cred, char *name)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_get, cred, name);
>
> return (error);
> }
>
> int
> mac_check_kenv_set(struct ucred *cred, char *name, char *value)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_set, cred, name, value);
>
> return (error);
> }
>
> int
> mac_check_kenv_unset(struct ucred *cred, char *name)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_unset, cred, name);
>
> return (error);
> }
>
> int
< * $FreeBSD: head/sys/security/mac/mac_pipe.c 106217 2002-10-30 18:48:51Z rwatson $
---
> * $FreeBSD: head/sys/security/mac/mac_pipe.c 106308 2002-11-01 20:46:53Z rwatson $
2172a2173,2224
> mac_check_kenv_dump(struct ucred *cred)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_dump, cred);
>
> return (error);
> }
>
> int
> mac_check_kenv_get(struct ucred *cred, char *name)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_get, cred, name);
>
> return (error);
> }
>
> int
> mac_check_kenv_set(struct ucred *cred, char *name, char *value)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_set, cred, name, value);
>
> return (error);
> }
>
> int
> mac_check_kenv_unset(struct ucred *cred, char *name)
> {
> int error;
>
> if (!mac_enforce_system)
> return (0);
>
> MAC_CHECK(check_kenv_unset, cred, name);
>
> return (error);
> }
>
> int