From nobody Thu Feb 1 21:26:10 2024 X-Original-To: dev-commits-src-branches@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 4TQsQq1v2Qz58hTs; Thu, 1 Feb 2024 21:26:11 +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 4TQsQq02ZLz4WLY; Thu, 1 Feb 2024 21:26:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706822771; 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=Op+wpL0hvro79/eTGFN6/RKxJQJLZRkqrqG7orAFPp0=; b=GSID1j4HaXET1QpRqz/73opa6shHOAUQVoDQibv5x3URh3qLcaGdSKIlfSRiFK9WPiIyap QdXjxcLP4ZbsoAOq30/Jn63n91XdtU/jB+wPY2n57B6Zold+BcZoXbqJvpdFMBatk3vNAv 3kWDi9TbNk+JjgMCNYxad15gd3p58msoWip4s9VKElyzBbZaCTL7Gc+f7+CVjLP/au0h0k R3oZRHsyWEKQ+IwFmM4bbgGWW+869qmCr6yZUDopEu3yvNS3ZkOgOafKvc9XLaj+pcTGFb BXNOtR/b/6I+5F6YqJheopmPQEULUdPCn6YoQw+LfJhihSli+qvCIY1HoiCbzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706822771; 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=Op+wpL0hvro79/eTGFN6/RKxJQJLZRkqrqG7orAFPp0=; b=x3PWjfy1cgXtZoeYZ44YMQFL4JLxKW5g3FvdeFws/4EesrQqMcBoFSgonMQhUGrjeH6tUF dIu0J+ObJpVa72rqi+Hwl7sjRdBGMWJu+4xENZ3y7ILTyqtpDfwICIAvRsZvlPkvYce36Y QSE0P07fGd4iott+I5ZVuv3z879Z+QYp3xi7OvxKVX/8FTpOwO/cuoDPSPRay4RIPVsROY x3aTL84DEEBe0oxsBzPTXaJRbugfvfa2OtjumoV2jSBZQ6qzNGNwQP5faF/BaSxRXUoN13 8hd0AkwCEX5ctf9USW7zwWvsbHnAkc3K6525pHnDe5XwvVAm6TJQAz8YVaOLwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706822771; a=rsa-sha256; cv=none; b=wNLa3Mnai0RgjHgFu/CNdcbKA3uPdFrPrriX1cE8OzCFuQkBCrADzwkABS+kkg1I3I6ViQ B8H9O231TXEY3VD+Plylw0sf02Jg+o0n4A36qJR4qSPunOBPI2UcC/RFaJ6SHvHGGCGVnK o1f6AWGdhI/AQA42uCkP5SkBlisH67bl9nTN/H7pNvakgSLX6vv7Tp67NJWeCmxJwM+9OX 0OUCk92ALVtcLv+AoqaVXWvjoDfLurdkqqhSTukeZpAc6NkgoGu9l51biqgKc0FCBtKcIM qLX9Ph7YPvnyHfIWknInvG+ZDfPniLDHfDuAXWvpdw1AdgliG4q+QSdx0tgCkw== 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 4TQsQp5lJZz1Hw0; Thu, 1 Feb 2024 21:26:10 +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 411LQAXJ070593; Thu, 1 Feb 2024 21:26:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LQAO5070590; Thu, 1 Feb 2024 21:26:10 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:26:10 GMT Message-Id: <202402012126.411LQAO5070590@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: 72d463479fcc - stable/13 - login.conf(5): Document priority's default and possible values List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/13 X-Git-Reftype: branch X-Git-Commit: 72d463479fcc72435c75c5f8643e53e1a54fa799 Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=72d463479fcc72435c75c5f8643e53e1a54fa799 commit 72d463479fcc72435c75c5f8643e53e1a54fa799 Author: Olivier Certner AuthorDate: 2023-06-21 08:39:15 +0000 Commit: Olivier Certner CommitDate: 2024-02-01 21:23:45 +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.