Merge "Move pf_key socket creation permission to netd"
This commit is contained in:
commit
3cba24a81a
2 changed files with 4 additions and 4 deletions
|
@ -12,6 +12,10 @@ domain_auto_trans(netd, clatd_exec, clatd)
|
|||
# the map created by bpfloader
|
||||
allow netd bpfloader:bpf { prog_run map_read map_write };
|
||||
|
||||
# in order to invoke side effect of close() on such a socket calling synchronize_rcu()
|
||||
# TODO: Remove this permission when 4.9 kernel is deprecated.
|
||||
allow netd self:key_socket create;
|
||||
|
||||
get_prop(netd, bpf_progs_loaded_prop)
|
||||
|
||||
# Allow netd to write to statsd.
|
||||
|
|
|
@ -879,10 +879,6 @@ with_asan(`
|
|||
allow system_server fs_bpf:dir search;
|
||||
allow system_server fs_bpf:file { read write };
|
||||
allow system_server bpfloader:bpf { map_read map_write };
|
||||
# in order to invoke side effect of close() on such a socket calling synchronize_rcu()
|
||||
# TODO: Remove this permission when 4.9 kernel is deprecated.
|
||||
allow system_server self:key_socket create;
|
||||
|
||||
|
||||
# ART Profiles.
|
||||
# Allow system_server to open profile snapshots for read.
|
||||
|
|
Loading…
Reference in a new issue