Skip to content

Commit

Permalink
Merge pull request #81 from zhaixiaojuan/master
Browse files Browse the repository at this point in the history
Add CAPGET and CAPSET for LoongArch64
  • Loading branch information
lucab authored Nov 2, 2022
2 parents c5093eb + 451df44 commit 8b0d0f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ pub const CAPSET: i64 = 22;
pub const CAPGET: i64 = 90;
#[cfg(target_arch = "riscv64")]
pub const CAPSET: i64 = 91;

#[cfg(target_arch = "loongarch64")]
pub const CAPGET: i64 = 90;
#[cfg(target_arch = "loongarch64")]
pub const CAPSET: i64 = 91;

0 comments on commit 8b0d0f5

Please sign in to comment.