Skip to content

Commit bf86894

Browse files
committed
Fix typos
Signed-off-by: Lucy Menon <[email protected]>
1 parent 5560b9c commit bf86894

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hyperlight_host/benches/benchmarks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn guest_call_benchmark(c: &mut Criterion) {
8282
fn guest_call_benchmark_large_param(c: &mut Criterion) {
8383
let mut group = c.benchmark_group("guest_functions_with_large_parameters");
8484
#[cfg(target_os = "windows")]
85-
group.sample_size(10); // This benchark is very slow on Windows, so we reduce the sample size to avoid long test runs.
85+
group.sample_size(10); // This benchmark is very slow on Windows, so we reduce the sample size to avoid long test runs.
8686

8787
// This benchmark includes time to first clone a vector and string, so it is not a "pure' benchmark of the guest call, but it's still useful
8888
group.bench_function("guest_call_with_large_parameters", |b| {

src/hyperlight_host/src/seccomp/guest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ pub(crate) fn get_seccomp_filter_for_host_function_worker_thread(
120120
)?
121121
.try_into()?;
122122

123-
// If `openat` is an exclicitly allowed syscall, we shouldn't return the filter that forces it to return EACCES.
123+
// If `openat` is an explicitly allowed syscall, we shouldn't return the filter that forces it to return EACCES.
124124
if let Some(extra_syscalls) = extra_allowed_syscalls {
125125
if extra_syscalls.contains(&libc::SYS_openat) {
126126
return Ok(vec![allowlist]);

0 commit comments

Comments
 (0)