|
139 | 139 | (type kernel_sid)
|
140 | 140 | (roletype system_r kernel_sid)
|
141 | 141 | (typeattributeset domain (kernel_sid))
|
142 |
| -(type other) |
143 |
| -(roletype system_r other) |
144 |
| -(typeattributeset domain (other)) |
145 | 142 | (type security_sid)
|
146 | 143 | (roletype object_r security_sid)
|
147 | 144 | (typeattributeset resource (security_sid))
|
| 145 | +(type some_other) |
| 146 | +(roletype system_r some_other) |
| 147 | +(typeattributeset domain (some_other)) |
148 | 148 | (type unlabeled_sid)
|
149 | 149 | (roletype object_r unlabeled_sid)
|
150 | 150 | (typeattributeset resource (unlabeled_sid))
|
|
155 | 155 | (roletype system_r qux)
|
156 | 156 | (typeattributeset domain (qux))
|
157 | 157 | (macro bar-read ((type this) (type source)) (allow source this (file (read open getattr))))
|
158 |
| -(macro baz-reference_foo ((type this) (type other)) (allow other bar (file (setattr))) (allow other foo (file (setattr)))) |
| 158 | +(macro baz-reference_foo ((type this) (type some_other)) (allow some_other bar (file (setattr))) (allow some_other foo (file (setattr)))) |
159 | 159 | (macro foo-read ((type this) (type source)) (allow source this (file (read open getattr))))
|
160 |
| -(macro qux-reference_foo ((type this) (type other)) (allow other bar (file (setattr))) (allow other foo (file (setattr)))) |
| 160 | +(macro qux-reference_foo ((type this) (type some_other)) (allow some_other bar (file (setattr))) (allow some_other foo (file (setattr)))) |
161 | 161 | (call bar-read (bar baz))
|
162 | 162 | (call bar-read (bar qux))
|
163 |
| -(call baz-reference_foo (baz other)) |
164 |
| -(call baz-reference_foo (qux other)) |
| 163 | +(call baz-reference_foo (baz some_other)) |
| 164 | +(call baz-reference_foo (qux some_other)) |
165 | 165 | (allow baz bar (file (write)))
|
166 | 166 | (allow baz foo (file (write)))
|
167 | 167 | (allow qux bar (dir (write)))
|
168 | 168 | (allow qux bar (file (write)))
|
169 | 169 | (allow qux foo (dir (write)))
|
170 | 170 | (allow qux foo (file (write)))
|
171 |
| -(typetransition baz bar process other) |
172 |
| -(typetransition baz foo process other) |
173 |
| -(typetransition qux bar process other) |
174 |
| -(typetransition qux foo process other) |
| 171 | +(typetransition baz bar process some_other) |
| 172 | +(typetransition baz foo process some_other) |
| 173 | +(typetransition qux bar process some_other) |
| 174 | +(typetransition qux foo process some_other) |
175 | 175 | (sid kernel)
|
176 | 176 | (sidcontext kernel (system_u system_r kernel_sid ((s0) (s0))))
|
177 | 177 | (sid security)
|
|
0 commit comments