Commit 027fe95
committed
proc_config: document why the zcat popen fallback is safe
The double-quoted path interpolated into the popen("zcat") fallback is
not an injection risk: it is the fixed literal "/proc/config.gz", or that
literal under the KASLD_SYSROOT prefix — an env var set by the same user
who runs kasld, which is never setuid. No trust boundary is crossed.1 parent c7109c4 commit 027fe95
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
0 commit comments