Skip to content

Commit

Permalink
Fix arm build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuesch committed Oct 12, 2024
1 parent 1b06243 commit b760b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions letmein-seccomp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl Filter {
}
Allow::ArchPrctl { op: _ } => {
//TODO restrict to op
#[cfg(not(target_os = "android"))]
#[cfg(target_arch = "x86_64")]
add_sys(&mut map, sys!(SYS_arch_prctl));
}
Allow::Dup => {
Expand Down Expand Up @@ -341,7 +341,7 @@ impl Filter {
Allow::Stat => {
add_sys(&mut map, sys!(SYS_fstat));
add_sys(&mut map, sys!(SYS_statx));
#[cfg(not(target_os = "android"))]
#[cfg(target_arch = "x86_64")]
add_sys(&mut map, sys!(SYS_newfstatat));
}
Allow::Recv => {
Expand Down

0 comments on commit b760b12

Please sign in to comment.