diff options
author | phk <phk@FreeBSD.org> | 2002-09-05 20:38:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-05 20:38:57 +0000 |
commit | 55be95d1615c2305ac667d206ff3231fca09b5d8 (patch) | |
tree | 61f3e8f641200c248577bf99f355a59977009af4 /sys/sys/extattr.h | |
parent | b0ff5bb69d99fd3750297c3f567c1a5cd50782e7 (diff) | |
download | FreeBSD-src-55be95d1615c2305ac667d206ff3231fca09b5d8.zip FreeBSD-src-55be95d1615c2305ac667d206ff3231fca09b5d8.tar.gz |
Introduce new extattr_check_cred() function which implements the canonical
crential washing for extended attributes.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/sys/extattr.h')
-rw-r--r-- | sys/sys/extattr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h index 2bc7d0a..217607e 100644 --- a/sys/sys/extattr.h +++ b/sys/sys/extattr.h @@ -43,6 +43,11 @@ #ifdef _KERNEL #define EXTATTR_MAXNAMELEN NAME_MAX +struct thread; +struct ucred; +struct vnode; +int extattr_check_cred(struct vnode *vp, int attrnamespace, + struct ucred *cred, struct thread *td, int access); #else #include <sys/cdefs.h> |