Page MenuHomeFreeBSD

login_cap.h: Remove LOGIN_DEFPRI
ClosedPublic

Authored by olce on Jan 25 2024, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 24, 7:03 AM
Unknown Object (File)
Wed, Oct 23, 1:37 AM
Unknown Object (File)
Tue, Oct 22, 11:09 PM
Unknown Object (File)
Fri, Oct 18, 11:27 PM
Unknown Object (File)
Oct 1 2024, 1:29 PM
Unknown Object (File)
Sep 30 2024, 2:58 PM
Unknown Object (File)
Sep 26 2024, 4:34 AM
Unknown Object (File)
Sep 24 2024, 9:34 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