Fix typo.

PiperOrigin-RevId: 451345082
Change-Id: Id443348448fa4cb6e682d18be64d39e363e20e0c
This commit is contained in:
Sandboxed API Team 2022-05-27 02:41:42 -07:00 committed by Copybara-Service
parent a761362d71
commit 65487bca39
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ std::vector<sock_filter> Policy::GetDefaultPolicy() const {
bpf_labels l = {0}; bpf_labels l = {0};
std::vector<sock_filter> policy = { std::vector<sock_filter> 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, LOAD_ARCH,
JEQ32(Syscall::GetHostAuditArch(), JUMP(&l, past_arch_check_l)), JEQ32(Syscall::GetHostAuditArch(), JUMP(&l, past_arch_check_l)),
#if defined(SAPI_X86_64) #if defined(SAPI_X86_64)

View File

@ -78,7 +78,7 @@ namespace sandbox2 {
// //
// auto policy = PolicyBuilder.AllowRead().BuildOrDie(); // 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: // example as this:
// //
// PolicyBuilder builder; // PolicyBuilder builder;