Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • config
  • apparmor
  • README
Find file
BlameHistoryPermalink
  • Serge Hallyn's avatar
    apparmor: auto-generate the blacklist rules · 198b363f
    Serge Hallyn authored Mar 28, 2014
    This uses the generate-apparmor-rules.py script I sent out some time
    ago to auto-generate apparmor rules based on a higher level set of
    block/allow rules.
    
    Add apparmor policy testcase to make sure that some of the paths we
    expect to be denied (and allowed) write access to are in fact in
    effect in the final policy.
    
    With this policy, libvirt in a container is able to start its
    default network, which previously it could not.
    
    v2: address feedback from stgraber
    	  put lxc-generate-aa-rules.py into EXTRA_DIST
    	  add lxc-test-apparmor, container-base and container-rules to .gitignore
    	  take lxc-test-apparmor out of EXTRA_DIST
    	  make lxc-generate-aa-rules.py pep8-compliant
    	  don't automatically generate apparmor rules
    	  This is only bc we can't be guaranteed that python3 will be
    	  available.
    Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
    198b363f
README 447 Bytes
EditWeb IDE
×

Replace README

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.