policy_module(obex,1.0.0)
########################################
#
# Declarations
#
type obex_t;
type obex_exec_t;
application_domain(obex_t, obex_exec_t)
ubac_constrained(obex_t)
########################################
#
# obex 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)
userdom_search_user_home_content(obex_t)
optional_policy(`
bluetooth_stream_connect(obex_t)
bluetooth_dbus_chat(obex_t)
')
optional_policy(`
dbus_system_bus_client(obex_t)
')