Commit 1f0f861
committed
job-ingest: add module parameter to allow root jobs
Problem: Jobs submitted as root are rejected by the job-ingest module
if the instance owner is not also root, but some tests may need to
simulate submission of jobs to an instance running as root.
Add a job-ingest module parameter `allow-root-jobs`, which disables
the check for uid=0 when used.1 parent afcb43a commit 1f0f861
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
| |||
579 | 585 | | |
580 | 586 | | |
581 | 587 | | |
582 | | - | |
| 588 | + | |
583 | 589 | | |
584 | 590 | | |
585 | 591 | | |
| |||
703 | 709 | | |
704 | 710 | | |
705 | 711 | | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| |||
0 commit comments