Skip to content

Commit

Permalink
Fix syscalls.
Browse files Browse the repository at this point in the history
  • Loading branch information
yxd-ym committed Jan 26, 2024
1 parent 3d61862 commit 7455a4c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions zig/lib/std/os/linux/syscalls.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3901,6 +3901,7 @@ pub const LoongArch64 = enum(usize) {
unlinkat = 35,
symlinkat = 36,
linkat = 37,
///
umount2 = 39,
mount = 40,
pivot_root = 41,
Expand Down Expand Up @@ -3941,8 +3942,8 @@ pub const LoongArch64 = enum(usize) {
splice = 76,
tee = 77,
readlinkat = 78,
fstatat = 79,
fstat = 80,
/// fstatat = 79,
/// fstat = 80,
sync = 81,
fsync = 82,
fdatasync = 83,
Expand Down Expand Up @@ -4025,8 +4026,8 @@ pub const LoongArch64 = enum(usize) {
uname = 160,
sethostname = 161,
setdomainname = 162,
getrlimit = 163,
setrlimit = 164,
/// getrlimit = 163,
/// setrlimit = 164,
getrusage = 165,
umask = 166,
prctl = 167,
Expand Down Expand Up @@ -4164,9 +4165,18 @@ pub const LoongArch64 = enum(usize) {
landlock_create_ruleset = 444,
landlock_add_rule = 445,
landlock_restrict_self = 446,
memfd_secret = 447,
/// memfd_secret = 447,
process_mrelease = 448,
futex_waitv = 449,
set_mempolicy_home_node = 450,
cachestat = 451,
fchmodat2 = 452,
futex_wake = 454,
futex_wait = 455,
futex_requeue = 456,
statmount = 457,
listmount = 458,
lsm_get_self_attr = 459,
lsm_set_self_attr = 460,
lsm_list_modules = 461,
};

0 comments on commit 7455a4c

Please sign in to comment.