Page MenuHomeFreeBSD

Remove PROC_CHECK_PRIV macro from sys_process.c
ClosedPublic

Authored by sjg on May 7 2026, 1:27 AM.
Tags
None
Referenced Files
F173871627: D56864.id177343.diff
Tue, Sep 29, 12:50 AM
F173871248: D56864.id177342.diff
Tue, Sep 29, 12:46 AM
F173868806: D56864.id177341.diff
Tue, Sep 29, 12:23 AM
F173777075: D56864.diff
Mon, Sep 28, 8:10 AM
Unknown Object (File)
Fri, Sep 25, 7:24 PM
Unknown Object (File)
Thu, Sep 24, 8:12 AM
Unknown Object (File)
Thu, Sep 24, 7:19 AM
Unknown Object (File)
Thu, Sep 24, 7:05 AM
Subscribers

Details

Summary

Just put the priv_check calls in the code.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72868
Build 69751: arc lint + arc unit

Event Timeline

sjg requested review of this revision.May 7 2026, 1:27 AM
kib added inline comments.
sys/kern/sys_process.c
115

error is not boolean, style(9) suggests the explicit check

This revision is now accepted and ready to land.May 7 2026, 1:43 AM
This revision now requires review to proceed.May 7 2026, 3:15 AM
sjg marked an inline comment as done.May 7 2026, 3:47 AM
This revision was not accepted when it landed; it landed in state Needs Review.May 7 2026, 3:49 AM
This revision was automatically updated to reflect the committed changes.