Bug 165377
| Summary: | correct mount(2) deparser | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dmitry V. Levin <ldv> | ||||
| Component: | strace | Assignee: | Roland McGrath <roland> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 4.5.14 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-04-03 08:36:01 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: | |||||||
| Bug Blocks: | 158504 | ||||||
| Attachments: |
|
||||||
Created attachment 117550 [details]
strace-4.5.13-alt-mount.patch
Proposed fix.
I've put this in upstream. Thanks for the fix. Fixed in fc4 update and in fc5. |
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)