Page MenuHomeFreeBSD

Remove PROC_CHECK_PRIV macro from sys_process.c
ClosedPublic

Authored by sjg on Thu, May 7, 1:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 12:06 PM
Unknown Object (File)
Fri, May 15, 6:56 AM
Unknown Object (File)
Fri, May 15, 12:33 AM
Unknown Object (File)
Thu, May 14, 8:47 PM
Unknown Object (File)
Mon, May 11, 10:09 PM
Unknown Object (File)
Mon, May 11, 8:13 PM
Unknown Object (File)
Mon, May 11, 6:51 PM
Unknown Object (File)
Mon, May 11, 3:23 PM
Subscribers

Details

Summary

Just put the priv_check calls in the code.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sjg requested review of this revision.Thu, May 7, 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.Thu, May 7, 1:43 AM
This revision now requires review to proceed.Thu, May 7, 3:15 AM
sjg marked an inline comment as done.Thu, May 7, 3:47 AM
This revision was not accepted when it landed; it landed in state Needs Review.Thu, May 7, 3:49 AM
This revision was automatically updated to reflect the committed changes.