blob: a7b28cc12a51a1d704f28f86c919c6057c07d29a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
(in file.user
(block run
(macro type ((type ARG1))
(typeattributeset typeattr ARG1))
(typeattribute typeattr)
(call .file.user.type (typeattr))
(call .file.run.type (typeattr))
(block base_template
(blockabstract base_template)
(blockinherit .file.user.base_template)
(call .file.user.run.type (file)))
(block template
(blockabstract template)
(blockinherit .file.user.run.base_template)
(blockinherit .file.macro_template_files)
(blockinherit .file.macro_template_dirs)
(blockinherit .file.macro_template_sock_files))))
(in user
(block run
(macro file_type_transition_file ((type ARG1) (name ARG2))
(call .runuser.file_type_transition (ARG1 file dir ARG2)))
(blockinherit .file.user.run.template)
(filecon "/run/user/%{USERID}" dir file_context)
(filecon "/run/user/%{USERID}/.*" any file_context)))
(in file.unconfined
(call .user.run.file_type_transition_file (typeattr "*")))
|