Date: Tue, 16 Apr 2002 12:23:16 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 9843 for review Message-ID: <200204161923.g3GJNGH20203@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9843 Change 9843 by green@green_laptop_2 on 2002/04/16 12:23:00 Change more suser_xxx()s into suser_cred()s. Affected files ... ... //depot/projects/trustedbsd/mac/sys/ufs/ufs/ufs_extattr.c#13 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/ufs/ufs/ufs_extattr.c#13 (text+ko) ==== @@ -736,7 +736,7 @@ return (error); if (attrnamespace == 0 || attrnamespace == EXTATTR_NAMESPACE_SYSTEM) { - error = suser_xxx(td->td_ucred, td->td_proc, 0); + error = suser_cred(td->td_ucred, 0); if (error) return (error); } @@ -799,7 +799,7 @@ VOP_UNLOCK(filename_vp, 0, td); return (EINVAL); } - if ((error = suser_xxx(td->td_ucred, td->td_proc, 0))) + if ((error = suser_cred(td->td_ucred, 0))) return (error); if (attrname != NULL) return (EINVAL); @@ -813,7 +813,7 @@ VOP_UNLOCK(filename_vp, 0, td); return (EINVAL); } - if ((error = suser_xxx(td->td_ucred, td->td_proc, 0))) + if ((error = suser_cred(td->td_ucred, 0))) return (error); if (attrname != NULL) return (EINVAL); @@ -830,7 +830,7 @@ VOP_UNLOCK(filename_vp, 0, td); return (EINVAL); } - if ((error = suser_xxx(td->td_ucred, td->td_proc, 0))) + if ((error = suser_cred(td->td_ucred, 0))) return (error); /* @@ -851,7 +851,7 @@ VOP_UNLOCK(filename_vp, 0, td); return (EINVAL); } - if ((error = suser_xxx(td->td_ucred, td->td_proc, 0))) + if ((error = suser_cred(td->td_ucred, 0))) return (error); if (attrname == NULL) return (EINVAL); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204161923.g3GJNGH20203>