Skip to content

balena-io-experimental/apparmor-ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apparmor-ping

Example app to set apparmor profiles from an application service

The application contains two services:

  • apparmor: A privileged service that loads before other services and loads apparmor profiles for the system.
  • test: A simple service that continuosly pings an internet address.

The enforcing of the profiles is controlled with an ENFORCE device variable that should be applied to all services so that they all restart on changes.

Kernel configuration

The kernel needs to have apparmor support enabled and apparmor needs to be registered as security module.

If that is not the default, you can pass the following in the kernel command line arguments:

apparmor=1 security=apparmor

About

Example app to set apparmor profiles from an application service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published