xref: /third_party/selinux/libsepol/tests/policies/test-deps/module.conf (revision 6cd6a6ac)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/selinux/libsepol/tests/policies/test-deps/
16cd6a6acSopenharmony_cimodule my_module 1.0;
26cd6a6acSopenharmony_ci
36cd6a6acSopenharmony_cirequire { 
46cd6a6acSopenharmony_ci	bool secure_mode;
56cd6a6acSopenharmony_ci	type system_t, sysadm_t, file_t;
66cd6a6acSopenharmony_ci	attribute domain;
76cd6a6acSopenharmony_ci	role system_r;
86cd6a6acSopenharmony_ci	class file {read write};
96cd6a6acSopenharmony_ci	
106cd6a6acSopenharmony_ci}
116cd6a6acSopenharmony_ci
126cd6a6acSopenharmony_citype new_t, domain;
136cd6a6acSopenharmony_cirole system_r types new_t;
146cd6a6acSopenharmony_ci
156cd6a6acSopenharmony_ciallow system_t file_t : file { read write };
166cd6a6acSopenharmony_ci
176cd6a6acSopenharmony_ciif (secure_mode)
186cd6a6acSopenharmony_ci{
196cd6a6acSopenharmony_ci	allow sysadm_t file_t : file { read write };
206cd6a6acSopenharmony_ci}
21

Indexes created Thu Nov 07 10:32:03 CST 2024