aaparser

package
v24.0.9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aaparser is a convenience package interacting with `apparmor_parser`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion deprecated

func GetVersion() (int, error)

GetVersion returns the major and minor version of apparmor_parser.

Deprecated: no longer used, and will be removed in the next release.

func LoadProfile added in v1.11.0

func LoadProfile(profilePath string) error

LoadProfile runs `apparmor_parser -Kr` on a specified apparmor profile to replace the profile. The `-K` is necessary to make sure that apparmor_parser doesn't try to write to a read-only filesystem.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL