From nobody Wed May 31 15:42:31 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QWYRr3kz6z4Yt1m for ; Wed, 31 May 2023 15:42:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QWYRq6Fykz4PL4 for ; Wed, 31 May 2023 15:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685547751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=peFK3F5b0CSyBho16XLIyKkEZohkkutxNFcdak7absI=; b=FdyGWY+aUObHjsYvcwtf4dCyOiuyEkx1qCWtzjLdEVxzagI/fug8Q+LDCoOsMlzlYBazOn MP1sNJxC7EHzulr2jhzEEQXrWSdDMsF2CmE0FRXsNk9BqV9RbRHpBEEoQTCy43B51ChXEy TxvZVh3scM85wSTCK0Fgmqtyi2yV4xaGxtLb5tlOIaRNL2RafhzBTQSbT1F/YNfJEHrPJn STcv8782v43fxxvVhA5BBN/QCUIb+17/83HgpkQgJKyhlVnh+tTLi7qluhjHU1fnVCE+BE ANX5cIGR2ZF24mRgh+laE+YHJOm4DTNklnsieg5CH2jot3Wm8XCBhyH3/dYr5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685547751; a=rsa-sha256; cv=none; b=AbeHjRCjCspnc2vqhO4b3QlKwZsKumgUAxsSy2RRhCBphI6PsChlE5QJcfn7TrwmTnP72b Yw4XcWaBWw2UN7QD7K1cfedZtHnsPKUpExWOW9f3kzIW5/lIPe0+x1hRgFIYTRIhUZ+qlg ScrVyBc9O04tMLGD07kEZOB7RPepRfNLhKV2FaxmApqSCVa02JkJdsUsvy1P0AJ3XrTBpy fYmOtVI1w8/+vYZ8ihQZGAFOUz5VptL6zXxOV0ODiTDIGgJIGFOQedhujKmS0ia1+wpmiu 5RWAvrcMJb1yYjRAx3CfNXhTqSqKuIH4eTMELVo9ZvdeRYDZ02Lvr8mc/ZuHgA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QWYRq5Jxmzh3v for ; Wed, 31 May 2023 15:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34VFgVC6041930 for ; Wed, 31 May 2023 15:42:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34VFgVFJ041895 for bugs@FreeBSD.org; Wed, 31 May 2023 15:42:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271747] login.conf(5), setusercontext(): umask has no default value, simplify code Date: Wed, 31 May 2023 15:42:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier.freebsd@free.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271747 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 priorit= ies, subject of another bug), and is desirable to enable login classes where the umask is simply inherited. Fix the documentation accordingly. --=20 You are receiving this mail because: You are the assignee for the bug.=