Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 131177 - filesystem attribute values should be printed
filesystem attribute values should be printed
Product: Fedora
Classification: Fedora
Component: strace (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-08-28 05:05 EDT by Ulrich Drepper
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 4.5.7-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-01 02:58:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to print the attribute values (2.24 KB, patch)
2004-08-28 05:06 EDT, Ulrich Drepper
no flags Details | Diff
Fixed little problem with the patch. (2.32 KB, patch)
2004-08-28 05:16 EDT, Ulrich Drepper
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:131 normal SHIPPED_LIVE strace bug fix update 2005-05-19 00:00:00 EDT

  None (edit)
Description Ulrich Drepper 2004-08-28 05:05:35 EDT
Description of problem:
The values used in the filesystem attribute syscalls (setxattr,
getxattr) should be printed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. on a FC3 system with selinux filesystem attributes run
   strace -e lgetxattr ls -Z /
Actual results:
lgetxattr("/lost+found", "security.selinux", 0x95600e0, 255) = 31

Expected results:
lgetxattr("/lost+found", "security.selinux",
"system_u:object_r:lost_found_t", 31) = 31

Additional info:
I'll attach a patch.
Comment 1 Ulrich Drepper 2004-08-28 05:06:18 EDT
Created attachment 103199 [details]
Patch to print the attribute values
Comment 2 Ulrich Drepper 2004-08-28 05:16:26 EDT
Created attachment 103200 [details]
Fixed little problem with the patch.
Comment 3 Roland McGrath 2004-08-31 02:29:27 EDT
Patch in upstream.
Comment 4 Tim Powers 2005-05-19 17:09:58 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.