atril: add custom apparmor profile for atril
This commit is contained in:
parent
5fd2eab062
commit
bdbf2cf07b
5 changed files with 561 additions and 0 deletions
21
helpers/DATA/atril/atril.apport
Normal file
21
helpers/DATA/atril/atril.apport
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
'''apport package hook for atril
|
||||
|
||||
(c) 2024 Luis Guzmán
|
||||
Author:
|
||||
Luis Guzmán <ark@switnet.org>
|
||||
based on evince's hook
|
||||
|
||||
'''
|
||||
|
||||
from apport.hookutils import *
|
||||
from os import path
|
||||
import re
|
||||
|
||||
def add_info(report):
|
||||
attach_conffiles(report, 'atril')
|
||||
attach_related_packages(report, ['apparmor', 'libapparmor1',
|
||||
'libapparmor-perl', 'apparmor-utils', 'auditd', 'libaudit1'])
|
||||
|
||||
attach_mac_events(report, ['/usr/bin/atril',
|
||||
'/usr/bin/atril-previewer',
|
||||
'/usr/bin/atril-thumbnailer'])
|
||||
Loading…
Add table
Add a link
Reference in a new issue