aaparser

package
v0.0.0-...-9a1ada9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 5 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

func GetVersion() (int, error)

GetVersion returns the major and minor version of apparmor_parser.

func LoadProfile

func LoadProfile(profilePath string) error

LoadProfile runs `apparmor_parser -r -W` on a specified apparmor profile to replace and write it to disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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