Page MenuHomeFreeBSD

login_cap.h: Remove LOGIN_DEFPRI
ClosedPublic

Authored by olce on Jan 25 2024, 10:53 PM.
Tags
None
Referenced Files
F109285021: D43609.diff
Mon, Feb 3, 1:33 AM
Unknown Object (File)
Fri, Jan 31, 7:32 PM
Unknown Object (File)
Tue, Jan 14, 10:21 AM
Unknown Object (File)
Dec 15 2024, 7:13 PM
Unknown Object (File)
Dec 1 2024, 1:56 AM
Unknown Object (File)
Nov 30 2024, 3:51 PM
Unknown Object (File)
Nov 30 2024, 3:51 PM
Unknown Object (File)
Nov 30 2024, 3:50 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55627
Build 52516: arc lint + arc unit