Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 323111

Summary: GFS1: security_eo_get() uses permission() when it should use security_inode_getxattr()
Product: Red Hat Enterprise Linux 5 Reporter: Steve Whitehouse <swhiteho>
Component: gfs-kmodAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: GFS Bugs <gfs-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: dwalsh, mnielsen, rkenna, rohara, rpeterso
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0348 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:37:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 307431    
Bug Blocks:    

Comment 1 Robert Peterson 2007-10-10 14:29:35 UTC
Reassigning to Ryan Ohara because he now has bug #307431 and this is
really the same issue.


Comment 2 Ryan O'Hara 2007-12-04 19:33:08 UTC
Fixed.

Removed calls to permission() from xattr ops. The permission() checks are
handled in the VFS layer, so there is no need for gfs to repeat this step.

Also note that checking permission() is incorrect for SELinux xattrs. The
correct permission check is done via the security_inode_getxattr(), etc. calls,
which are also done in the VFS layer.

Comment 3 Nate Straz 2007-12-19 20:03:47 UTC
Planning on removing GFS-kernel.  Moving all bugs to gfs-kmod.

Comment 6 errata-xmlrpc 2008-05-21 15:37:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0348.html