From nobody Wed Oct 09 00:42:12 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 4XNYxc5rtKz5YbLK; Wed, 09 Oct 2024 00:42:12 +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 4XNYxc3SvBz4lpb; Wed, 9 Oct 2024 00:42:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728434532; 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=DHlEozt9GeFbuRIhjTEuk+YHwQgba4lcEarCKzyNYvQ=; b=P+6cE2W9XnS10ndnRUahVJLmHbjvi8BXDWWpp3LAkvrZwOY36rOGi6Y63/Z8radxoXuju4 D8UGP/91pVlaSZtgpi0fBq0Q1scOCfZTMSZUuYVBByafJAPc1wAT90o/knpJn2Eul8SdNF CHr8U3UZbta0+01IiCq3+hsKR39KkNu2xiKu2BRYjSL9B8qsx/r/Ue7F/aYYmrRM00j2hy lW36H0P/K1JpgRoLJqNX8n1nLha7zgxpPUqqgCht9hGq3QQg7/H0NiaHPoDbQnHwFhxSvU 4Hwaryq54QaBSyDJ0voVI2/c1p2wx5R2y2UKPmrQKi37NtKkH9N6nvfVQr1Oog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728434532; 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=DHlEozt9GeFbuRIhjTEuk+YHwQgba4lcEarCKzyNYvQ=; b=uIj95B3/MRc2bXrKiNImgfcd5LHYrpecgu6Thgd3PwiLi4JN2xYJDQp31fofM0zIYIGs5Z dVb69jh+vwmQjhczjbCP8HOigDhd8dcGFqYRMQ5mABsxY3zoeK3MbbYBGR5gvBKAN2gy/Z N3CR68cLaiZ14XlGz0z2fjcwoJ0XqZps0VWv2iDWXWizTIve4gcOiiX4eDQ7CQ9V5TANd9 R98dRmvMjhlE89cMLKDfurEzaUZCvIauIRVilLlWG6t9FtHCutehInqzMdLD65+qQ8RWUS GALMi8raLq89KILNOl1fpEyRz4MvhTTN+MlggAEO65w8z7cOeueToWFMOi+dCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728434532; a=rsa-sha256; cv=none; b=WSslsLdBw3Sid7uAd/eUS5AcOoMxo3wN5eHGsaLWiuM5pFeGwX6nq1OySTV6y7JuQqfuHz syy9hDQ/8sbqWMWg38QVmN8DoCNMNu7hnEGIX9pcTQGb+f/UZTzQOmTifxhPCMays9axXH Ak1YSrp9hBarPMvh7R5IKRLg0ZTc8P0kdBLnfznIzcvE2yQWRTQb8ha42AEC38WuAoFklH L5nW007vML31639JDHPtBRKaqKxdNVb0CsUlgoTinqc62salaN24gC6dfB6Eiq9Zng6Hj/ j9Ul6C1vUDXXXGxSU7fxEwDJPl8JbgCD0KcqTgvfhsjYOWfcQRTnaJVyDv0JPg== 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 4XNYxc327YzsrD; Wed, 9 Oct 2024 00:42:12 +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 4990gC6I050231; Wed, 9 Oct 2024 00:42:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4990gCIW050228; Wed, 9 Oct 2024 00:42:12 GMT (envelope-from git) Date: Wed, 9 Oct 2024 00:42:12 GMT Message-Id: <202410090042.4990gCIW050228@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 38518fda66cd - main - capsicum-test: rights are propagated on sctp_peeloff(2) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38518fda66cda6c57af0aa655d19c1897c0ab15d Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=38518fda66cda6c57af0aa655d19c1897c0ab15d commit 38518fda66cda6c57af0aa655d19c1897c0ab15d Author: Ed Maste AuthorDate: 2024-10-07 18:28:20 +0000 Commit: Ed Maste CommitDate: 2024-10-09 00:41:45 +0000 capsicum-test: rights are propagated on sctp_peeloff(2) As of commit 91a9e4e01dab ("capsicum: propagate rights on sctp_peeloff") a capability is generated from sctp_peeloff(cap_fd,...). Enable the corresponding test code. PR: 201052 Reviewed by: oshogbo, tuexen Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47000 --- contrib/capsicum-test/capsicum-freebsd.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/contrib/capsicum-test/capsicum-freebsd.h b/contrib/capsicum-test/capsicum-freebsd.h index da7bb38f073b..13fa24a0f722 100644 --- a/contrib/capsicum-test/capsicum-freebsd.h +++ b/contrib/capsicum-test/capsicum-freebsd.h @@ -62,10 +62,9 @@ typedef unsigned long cap_ioctl_t; // As of commit 85b0f9de11c3 ("capsicum: propagate rights on accept(2)") // FreeBSD generates a capability from accept(cap_fd,...). #define CAP_FROM_ACCEPT -// TODO(FreeBSD): uncomment if/when FreeBSD propagates rights on sctp_peeloff. -// FreeBSD does not generate a capability from sctp_peeloff(cap_fd,...). -// https://bugs.freebsd.org/201052 -// #define CAP_FROM_PEELOFF +// As of commit 91a9e4e01dab ("capsicum: propagate rights on sctp_peeloff") +// FreeBSD generates a capability from sctp_peeloff(cap_fd,...). +#define CAP_FROM_PEELOFF #endif /* __FreeBSD__ */