Commit 145e844
chore(sandbox-route-helper): cite nix-rust/nix#2748 above libc::syscall fallback
Follow-up to dropped todo #60. The pre-existing section header at
`sandbox-route-helper/src/main.rs:192` (`// pidfd_open — direct libc
syscall (nix 0.29 does not expose it)`) explained that nix did not
provide a wrapper but did not point at the upstream tracker, leaving
a future reader to guess whether the gap was deliberate or whether
nix had since shipped a wrapper that nobody had wired up. Add a
single-line in-tree comment immediately above the
`libc::syscall(SYS_pidfd_open, ...)` invocation referencing
`nix-rust/nix#2748` so the libc fallback reads as a deliberate gap
pending the upstream wrapper, not an oversight.
The comment shape matches the requested template:
`// nix-rust/nix#2748: pidfd_open wrapper not yet provided; using
libc::syscall as a deliberate gap.` The pre-existing header at line
192 is left untouched — the new comment is additive.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4f519ad commit 145e844
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
0 commit comments