Skip to content

Commit

Permalink
Bump Linux kernel ver to 6.10, brings new syscall mseal() (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fearyncess authored Sep 15, 2024
1 parent 21faac7 commit b4a882b
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 15 deletions.
4 changes: 3 additions & 1 deletion src/arch/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/loongarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/mips.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,8 @@ syscall_enum! {
lsm_set_self_attr = 4460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 4461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 4462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/mips64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,8 @@ syscall_enum! {
lsm_set_self_attr = 5460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 5461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 5462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/powerpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/powerpc64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/riscv32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/riscv64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/s390x.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/sparc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/sparc64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
4 changes: 3 additions & 1 deletion src/arch/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ syscall_enum! {
lsm_set_self_attr = 460,
/// See [lsm_list_modules(2)](https://man7.org/linux/man-pages/man2/lsm_list_modules.2.html) for more info on this syscall.
lsm_list_modules = 461,
/// See [mseal(2)](https://man7.org/linux/man-pages/man2/mseal.2.html) for more info on this syscall.
mseal = 462,
}
LAST: lsm_list_modules;
LAST: mseal;
}
2 changes: 1 addition & 1 deletion syscalls-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod tables;
static LINUX_REPO: &str = "https://raw.githubusercontent.com/torvalds/linux";

/// Linux version to pull the syscall tables from.
static LINUX_VERSION: &str = "v6.8";
static LINUX_VERSION: &str = "v6.10";

lazy_static! {
/// List of syscall tables for each architecture.
Expand Down

0 comments on commit b4a882b

Please sign in to comment.