From nobody Wed Mar 02 23:09:52 2022 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 1A8C419F3110; Wed, 2 Mar 2022 23:09:53 +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 4K88w072kWz3rW5; Wed, 2 Mar 2022 23:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646262593; 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=mx0ye+0hAeAMDWRiqDIJx5L838+OFXu8j+dg0/YrUhM=; b=nUCtO5CinSK6CaTo1CcI4+tsjyJzFNaHtXAcTdc0MEj3QLkfGr8L5hRs46XZeaI9Uf6vex e1HfaNY+M9E82UMv1OY+v/8K6Uav9MnbMrmaqCgFghYPStgqZRDuRCzR9Y9pZLaUisC8d2 /HwVtROOG/m3vSOxE6pPfmKYTZXJbCgAOJVqpDa9yMykrc5sBLIAZCA2V580v4F0Pp6j6l eWIqkBkkvMQrzN/IKu+dOEJ0WOBr4PExva/7jqD0Xyp/R9lAQoDjIy5KLuktwCC6xNJ8Io 8QQpep1K6i2UTJ+E0AGLiEZcuj6gMo8NTZo84mAP+rYrrgVEsPOIoOnx5Jpb7A== 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 D20F04A8F; Wed, 2 Mar 2022 23:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 222N9q79061092; Wed, 2 Mar 2022 23:09:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222N9qNM061091; Wed, 2 Mar 2022 23:09:52 GMT (envelope-from git) Date: Wed, 2 Mar 2022 23:09:52 GMT Message-Id: <202203022309.222N9qNM061091@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jamie Gritton Subject: git: 803d7f4ccdca - stable/13 - posixshm: Allow jails to use kern.ipc.posix_shm_list 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: jamie X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 803d7f4ccdca197a1b2fcb2c8ecc2e4bf18f15d0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646262593; 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=mx0ye+0hAeAMDWRiqDIJx5L838+OFXu8j+dg0/YrUhM=; b=R8YlFLORx+c9XlB9TkCaWIBmtwLJwU+3eiPJhwOYTgEr6KAhyDfBMG8njJsycg6Y7W9gwb YyTwG052rYR2Mocm7MoU7wlQshOiaJpXHt2UGLFv39v5zO+Uz1rENsmarm2oOVDy0nNcwU vtY8EKXkLmjExvs6MerBcMpdYluRl79WP/sWv1/kfI862mD+F6LDWrAcBFuTEAxlwAv5Fu pjjblWQOLEHlgt9d2BVpOJXnhBUuI5tuF8jMdf1DIk6GV7poP73b+sQ/e/BtOPH0KfliNp OouBcfaJDx3KYAEMpjcFJEdnH9WC0bCOix4YlDUu7FPo4fL9D/Pz8JNuaH9dxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646262593; a=rsa-sha256; cv=none; b=KZoIPyVILYvKHnyZ6Vt+fpuf2RL3euMtGNotGXdStR+2XS4JbSCkmGUBUAOd1Q3O5SoSQc HUngcQykg+m4VVH0LreaxUDldlxZTxDtEjmfabno6+o07c7LvLFkcmgjSkMw1VcCx5oVfJ MkODBA7be0xzQMjtKVBqhJb7+3MXBcYCred5FfKExJaMvT2Fxs8gPb+UOC/TCA2hVu7RvB TawEsyPvH7NHy+j+xO7IQz0vlYbkDPwlnWI+P3oCqv8Q1ywOuhnu4jxjSiNXLY1bH/68vG AqO2UkaedL6tqoc7m7xG4QQmaW32fEEBqsLoymo3nhhqmISPPuilJ6c+TCyFsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=803d7f4ccdca197a1b2fcb2c8ecc2e4bf18f15d0 commit 803d7f4ccdca197a1b2fcb2c8ecc2e4bf18f15d0 Author: Jamie Gritton AuthorDate: 2022-02-24 17:30:49 +0000 Commit: Jamie Gritton CommitDate: 2022-03-02 23:08:00 +0000 posixshm: Allow jails to use kern.ipc.posix_shm_list PR: 257554 Reported by: grembo@ (cherry picked from commit d7c4ea7d728e7480477eaedf79fac84e7d1aefde) --- sys/kern/uipc_shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c index 2c9cf92fe5ad..d1038766fb19 100644 --- a/sys/kern/uipc_shm.c +++ b/sys/kern/uipc_shm.c @@ -1948,7 +1948,7 @@ sysctl_posix_shm_list(SYSCTL_HANDLER_ARGS) } SYSCTL_PROC(_kern_ipc, OID_AUTO, posix_shm_list, - CTLFLAG_RD | CTLFLAG_MPSAFE | CTLTYPE_OPAQUE, + CTLFLAG_RD | CTLFLAG_PRISON | CTLFLAG_MPSAFE | CTLTYPE_OPAQUE, NULL, 0, sysctl_posix_shm_list, "", "POSIX SHM list");