From nobody Sun Jul 28 15:34: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 4WX5BX4699z5SMS5; Sun, 28 Jul 2024 15:34: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 4WX5BX3Wf6z4jcP; Sun, 28 Jul 2024 15:34:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722180852; 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=zn0fLLbglkc0EOGWV9cCOmMNTNa+ENfXZRJR3bTmDHc=; b=fdw1uB/6mhjr6RMQEs8oLCdg3Ph58ZvXwXQIoTuT6N+/F5NUoYKXymhs5ktWsEAI+hdBp1 FQB0w7vzh6XRfW+Bm0TkY9iBxFsVcIqxcWPEpNGoUswjf+P9OUkzuRUjfMCpJH4/lArNSn qOKXyPYDYySGsuY+4wnlbuR/6nm0Ct7WNofc7ID3DvsLHmSM/MO4RtREPr1tIQQ37Nk7CF OzMunIozl2MjXBayeNZ5G3/FaPAr0TDGzTZsD5Pdw9Kycj350TQxdUkp1aknYak2Q5KlP6 WwkLtqWdDThbsn+clANcd7+U8W+WPKXKDRtdkI5M5HnXrPTth7zraaWlLn6wbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722180852; a=rsa-sha256; cv=none; b=oB7HldUO1A/wEZW6DS4Q0jolT/G5moa4NqA0j38scdEh7HHh0wgOVmBrl4udOL2e+EjXpr iCYEcT2Kfy8wQWgsB+sJ4HPRA7MtegciQxle3AJmQ1/yJlQwiFqfxeP4GLrus4ab8SuqwB hCpjKmPfcI6XSBqYuO/a8B+vyeoOgD9hVg51aQRikuCdn1An8UHftrp9tKa9KLDsM6jZcr kSzjCLERdjSljqg7KSYAWpFQ0jaL6v+w68HHB4ZXPSSBmRMdqkYJ07lws2tNJOpZ4m5fYw VxDgX8oDt33sOtU+B/RbROkeJ8F59Y6SJH1aqrJ2To0ZtabgwPiw67C/aW0Zsg== 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=1722180852; 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=zn0fLLbglkc0EOGWV9cCOmMNTNa+ENfXZRJR3bTmDHc=; b=LhfGntbtmse2M/Co7TB6pSk/F5ywgeILiBocM0Bhq82FvflJe5rK7OVuSyLRQUui+r7ZmQ S6qVGEFXKF+a+gVLI6x92aj5LtJCC724xnG0/1ZuHsD0axe9Pf1W3BH80nw6I+OfvsCW6H JWjOQlA3iVH1crgiHjzSMlnZK6p2GfN1sRUwcAhrUWEOKEZtACXpDXQCYI3hwJliMUnLFb CEdqggae8wMvRoxJrN0e+w01p+0QDkXHlz1cnmYFlMF8RP6LzKkbTW6pMOwSFHz+ReNCS/ eedTprnVLDvL++NX4eFPVIeIsRVEe8KjLuSwef2zxqN41jtuQYjesBO6L4Vqzw== 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 4WX5BX32CFzwFd; Sun, 28 Jul 2024 15:34: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 46SFYC4A059073; Sun, 28 Jul 2024 15:34:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46SFYCOR059070; Sun, 28 Jul 2024 15:34:12 GMT (envelope-from git) Date: Sun, 28 Jul 2024 15:34:12 GMT Message-Id: <202407281534.46SFYCOR059070@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 9cc67e43610e - main - ktrace tests: Add a missing mode in open(O_CREAT) 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9cc67e43610e34a692398a65adcc5e8846e84250 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=9cc67e43610e34a692398a65adcc5e8846e84250 commit 9cc67e43610e34a692398a65adcc5e8846e84250 Author: Mark Johnston AuthorDate: 2024-07-28 15:31:40 +0000 Commit: Mark Johnston CommitDate: 2024-07-28 15:31:40 +0000 ktrace tests: Add a missing mode in open(O_CREAT) MFC after: 1 week --- 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. */