2023-01-30 08:27:37 +01:00
|
|
|
;; complement CIL file for compatibility between ToT policy and 30.0 vendors.
|
|
|
|
;; will be compiled along with other normal policy files, on 30.0 vendors.
|
|
|
|
;;
|
|
|
|
|
2020-11-16 19:10:33 +01:00
|
|
|
(typeattribute vendordomain)
|
|
|
|
(typeattributeset vendordomain ((and (domain) ((not (coredomain))))))
|
|
|
|
|
2020-11-23 13:24:44 +01:00
|
|
|
;; TODO: Once 30.0 is no longer supported for vendor images,
|
|
|
|
;; mlsvendorcompat can be completely from the system policy.
|
2020-11-16 19:10:33 +01:00
|
|
|
(typeattributeset mlsvendorcompat (and appdomain vendordomain))
|
|
|
|
(allow mlsvendorcompat app_data_file (dir (ioctl read write create getattr setattr lock rename open watch watch_reads add_name remove_name reparent search rmdir)))
|
|
|
|
(allow mlsvendorcompat app_data_file (file (ioctl read write create getattr setattr lock append map unlink rename open watch watch_reads)))
|
|
|
|
(allow mlsvendorcompat privapp_data_file (dir (ioctl read write create getattr setattr lock rename open watch watch_reads add_name remove_name reparent search rmdir)))
|
|
|
|
(allow mlsvendorcompat privapp_data_file (file (ioctl read write create getattr setattr lock append map unlink rename open watch watch_reads)))
|