mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix typo.
PiperOrigin-RevId: 451345082 Change-Id: Id443348448fa4cb6e682d18be64d39e363e20e0c
This commit is contained in:
parent
a761362d71
commit
65487bca39
|
@ -82,7 +82,7 @@ std::vector<sock_filter> Policy::GetDefaultPolicy() const {
|
|||
bpf_labels l = {0};
|
||||
|
||||
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,
|
||||
JEQ32(Syscall::GetHostAuditArch(), JUMP(&l, past_arch_check_l)),
|
||||
#if defined(SAPI_X86_64)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user