Commit 506dd6c
committed
Merged PR 12878106: Small rego fixes
[cherry-picked from 0ca40bb4f130b3508f4a130011463070328d40d0]
- rego: Fix missing error reason when mounting a rw device to an existing mount point.
This fixes a missing error message introduced in the last round of security
fixes. It's not hugely important, but eases debugging if we get policy
denials on mounting the scratch, for whatever reason. Also adds test for it.
- Remove a no-op from rego
Checked with @<Matthew Johnson (AR)> earlier that this basically does nothing
and is just something left over. However I will not actually add a remove op
for `metadata.started` for now.
This PR is targeting the conf-aci branch on ADO because the commit being fixed
is not on main yet. This should be backported to main together with the fixes
from last month.
Signed-off-by: Tingmao Wang <[email protected]>1 parent 2766a36 commit 506dd6c
2 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | | - | |
| 1316 | + | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
417 | 429 | | |
418 | 430 | | |
419 | 431 | | |
| |||
442 | 454 | | |
443 | 455 | | |
444 | 456 | | |
445 | | - | |
| 457 | + | |
446 | 458 | | |
447 | 459 | | |
448 | 460 | | |
| |||
0 commit comments