mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2025-01-19 06:34:15 +00:00
added apparmor profile
This commit is contained in:
parent
dfbbb08124
commit
a4012b594b
16
contrib/usr.sbin.nghttpx
Normal file
16
contrib/usr.sbin.nghttpx
Normal file
@ -0,0 +1,16 @@
|
||||
#include <tunables/global>
|
||||
|
||||
/usr/sbin/nghttpx {
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/openssl>
|
||||
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
|
||||
/usr/sbin/nghttpx rmix, # allow to run itself
|
||||
/etc/nghttpx/nghttpx.conf r, # allow to read the config file
|
||||
/etc/ssl/** r, # give access to ssl keys
|
||||
|
||||
/{,var/}run/nghttpx.pid lw, # allow to store a pid file
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user