Currently, both of these will print pid/uid/gid/sid/jid in hex, which
isn't very helpful for eyeballing. Align more closely with truss(1) and
print these in decimal instead. ip is likely wider than our ID type,
so we coerce -1 properly in wait4(2) to get it to render properly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 64385 Build 61269: arc lint + arc unit
Event Timeline
Comment Actions
It might be nice to apply similar handling to kill(2), since the first argument there can also be negative.
Comment Actions
Good point, will stage that next. I went with *ip = (pid_t)*ip there, which I think I like better as a pattern than the special case for -1 here... I think I'll switch wait 4 to it pre-commit.