From 65487bca398bd75897a6f8ffe167cc4624325439 Mon Sep 17 00:00:00 2001 From: Sandboxed API Team Date: Fri, 27 May 2022 02:41:42 -0700 Subject: [PATCH] Fix typo. PiperOrigin-RevId: 451345082 Change-Id: Id443348448fa4cb6e682d18be64d39e363e20e0c --- sandboxed_api/sandbox2/policy.cc | 2 +- sandboxed_api/sandbox2/policybuilder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sandboxed_api/sandbox2/policy.cc b/sandboxed_api/sandbox2/policy.cc index 1819bee..8cd2878 100644 --- a/sandboxed_api/sandbox2/policy.cc +++ b/sandboxed_api/sandbox2/policy.cc @@ -82,7 +82,7 @@ std::vector Policy::GetDefaultPolicy() const { bpf_labels l = {0}; std::vector policy = { - // If compiled arch is different than the runtime one, inform the Monitor. + // If compiled arch is different from the runtime one, inform the Monitor. LOAD_ARCH, JEQ32(Syscall::GetHostAuditArch(), JUMP(&l, past_arch_check_l)), #if defined(SAPI_X86_64) diff --git a/sandboxed_api/sandbox2/policybuilder.h b/sandboxed_api/sandbox2/policybuilder.h index a8969f6..6e26346 100644 --- a/sandboxed_api/sandbox2/policybuilder.h +++ b/sandboxed_api/sandbox2/policybuilder.h @@ -78,7 +78,7 @@ namespace sandbox2 { // // auto policy = PolicyBuilder.AllowRead().BuildOrDie(); // -// If you dislike the chained style, is is also possible to write the first +// If you dislike the chained style, it is also possible to write the first // example as this: // // PolicyBuilder builder;