From nobody Thu Feb 24 17:32:35 2022 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 4BC3F19EC4B1; Thu, 24 Feb 2022 17:32:35 +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 4K4Kjb1gxcz3kw9; Thu, 24 Feb 2022 17:32:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645723955; 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=rZxA7ifJA7NbgGPj0qruz1ApCgef5Osjzyz7ngCBKTQ=; b=sIRvDVz1yUxr8QMoP1Eix/+cG0VY1VfEMHhM9Qi7PCqcz0PYplXbXTGWCrEMcu80iMloxB qgBdsBnDjW51PyWNFDpaRiNKMXr66e4IoBpUxuejorob+i4NinNyVBp0l1HGp6AfgkZuPa MXvjrUNAY2zyErmAMcPogdLWrrntlvoR99oLq9+sWWv7IVPh/ZsnUKh4jktKVikDXm90NO ZAemj4rt4MiCosegnu0OoJRf/iT6It1pTVs+F1PpFV3N7hlE0gHhid5nTwWZ73Q4IGA51r koOsVSffzwTRmJtqjzDCMiPXWUts/ctO9CwmycNzOmfmQfl2YJpeCPwEpKB0ug== 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 198E410445; Thu, 24 Feb 2022 17:32:35 +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 21OHWZde007344; Thu, 24 Feb 2022 17:32:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21OHWZfA007343; Thu, 24 Feb 2022 17:32:35 GMT (envelope-from git) Date: Thu, 24 Feb 2022 17:32:35 GMT Message-Id: <202202241732.21OHWZfA007343@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jamie Gritton Subject: git: d7c4ea7d728e - main - posixshm: Allow jails to use kern.ipc.posix_shm_list PR: 257554 Reported by: grembo@ 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: d7c4ea7d728e7480477eaedf79fac84e7d1aefde Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645723955; 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=rZxA7ifJA7NbgGPj0qruz1ApCgef5Osjzyz7ngCBKTQ=; b=uBMeDH5dXUSiGzd/qCCIoIBvmqBQm1+3+WPXyL1/OwQeQtJoi/hZ9WVRZxstyfVaoI/t/J Vl0c13e3qqAJczp589Eh6XsROP7PHRIOXyHQsmkv49O9Vr1skBUskp4TH3tB4TWF3H0AP4 Zv0sBfm+DeW65iATkuQ+Zpz+A3SrXlj3F6I0mM5suh8tk0goivCAyvJgq+9UBxvXBm2eQr nS3BBRrgoStbjBNw4IAQBaPg4/aYDROXNKROvcLtMqliwOIt+oPitEWFgBs5hxiTsW6gDT woCmr0rNP5bZjoIUBnI39f+1xnOXX9b0nj5UNXaiLPu/U2f7hcrSitQhrJU3kA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645723955; a=rsa-sha256; cv=none; b=D9gr8/9HvPesBkrp4iBXJn/Ddc/oagiSDEGn8t4NdG7iB/ZsjzhEkCBtvnt8Rhtf1LS6cX 0ElPAe5b7773r5Wht7kYgzsC/7BNK5jHoCKQRBoDSdvrVSokVssMonZGLUUu6/ACt6cWRE hSIkImJlnwPpJZQoUp1LpXungV08wMQka2D8Uw+QAToepZfqoPoBs2TbuY+hXo2cEl9EEA 2oQoIPgANC115fjg4a6hTYuUva95k1rPGArTaKg/o1tfmdraIFU54ZPNokq/0P73n7/eu5 4bWtCJdM12zhdPWvY61OH9elV/yl9nCGwgxxGTkVYbLXyifKprU1jMdM1py5Lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=d7c4ea7d728e7480477eaedf79fac84e7d1aefde commit d7c4ea7d728e7480477eaedf79fac84e7d1aefde Author: Jamie Gritton AuthorDate: 2022-02-24 17:30:49 +0000 Commit: Jamie Gritton CommitDate: 2022-02-24 17:30:49 +0000 posixshm: Allow jails to use kern.ipc.posix_shm_list PR: 257554 Reported by: grembo@ --- 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 04c2c65af02e..0ee2147da122 100644 --- a/sys/kern/uipc_shm.c +++ b/sys/kern/uipc_shm.c @@ -2066,7 +2066,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");