selinux-refpolicy/policy/modules/services/obex.te
Chris PeBenito 78276fc43b Drop module versioning.
Semodule stopped using this many years ago. The policy_module() macro will
continue to support an optional second parameter as version.
If it is not specified, a default value of 1 is set.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2022-01-06 09:19:13 -05:00

44 lines
717 B
Plaintext

policy_module(obex)
########################################
#
# Declarations
#
attribute_role obex_roles;
type obex_t;
type obex_exec_t;
userdom_user_application_domain(obex_t, obex_exec_t)
role obex_roles types obex_t;
########################################
#
# Local policy
#
allow obex_t self:fifo_file rw_fifo_file_perms;
allow obex_t self:socket create_stream_socket_perms;
dev_read_urand(obex_t)
files_read_etc_files(obex_t)
logging_send_syslog_msg(obex_t)
miscfiles_read_localization(obex_t)
userdom_search_user_home_content(obex_t)
optional_policy(`
bluetooth_stream_connect(obex_t)
')
optional_policy(`
dbus_system_bus_client(obex_t)
optional_policy(`
bluetooth_dbus_chat(obex_t)
')
')