Skip to content

Commit 8f97276

Browse files
committed
wishlist: mark "Set comm field before exec()" as done
Signed-off-by: Christian Brauner <[email protected]>
1 parent f857eac commit 8f97276

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ them is the only way to get exit notification.
635635

636636
### Set `comm` field before `exec()`
637637

638+
[x] Set `comm` field before `exec()`
639+
638640
There should be a way to control the process' `comm` field if
639641
started via `fexecve()`/`execveat()`.
640642

@@ -653,6 +655,8 @@ time.
653655
See https://github.com/systemd/systemd/commit/35a926777e124ae8c2ac3cf46f44248b5e147294,
654656
https://github.com/systemd/systemd/commit/8939eeae528ef9b9ad2a21995279b76d382d5c81.
655657

658+
**🙇 `543841d18060 ("exec: fix up /proc/pid/comm in the execveat(AT_EMPTY_PATH) case")` 🙇**
659+
656660
**Usecase:** In systemd we generally would prefer using `fexecve()`
657661
to safely and race-freely invoke processes, but the fact that `comm`
658662
is useless after invoking a process that way makes the call

0 commit comments

Comments
 (0)