From nobody Fri Sep 20 06:46:55 2024 X-Original-To: dev-commits-src-main@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 4X92xC4krRz5Whkl; Fri, 20 Sep 2024 06:46:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X92xC2wwqz4r3K; Fri, 20 Sep 2024 06:46:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726814815; 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=FJMX1ZypNSwz0UwRpi/lVrK9jpN8k0+VY3u+dvfQOFI=; b=XwmAuttt+tdIURvxyy977zBCl9VIt1XI2vrtIhHpCFtO9sWI0uk1KlTomGJ8WxikdGzgk/ OIA5c752u8Mje+H75NAoYtTjSWqX2TyI7Pc3MAu6z72FjgDoEZbBXg7ZV8fH+ASIQ+laXW wyrYlRxbDx0xMd1iIFbCINdZ7hJHoCm5AhcjYeIXD3qbVM1m1Tfr9DLDTCD82WEAjFM82L GWLIKjpZB9UPdJMlsBUo0LtASKTZoXhqNC/xL3WWdplNsIWXOqU+8Q7mpF32thcywtQqX6 iGeNESJR2tnWVlRw0Kz7jU+qyleY3pg+bVsd9hA1B3XW2AJ7GMPUcNwnYQ3DAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726814815; a=rsa-sha256; cv=none; b=erDc/bvkcnPKl5KL7LrDUJ/qKvk8eWCMGyY8OXmYW03O83OlVkibTivafcAT8vEKfHp/7i Mj9BQG2kY/Jfp2XkzO6UZoZcqcOkBPfjW+zI+QdqNOHzV1ua42i24O8NJo/qijIK7hiWA4 q74rCj9hsIERYqZHlUm1d8mqWNKPoJ8dR1yrJd1H3HokZEZvkJQPUCqElr7b5jw59K3i14 G0rNLirH73NWdvlP/9tkMgTHMJk6F3SI04uAhjhYVarm7WXtTh7cnx73bRT3BO3TlVzSEn Hf5TiT5UHTUvZCxpYtZeKSXKi73tYU0pAE6kzH+2ZJOy8R+OLJDyfkSZSH6eLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726814815; 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=FJMX1ZypNSwz0UwRpi/lVrK9jpN8k0+VY3u+dvfQOFI=; b=AIrQ2Hq6SGpPNma5+aLdVhpQmtr/32g9f/VS7qd4VuSL0LXpxkgFSfYzWbY00cG2l9Bj8Z pQJ9Y0b2EpVjIn24KxANEw1M7agh7yvLCVE82XGEHU1lRAgn8boG/mqHv5ouCWr3kGihkF Md6yn3gm2umcTjI8naMVfA5mLK3OgSsiC55b0DBzZEHVYDQqHFZjHycfOM2dC6l2NJk8qA Y/ud/sxREdk/4aF55xtVAdkGzY9K6HBZt/lK4s/94HZvM2D34X9OXUEhwPMtJgctq9K3Cp 6gC/ngeQ7QYg6QDXciP4kxRT21sp+jSa1lu039xeHKeA0ANc7SL8M5kWv+HFCA== 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 4X92xC203JzfDj; Fri, 20 Sep 2024 06:46:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48K6ktbS009732; Fri, 20 Sep 2024 06:46:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48K6ktEH009729; Fri, 20 Sep 2024 06:46:55 GMT (envelope-from git) Date: Fri, 20 Sep 2024 06:46:55 GMT Message-Id: <202409200646.48K6ktEH009729@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 8ae779832c6f - main - privs: add PRIV_PIPEBUF List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8ae779832c6fee0588274af3c48cc643022787e6 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8ae779832c6fee0588274af3c48cc643022787e6 commit 8ae779832c6fee0588274af3c48cc643022787e6 Author: Konstantin Belousov AuthorDate: 2024-09-15 06:38:41 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-20 06:46:07 +0000 privs: add PRIV_PIPEBUF a privilege to allocate reserved pipebuf space. Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46619 --- sys/sys/priv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/priv.h b/sys/sys/priv.h index 7a5773da220f..5e14fee2cce1 100644 --- a/sys/sys/priv.h +++ b/sys/sys/priv.h @@ -426,11 +426,13 @@ */ #define PRIV_VM86_INTCALL 550 /* Allow invoking vm86 int handlers. */ +#define PRIV_PIPEBUF 560 /* Allow to allocate reserved pipebuf + space */ + /* * Set of reserved privilege values, which will be allocated to code as * needed, in order to avoid renumbering later privileges due to insertion. */ -#define _PRIV_RESERVED0 560 #define _PRIV_RESERVED1 561 #define _PRIV_RESERVED2 562 #define _PRIV_RESERVED3 563