summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_bsdextended/ugidfw_internal.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-03-08 12:32:06 +0000
committerrwatson <rwatson@FreeBSD.org>2009-03-08 12:32:06 +0000
commitae492d67e0dd5fb22c60f8cf49aacd71cced02ec (patch)
tree5ad716ce37201626c4c55f560a037b7d2379e625 /sys/security/mac_bsdextended/ugidfw_internal.h
parentb6bad806514e2e92c0c1e3b7ce10c132ef10f499 (diff)
downloadFreeBSD-src-ae492d67e0dd5fb22c60f8cf49aacd71cced02ec.zip
FreeBSD-src-ae492d67e0dd5fb22c60f8cf49aacd71cced02ec.tar.gz
Remove 'uio' argument from MAC Framework and MAC policy entry points for
extended attribute get/set; in the case of get an uninitialized user buffer was passed before the EA was retrieved, making it of relatively little use; the latter was simply unused by any policies. Obtained from: TrustedBSD Project Sponsored by: Google, Inc.
Diffstat (limited to 'sys/security/mac_bsdextended/ugidfw_internal.h')
-rw-r--r--sys/security/mac_bsdextended/ugidfw_internal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/security/mac_bsdextended/ugidfw_internal.h b/sys/security/mac_bsdextended/ugidfw_internal.h
index c53326d..5597fd1 100644
--- a/sys/security/mac_bsdextended/ugidfw_internal.h
+++ b/sys/security/mac_bsdextended/ugidfw_internal.h
@@ -72,8 +72,7 @@ int ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp,
int ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp,
struct label *vplabel, acl_type_t type);
int ugidfw_vnode_check_getextattr(struct ucred *cred, struct vnode *vp,
- struct label *vplabel, int attrnamespace, const char *name,
- struct uio *uio);
+ struct label *vplabel, int attrnamespace, const char *name);
int ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp,
struct label *dvplabel, struct vnode *vp, struct label *label,
struct componentname *cnp);
@@ -98,8 +97,7 @@ int ugidfw_vnode_check_revoke(struct ucred *cred, struct vnode *vp,
int ugidfw_check_setacl_vnode(struct ucred *cred, struct vnode *vp,
struct label *vplabel, acl_type_t type, struct acl *acl);
int ugidfw_vnode_check_setextattr(struct ucred *cred, struct vnode *vp,
- struct label *vplabel, int attrnamespace, const char *name,
- struct uio *uio);
+ struct label *vplabel, int attrnamespace, const char *name);
int ugidfw_vnode_check_setflags(struct ucred *cred, struct vnode *vp,
struct label *vplabel, u_long flags);
int ugidfw_vnode_check_setmode(struct ucred *cred, struct vnode *vp,
OpenPOWER on IntegriCloud