From owner-p4-projects Sat Jul 20 13: 8:30 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E97FC37B401; Sat, 20 Jul 2002 13:08:14 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D22837B400 for ; Sat, 20 Jul 2002 13:08:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F287943E5E for ; Sat, 20 Jul 2002 13:08:13 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6KK8DJU006189 for ; Sat, 20 Jul 2002 13:08:13 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6KK8D30006186 for perforce@freebsd.org; Sat, 20 Jul 2002 13:08:13 -0700 (PDT) Date: Sat, 20 Jul 2002 13:08:13 -0700 (PDT) Message-Id: <200207202008.g6KK8D30006186@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 14546 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14546 Change 14546 by rwatson@rwatson_curry on 2002/07/20 13:08:09 mac_bsdextended apparently missed the move to 'struct label' from 'struct mac', but since it's an unlabeled policy, it didn't make a difference. Fix. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#35 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#35 (text+ko) ==== @@ -290,7 +290,7 @@ static int mac_bsdextended_cred_check_access_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label, mode_t flags) + struct label *label, mode_t flags) { struct vattr vap; int error; @@ -306,7 +306,7 @@ static int mac_bsdextended_cred_check_chdir_vnode(struct ucred *cred, struct vnode *dvp, - struct mac *dlabel) + struct label *dlabel) { struct vattr vap; int error; @@ -322,7 +322,7 @@ static int mac_bsdextended_cred_check_chroot_vnode(struct ucred *cred, struct vnode *dvp, - struct mac *dlabel) + struct label *dlabel) { struct vattr vap; int error; @@ -338,7 +338,7 @@ static int mac_bsdextended_cred_check_create_vnode(struct ucred *cred, struct vnode *dvp, - struct mac *dlabel, struct vattr *vap) + struct label *dlabel, struct vattr *vap) { struct vattr dvap; int error; @@ -354,7 +354,7 @@ static int mac_bsdextended_cred_check_delete_vnode(struct ucred *cred, struct vnode *dvp, - struct mac *dlabel, struct vnode *vp, struct mac *label) + struct label *dlabel, struct vnode *vp, struct label *label) { struct vattr vap; int error; @@ -393,7 +393,7 @@ static int mac_bsdextended_cred_check_exec_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label) + struct label *label) { struct vattr vap; int error; @@ -426,7 +426,7 @@ static int mac_bsdextended_cred_check_getextattr_vnode(struct ucred *cred, - struct vnode *vp, struct mac *label, int attrnamespace, + struct vnode *vp, struct label *label, int attrnamespace, const char *name, struct uio *uio) { struct vattr vap; @@ -443,7 +443,7 @@ static int mac_bsdextended_cred_check_open_vnode(struct ucred *cred, struct vnode *vp, - struct mac *filelabel, mode_t acc_mode) + struct label *filelabel, mode_t acc_mode) { struct vattr vap; int error; @@ -491,7 +491,7 @@ static int mac_bsdextended_cred_check_rename_from_vnode(struct ucred *cred, - struct vnode *dvp, struct mac *dlabel, struct vnode *vp, struct mac *label) + struct vnode *dvp, struct label *dlabel, struct vnode *vp, struct label *label) { struct vattr vap; int error; @@ -515,7 +515,7 @@ static int mac_bsdextended_cred_check_rename_to_vnode(struct ucred *cred, - struct vnode *dvp, struct mac *dlabel, struct vnode *vp, struct mac *label, + struct vnode *dvp, struct label *dlabel, struct vnode *vp, struct label *label, int samedir) { struct vattr vap; @@ -544,7 +544,7 @@ static int mac_bsdextended_cred_check_revoke_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label) + struct label *label) { struct vattr vap; int error; @@ -560,7 +560,7 @@ static int mac_bsdextended_cred_check_search_vnode(struct ucred *cred, struct vnode *dvp, - struct mac *dlabel) + struct label *dlabel) { struct vattr vap; int error; @@ -592,7 +592,7 @@ static int mac_bsdextended_cred_check_setextattr_vnode(struct ucred *cred, - struct vnode *vp, struct mac *label, int attrnamespace, const char *name, + struct vnode *vp, struct label *label, int attrnamespace, const char *name, struct uio *uio) { struct vattr vap; @@ -609,7 +609,7 @@ static int mac_bsdextended_cred_check_setflags_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label, u_long flags) + struct label *label, u_long flags) { struct vattr vap; int error; @@ -625,7 +625,7 @@ static int mac_bsdextended_cred_check_setmode_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label, mode_t mode) + struct label *label, mode_t mode) { struct vattr vap; int error; @@ -641,7 +641,7 @@ static int mac_bsdextended_cred_check_setowner_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label, uid_t uid, gid_t gid) + struct label *label, uid_t uid, gid_t gid) { struct vattr vap; int error; @@ -657,7 +657,7 @@ static int mac_bsdextended_cred_check_setutimes_vnode(struct ucred *cred, - struct vnode *vp, struct mac *label, struct timespec atime, + struct vnode *vp, struct label *label, struct timespec atime, struct timespec utime) { struct vattr vap; @@ -674,7 +674,7 @@ static int mac_bsdextended_cred_check_stat_vnode(struct ucred *cred, struct vnode *vp, - struct mac *label) + struct label *label) { struct vattr vap; int error; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message