HomeFreeBSD

login_cap.h: Remove LOGIN_DEFUMASK

Description

login_cap.h: Remove LOGIN_DEFUMASK

This public constant has not been used in-tree since 1997 (this was
noticed while working on previous commit "setusercontext(): umask: Set
it only once (in the common case)").

Since it was an implementation detail and GitHub's code search and
Google show no use of this symbol today, simply remove it.

PR: 276570 (exp-run)
Reviewed by: emaste, kib (earlier version, then part of D40344)
Approved by: emaste (mentor)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43608

(cherry picked from commit e3a396eb2a029e5dc9161469735aa3f7f16845d1)

Approved by: markj (mentor)

Details

Provenance
olceAuthored on Jan 25 2024, 10:10 PM
Reviewer
emaste
Differential Revision
D43608: login_cap.h: Remove LOGIN_DEFUMASK
Parents
rG8b359002747a: setusercontext(): Set priority from '~/.login_conf' as well
Branches
Unknown
Tags
Unknown