From nobody Mon Feb 14 21:54:33 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 B92A919BB946; Mon, 14 Feb 2022 21:54:33 +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 4JyJ0T4tbPz4rv5; Mon, 14 Feb 2022 21:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644875673; 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=C2sKCrhVsIHtSc0LBZpSIT+k+w9NHOpibLxlYSrrnKI=; b=IxT06505KIJz1fMJ1951HL98IIPIoK5FJQ/GiK/7gZqtf8gg3iOlLKLvDOuiTgD0VRwRtd QpWlYp/8ML/Hvq+6gsVUA36XbGB7KAFIgNQgdRZ5PrxzJV53l2ILh016OPMcvmsF8wa1Kx dOWzlobtIUo0qxSc8CjTNXuHnvTnFu/CYs9FImQqjKk0Z+yQChbJvTuaudcLLjumqFLHMC wLa3qi1wsu1tUunt7USm1GQou5pe92F0uEbH9j5CcPNR/qaqwGIfkA7qYYeI3tERtiVM4r GFzj7okTXUqoBmMnQN4U5Jq9onr2VR+JpA1JGiz+8SeNh3+rnrj0CsaotLaE9g== 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 8366E16745; Mon, 14 Feb 2022 21:54:33 +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 21ELsXcr010461; Mon, 14 Feb 2022 21:54:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21ELsXKW010460; Mon, 14 Feb 2022 21:54:33 GMT (envelope-from git) Date: Mon, 14 Feb 2022 21:54:33 GMT Message-Id: <202202142154.21ELsXKW010460@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Simon J. Gerraty" Subject: git: a8189e9bd4dd - main - veriexec(8): explain that only a unique prefix is required 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: sjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8189e9bd4ddd134f20c0e39a586fddf520cacf7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644875673; 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=C2sKCrhVsIHtSc0LBZpSIT+k+w9NHOpibLxlYSrrnKI=; b=AGrm4QUObLmPrsXiYpmUXBaaHgTFHDL96ZtnNvZOD/pM1KYyuRAQeEFYmggQZvIVfS/S7D /FMiQM+vAajHpmrx9Dq3opYW65zJTUxh71F9hm2AOb6JNaJNMnpJKdg6wXLzpLIXnVebhX MaAtKEmZUhDBWrk9EQUlyIEF6TgvL42WuHEG1JqWuitilinB4pQ2Y93BiDGCCNPTqDLLlP t4zNMyhwVGJt4HCt7qwJRbHhBzf6V7X4NVFlnwIqdzgZosGedih7c6hlf5Rv0okNWWEPQW AyQv9yxwrrl7Q04tEIofAeTi2tm0m8EmhLidBNanh0wl3JiSDZzieNaehmSEkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644875673; a=rsa-sha256; cv=none; b=jx7aUXa0Xxf0oexIIx4gLfnaScOLqbkVkiYQLcqU1U00OvJx2t6K85bHrYnb1xgzPimHcw ST+IeXyAEWk4BIoIlI0SsWLNUCpBj9h4b4uZZm5ByIT1yvEZw+/EsPt0alctFa0iF3OEGs syF71LgX60xvgjKKZskKi/v2uxH+wuqtEfQ+zvdMfRvrEkUBpGDYhSQeTAJ+8zt2SkrorL Du/6sBw5AvmBZbVNxV3ALdKfmJxCiwXsu5aSlvRtPBq3zjHSNqetWJ9X1kRY9s/CAkcxYX Y5HgRmtZPZ4fFHBrrk0sWh2oCKyb/qE1wjXAWU2gMvXwmNsewVh5Aggml4iAvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a8189e9bd4ddd134f20c0e39a586fddf520cacf7 commit a8189e9bd4ddd134f20c0e39a586fddf520cacf7 Author: Simon J. Gerraty AuthorDate: 2022-02-14 21:52:40 +0000 Commit: Simon J. Gerraty CommitDate: 2022-02-14 21:54:22 +0000 veriexec(8): explain that only a unique prefix is required When setting or querying state it is sufficient to provide only enough of the state name to be unambiguous. --- sbin/veriexec/veriexec.8 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sbin/veriexec/veriexec.8 b/sbin/veriexec/veriexec.8 index 9a6ebf4037df..161406ae6de2 100644 --- a/sbin/veriexec/veriexec.8 +++ b/sbin/veriexec/veriexec.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 4, 2018 +.Dd February 14, 2022 .Dt VERIEXEC 8 .Os .Sh NAME @@ -101,6 +101,20 @@ unless verified. .It Ar locked prevent loading of any more manifests. .El +.Pp +When setting or querying the state, it is sufficient to provide +a unique prefix of the desired state. +So +.Fl i +.Ar a +or +.Fl z +.Ar e +are sufficient, but +.Fl i +.Ar loc +is the minimum required to avoid confusion with +.Ar loaded . .Sh MANIFESTS The manifest contains a mapping of relative pathnames to fingerprints with optional flags.