Bug 165377 - correct mount(2) deparser
correct mount(2) deparser
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: strace (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
:
Depends On:
Blocks: FC4Update
  Show dependency treegraph
 
Reported: 2005-08-08 14:09 EDT by Dmitry V. Levin
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.5.14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-03 04:36:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
strace-4.5.13-alt-mount.patch (1.22 KB, patch)
2005-08-08 14:10 EDT, Dmitry V. Levin
no flags Details | Diff

  None (edit)
Description Dmitry V. Levin 2005-08-08 14:09:05 EDT
strace up to 4.5.13 mount options deparser is somewhat incomplete.

Steps to Reproduce:
strace -e trace=mount mount /dev/pts
  
Actual results:
mount("devpts", "/dev/pts", "devpts", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805eff0) = -1 EPERM (Operation not permitted)

Expected results:
mount("devpts", "/dev/pts", "devpts", MS_MGC_VAL, "gid=5,mode=0620") = -1 EPERM (Operation not permitted)
Comment 1 Dmitry V. Levin 2005-08-08 14:10:53 EDT
Created attachment 117550 [details]
strace-4.5.13-alt-mount.patch

Proposed fix.
Comment 2 Roland McGrath 2006-01-12 16:19:00 EST
I've put this in upstream.  Thanks for the fix.
Comment 3 Roland McGrath 2006-04-03 04:36:01 EDT
Fixed in fc4 update and in fc5.

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