Page MenuHomeFreeBSD

login_cap.h: Remove LOGIN_DEFPRI
ClosedPublic

Authored by olce on Jan 25 2024, 10:53 PM.
Tags
None
Referenced Files
F141943755: D43609.diff
Tue, Jan 13, 9:38 PM
Unknown Object (File)
Mon, Jan 12, 4:57 PM
Unknown Object (File)
Wed, Jan 7, 4:22 AM
Unknown Object (File)
Wed, Dec 31, 2:53 AM
Unknown Object (File)
Wed, Dec 31, 2:22 AM
Unknown Object (File)
Sat, Dec 20, 2:54 PM
Unknown Object (File)
Dec 11 2025, 4:15 AM
Unknown Object (File)
Dec 3 2025, 7:41 PM

Details

Summary

This is an implementation detail which is likely to become irrelevant in
the future, as we move to not resetting the priority if the
corresponding capability is not present in the configuration file
('/etc/login.conf').

GitHub's code search and Google show no use of this public constant, and
it doesn't exist in OpenBSD and NetBSD.

So, remove this definition and its sole use in-tree.

PR: 276570 (exp-run)
Sponsored by: The FreeBSD Foundation

Diff Detail

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