Page MenuHomeFreeBSD

sysctl: use names instead of magic numbers
ClosedPublic

Authored by kaktus on Sep 17 2019, 10:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 15 2024, 10:21 PM
Unknown Object (File)
Nov 15 2024, 9:18 PM
Unknown Object (File)
Nov 13 2024, 1:41 PM
Unknown Object (File)
Nov 11 2024, 11:12 AM
Unknown Object (File)
Nov 10 2024, 4:41 AM
Unknown Object (File)
Oct 2 2024, 2:00 PM
Unknown Object (File)
Sep 24 2024, 1:04 PM
Unknown Object (File)
Sep 24 2024, 3:03 AM
Subscribers

Details

Summary

Replace magic numbers with names for internal sysctl operations.
Convert in-kernel and libc consumers.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib added inline comments.
sys/kern/kern_sysctl.c
939

Please add space after comma

This revision is now accepted and ready to land.Sep 18 2019, 6:33 AM
kaktus edited the summary of this revision. (Show Details)

Add space after comma.

This revision now requires review to proceed.Sep 18 2019, 8:30 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 18 2019, 4:13 PM
This revision was automatically updated to reflect the committed changes.