From nobody Tue Aug 06 16:41:00 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 4WdfFS5nB3z5SFsH; Tue, 06 Aug 2024 16:41:00 +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 4WdfFS49Dbz42l3; Tue, 6 Aug 2024 16:41:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722962460; 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=Nz7hM2uIbImfOsmpJ25J6wNTSK1BXjwpu9ZSb66mtFA=; b=KrZkiYhOMkgiYMDznJSw5iWi+vS7jiIKFKgXExDiuxdc0HKSCwED3VGFmlTw1PBWVv2Njd 5azM8GpqMObPTrmg1rFVNaMt7kZkAaFFFFVULodQsAghkkCf/n4q2LZ8GJl6nUriV4golt fxxP6Pw/KXWzW76BZCZmdJ/b2rf7RXIDvMDMkt/Cdw1625GkK5n4RKO4qOpdz+UsklFta4 6F/VQwIrXknMddRBzu0cksek8eKUdr0xuOsveQFgNHd59aGYTUoBgxOvh24aWnC5YUFzc5 cFR9rJSBMsYxekdaVzc81NTQe0MY1hSYahz3AfJLcgWBLHfg8ACTS/LEfEKbYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722962460; a=rsa-sha256; cv=none; b=aDXZBCanrru2r976YYPKPyWUoGA3CNhndTer9xvp+dc08QfQx6Azo0rgT/RXTQAztPK5uu cuqENe4Sa0keWKlkFCYwKN++wsGhp1U/eCKaneqWWuenTcCPbwjwHzYSTL7MsrDZN7mq+B jGeriag/mfAI/0igdA7+cUfp4LJI80M7iwKNEMJYzd3+CAx+IwLBB+k5WbaNDtUAn/tj1Z 6m5/n0WR6ZJYEtrHW+Rpnrr3vmBhL2LlCdiM/muUJRzNpxdkfO9UibceLIO0Ay+6pKmeEf aEYdzJXxSsXHrmyn0xC2rC8Nf2sfxFyCSbOPJu2S2sP/t98xfMBk9ITmEUaLlg== 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=1722962460; 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=Nz7hM2uIbImfOsmpJ25J6wNTSK1BXjwpu9ZSb66mtFA=; b=iE1vL7qRUdZhD7tvuugxsDKncqdF+Qez1BwbOKt/UAg5ITt/Tu5StpQ8uky58rKsxW7f8w cGOw1PwkgbS3gXZHNkOVVm2ISeKz9D3//vqfEcfna28NNwJOHmo8ErW3j+KPG0IkOWPdox aLgYQSd1bQ2uVYsrqDtEbzrqJgb7P81a5JwI0vknGAqdazO9QB6myHN8TCF1DNNVitiWE1 nwn5bbOPqBaQDyRoHZsL/LGCuUb/Q8UkDPBGloouCM/1OSweslTd6ru6+oFiFwjA6PuNHq KNNVRvnWbQ1Tjt9dp3whPctTy8PnO/LyP7yK9k/UkQJIi0s7zcemcEcxHfZJOw== 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 4WdfFS24KdzFQH; Tue, 6 Aug 2024 16:41:00 +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 476Gf0cG084033; Tue, 6 Aug 2024 16:41:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 476Gf0BM084030; Tue, 6 Aug 2024 16:41:00 GMT (envelope-from git) Date: Tue, 6 Aug 2024 16:41:00 GMT Message-Id: <202408061641.476Gf0BM084030@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 014b6c341d9c - stable/14 - ktrace tests: Add a missing mode in open(O_CREAT) 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 014b6c341d9cfec30ec28cea9f304abbc156e625 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=014b6c341d9cfec30ec28cea9f304abbc156e625 commit 014b6c341d9cfec30ec28cea9f304abbc156e625 Author: Mark Johnston AuthorDate: 2024-07-28 15:31:40 +0000 Commit: Mark Johnston CommitDate: 2024-08-06 16:40:51 +0000 ktrace tests: Add a missing mode in open(O_CREAT) MFC after: 1 week (cherry picked from commit 9cc67e43610e34a692398a65adcc5e8846e84250) --- tests/sys/kern/ktrace_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/ktrace_test.c b/tests/sys/kern/ktrace_test.c index 21868441c687..9d4c2dbdcd74 100644 --- a/tests/sys/kern/ktrace_test.c +++ b/tests/sys/kern/ktrace_test.c @@ -116,7 +116,7 @@ cap_trace_child(int cpid, struct ktr_cap_fail *v, int numv) int error, fd, i; ATF_REQUIRE((fd = open("ktrace.out", - O_RDONLY | O_CREAT | O_TRUNC)) != -1); + O_RDONLY | O_CREAT | O_TRUNC, 0600)) != -1); ATF_REQUIRE(ktrace("ktrace.out", KTROP_SET, KTRFAC_CAPFAIL, cpid) != -1); /* Notify child that we've starting tracing. */