2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +00:00
apparmor/Tools/aa-cleanprof.py

14 lines
371 B
Python
Raw Normal View History

#!/usr/bin/python
import argparse
from apparmor.tools import *
parser = argparse.ArgumentParser(description='Cleanup the profiles for the given programs')
parser.add_argument('-d', type=str, help='path to profiles')
parser.add_argument('program', type=str, nargs='+', help='name of program')
args = parser.parse_args()
clean = aa_tools('cleanprof', args)
clean.act()