From nobody Mon Nov 04 13:58:03 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 4XhtMw1HFnz5c6dB; Mon, 04 Nov 2024 13:58:04 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhtMw0jvxz4Rb3; Mon, 4 Nov 2024 13:58:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730728684; 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=55RdRNQCWT9dyRsj0c+hR9PiZGQMIThPVz5JZ6Gu2lY=; b=gVPsOx5yQ0WTHaUDJhmGhh/AuKommdxB9MeDeTXIsVhGDRAUebrVOHqyrpyGnaUVcx5pM4 f8yIAwI7MJ0ZNVi1jHfRRO2aCj23mRmA30mv3rSq15K/CyltT+Nm4WKHbzDs1LqKVCK8aq 58G04LbAzqdEvO57nvLaV52UKATjPgwuc6aWIWWdGNSikAGJ00VQ0sqg7EzYEw5ZBtTVSh 9UDwb8Mq8eAS08Gp1tGlN9nLkqqV/muAjxgnDhfHn739SaXh4K+O5s3A23pF4D0QWCefQi MXf3OrZxqkKzBcEhN0WFRnQq3ciY4bVvaSlvdc2U8d82drS0f7haucR7ZFJPig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730728684; 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=55RdRNQCWT9dyRsj0c+hR9PiZGQMIThPVz5JZ6Gu2lY=; b=wDHyFvVhOA2HjGnNFeLLgY4v+ooS5wF5V3/FuS4JtK+MWS21S5T+UxNY+2OxtAs7oF50sX QrVSVshVr/dvKVhHuMZSuNwaaskPDfEk9hD2uB4qBwoT54xaCPf1FrekQz3/e2b59fhc+w pYqBcwMuJ/JhIXI4D1JzLdyxjAzPZEg8KTT3lkh20gVeDQYfpyEmhj4IMOS9yGUxupAgeU GA9WN4A86258YWHFs9Exg5FBad4n3p7F+bAIqE4D1MBiqT/G8shuj3dDwZshRA2bhgg8jg FHRO2tDwOk7Bh89DVquqS08eqF0MGk1s4IRwquwoNGPePB2OfyZVX7hBLuS0WQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730728684; a=rsa-sha256; cv=none; b=yimhLY8qt9ren9OARj376DmYqmd4O1Kx3K+wpYUH3mURjcrd/xaKg4bbsNl3ltl9U4cVyr Gru5RENQ3HIQDaHcLkYdyD3ziUfv/Cudah9DLI4ssVV38nrvRdFGD+Z8EUATe8pGrYTduZ Gi8JIy14IVy1Q48jUWXZXrA3+T9AmNZqvCQ0G2orlrBumbwGFfDp9uaImjRx66BUlFM4Gu JSzGOw3ePVX0iKIIPDawKxoxZx6FHFCi9wUmj8TDIy72nwnnWYKkB/uWXH5lUCBaHtnD2t DyReE89SPfTBzjsIrVVCUtqRnD6YZCv1zkfFKeOPOlyTgHZ8DnRRB/nsIA5Aww== 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 4XhtMv72nzzbGH; Mon, 4 Nov 2024 13:58:03 +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 4A4Dw354047875; Mon, 4 Nov 2024 13:58:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4Dw32K047872; Mon, 4 Nov 2024 13:58:03 GMT (envelope-from git) Date: Mon, 4 Nov 2024 13:58:03 GMT Message-Id: <202411041358.4A4Dw32K047872@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: 914752d0f7f8 - main - praudit: correct test case 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: 914752d0f7f874ab4fc8393aee28c22df87324f2 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=914752d0f7f874ab4fc8393aee28c22df87324f2 commit 914752d0f7f874ab4fc8393aee28c22df87324f2 Author: Ed Maste AuthorDate: 2024-11-04 13:42:00 +0000 Commit: Ed Maste CommitDate: 2024-11-04 13:57:13 +0000 praudit: correct test case The -n flag specifies that user and group IDs should remain numeric, not be mapped to names. The golden output for praudit -n, however, contained user and group names. Reported by: markj Reviewed by: markj Fixes: ba10bfe509dc ("libbsm: honour AU_OFLAG_NORESOLVE") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47434 --- usr.sbin/praudit/tests/input/numeric_form | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/praudit/tests/input/numeric_form b/usr.sbin/praudit/tests/input/numeric_form index 09f089450ac3..144be694f2e4 100644 --- a/usr.sbin/praudit/tests/input/numeric_form +++ b/usr.sbin/praudit/tests/input/numeric_form @@ -2,6 +2,6 @@ header,113,11,socket(2),0,Mon Jun 11 10:18:45 2018, + 380 msec argument,1,0x1c,domain argument,2,0x2,type argument,3,0x0,protocol -subject,root,root,wheel,root,wheel,7053,4724,37636,10.0.2.2 +subject,0,0,0,0,0,7053,4724,37636,10.0.2.2 return,success,3 trailer,113