[Bug 271747] login.conf(5), setusercontext(): umask has no default value, simplify code

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 May 2023 15:42:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271747

            Bug ID: 271747
           Summary: login.conf(5), setusercontext(): umask has no default
                    value, simplify code
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: olivier.freebsd@free.fr

Analysis and simplification of code in setusercontext() shows that it doesn't
apply any default umask if none is explicitly specified in login.conf.

This is coherent with what is done for other context pieces (except priorities,
subject of another bug), and is desirable to enable login classes where the
umask is simply inherited.

Fix the documentation accordingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.