Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
apparmor
apparmor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 24
    • Merge Requests 24
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AppArmor
  • apparmorapparmor
  • Merge Requests
  • !109

Merged
Opened Apr 27, 2018 by Steve Beattie@smbOwner

regression tests: convert mount test to use MS_NODEV

  • Overview 1
  • Commits 1
  • Changes 1

The mount regression test passes MS_MANDLOCK to the mount(2) syscall in the test program. When the kernel is configured without CONFIG_MANDATORY_FILE_LOCKING set, attempting to mount a filesystem with this option always fails with EPERM. To fix, convert the test program to use the MS_NODEV option instead.

Bug: https://bugs.launchpad.net/apparmor/+bug/1765025 Signed-off-by: Steve Beattie steve.beattie@canonical.com

Nominated for trunk and apparmor branches 2.13 through 2.9.

Edited Apr 27, 2018 by Steve Beattie
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: apparmor/apparmor!109
Source branch: tests-fix-mount-MANDLOCK