From nobody Thu Feb 1 21:31:16 2024 X-Original-To: dev-commits-src-all@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 4TQsXj41lxz58hrJ; Thu, 1 Feb 2024 21:31:17 +0000 (UTC) (envelope-from git@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 4TQsXj18Cyz4c0D; Thu, 1 Feb 2024 21:31:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823077; 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=dXDUGbtjUZ9fnOx3VdhRLdha6flHkIQ6KUcgvjF+wsE=; b=LkQxrPOG4sLYSSpo8HkvT7vFkOYz8vUq9Pj6B1rkfDxn2kqXHoORIhA1yIj2B7+6OZd8Lo QtoG2Qi1Cf1iqHvs+b4k1UwyhQYL5LmssXp7X44HJskh90rSKPNMHSenslHBXjMRLua9U4 8RyPZBK96koLeUgKmbPmmkjUsQdCZ2siVoHSOA7UcRmIatGjHfA5Z7hSwflURRzYYOazR+ O6Re51T0RIW9QrYe/aCwoGLBSKr/zmT87kJlaoTSGaDfLI9qIaFrQ1YOrMjKgvAGLiR7SP 8a7vw9fQ133nLiYFAyS1cYmG53LB1aPIYXNGbpEAgG2rwIPByvlmDD3vgT5/tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823077; 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=dXDUGbtjUZ9fnOx3VdhRLdha6flHkIQ6KUcgvjF+wsE=; b=mfYSWQGKvC/2JQgs8zN0CHEA9dfvxrly1vmBZ2kH4iFWwR5DbBoamqU8axzZo12souRiUO hk4VNEmsog3VYFHbcEPebWo1wUCzAOwTNEd3toaGLvk092UDdF/phuN0659Xs1ip+n/MMi PVEgjIbRqMzyDPQ/mYJU8Mua4enom5cEdj/pLyAL/h/0Kns0/qcfGLBc99p9kk/tMM5rye V1DKrFGrz8xhyAuXCX0m9WfK4eopYQ7mbZSjEDHM7gcuNdMxOmeAOhGumFKHX9XQehU9Pm phDaIf0TQFI8oiRcG95l18ReCwnv2Gb3OirTSDUK5Y7mWpxAh9hBcP+nNYEl8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706823077; a=rsa-sha256; cv=none; b=XJBSHsq6XiyLhRXhRNRi+Jbb8DyqvQsVacYCjzaEckSfZXB16vOS9MWMxffd2d0ZuNvZ3K IIJxsNJHTeqUDHNVzS4XNuRPXaM50pQCqzzapufc3OzgGMW6ZwTByH3N213ypxOEqWlj8r qBJzsSUOlb30dE1ozLis6kt25cpOZF8kpW1z7oj9md90AJ0XOTt4IKJ1K5iobVxlYj6iaL OOvv8PwHQLAHv2HLSemGnAckUlFFBxCRWlmmhIPXzTgZmkcy33vfv2+zysToTO88HxQMs9 yFkfs/z/fcWYOnv3rmAceWQMGY5NHuU7gcYqiV4D3/wKPFzm9aTNhSLffzf63w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4TQsXj0FkGz1Ht7; Thu, 1 Feb 2024 21:31:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 411LVGQF080818; Thu, 1 Feb 2024 21:31:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LVGWa080815; Thu, 1 Feb 2024 21:31:16 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:31:16 GMT Message-Id: <202402012131.411LVGWa080815@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: e7b89962dc6d - stable/14 - login.conf(5): Document priority's default and possible values List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e7b89962dc6d26badc3d524235fd9bf29c1b44ac Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=e7b89962dc6d26badc3d524235fd9bf29c1b44ac commit e7b89962dc6d26badc3d524235fd9bf29c1b44ac Author: Olivier Certner AuthorDate: 2023-06-21 08:39:15 +0000 Commit: Olivier Certner CommitDate: 2024-02-01 21:29:41 +0000 login.conf(5): Document priority's default and possible values Priority is reset to 0 if not explicitly specified. While here, be more explicit about what "Initial priority (nice) level" means and document that it is possible to set real-time or idle class' priorities with this capability. Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D40689 (cherry picked from commit aa96945e71b0f724e6ce673194d23f58d2d637d3) Approved by: markj (mentor) --- lib/libutil/login.conf.5 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index 35ca11452811..4a98ee818139 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -247,7 +247,21 @@ for details. .It "nologin file If the file exists it will be displayed and" the login session will be terminated. .It "path path /bin /usr/bin Default search path." -.It "priority number Initial priority (nice) level." +.It "priority number 0 Initial priority level." +A value in the nice range +.Pq -20 to 20 included , +extended below with the 32 real-time class priorities +.Po +so -52 maps to priority 0 in the real-time class, -51 to 1, and so on until -21 +which maps to 31; see +.Xr rtprio 1 +.Pc +and above with the 32 idle class priorities +.Po +so 21 maps to priority 0 in the idle class, 22 to 1, and so on until 52 which +maps to 31; see +.Xr idprio 1 +.Pc . .It "requirehome bool false Require a valid home directory to login." .It "setenv list A comma-separated list of environment variables and" values to which they are to be set.