Commit 89766d5
committed
Rework shadow transitions and access
shadow access is tightly controlled, with separate types for the shadow
files and the locks. This patch distinguishes the two by enumerating
the backup filenames and lock file names in their associated file
transition rules.
Prior to this, the overbroad file transition rules would cause various
shadow-manipulating tools to create lock files with the incorrect
shadow_t label.
Signed-off-by: Antonio Enrico Russo <[email protected]>1 parent 5747626 commit 89766d5
File tree
3 files changed
+7
-6
lines changed- policy/modules
- admin
- system
3 files changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
352 | | - | |
353 | 351 | | |
354 | 352 | | |
355 | 353 | | |
| |||
438 | 436 | | |
439 | 437 | | |
440 | 438 | | |
441 | | - | |
442 | 439 | | |
443 | 440 | | |
444 | 441 | | |
| |||
534 | 531 | | |
535 | 532 | | |
536 | 533 | | |
537 | | - | |
538 | 534 | | |
539 | 535 | | |
540 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
722 | 724 | | |
723 | 725 | | |
724 | 726 | | |
| |||
859 | 861 | | |
860 | 862 | | |
861 | 863 | | |
| 864 | + | |
862 | 865 | | |
863 | 866 | | |
864 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
865 | 871 | | |
866 | 872 | | |
867 | 873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
1896 | | - | |
1897 | 1896 | | |
1898 | 1897 | | |
1899 | 1898 | | |
| |||
0 commit comments