2015-09-22 19:56:03 +02:00
|
|
|
# mediaextractor - multimedia daemon
|
2015-11-06 21:52:08 +01:00
|
|
|
type mediaextractor, domain, domain_deprecated;
|
2015-09-22 19:56:03 +02:00
|
|
|
type mediaextractor_exec, exec_type, file_type;
|
|
|
|
|
|
|
|
typeattribute mediaextractor mlstrustedsubject;
|
|
|
|
|
|
|
|
init_daemon_domain(mediaextractor)
|
|
|
|
|
|
|
|
binder_use(mediaextractor)
|
|
|
|
binder_call(mediaextractor, binderservicedomain)
|
|
|
|
binder_call(mediaextractor, appdomain)
|
|
|
|
binder_service(mediaextractor)
|
|
|
|
|
2016-02-05 21:55:26 +01:00
|
|
|
allow mediaextractor mediaextractor_service:service_manager add;
|
2015-09-22 19:56:03 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### neverallow rules
|
|
|
|
###
|
|
|
|
|
|
|
|
# mediaextractor should never execute any executable without a
|
|
|
|
# domain transition
|
|
|
|
neverallow mediaextractor { file_type fs_type }:file execute_no_trans;
|
2016-01-05 17:54:11 +01:00
|
|
|
|
2016-04-23 00:34:40 +02:00
|
|
|
# mediaextractor should never need network access. Disallow network sockets.
|
|
|
|
neverallow mediaextractor domain:{ tcp_socket udp_socket rawip_socket } *;
|