]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Syscall.pm
bump version to 8.2.1
[pve-common.git] / src / PVE / Syscall.pm
index 516e408ed3caa36bf1f9724b981374a2feff4d87..9ef3d5deaafe44d370022e148a5424b0ca736d94 100644 (file)
@@ -1,5 +1,8 @@
 package PVE::Syscall;
 
+use strict;
+use warnings;
+
 my %syscalls;
 my %fsmount_constants;
 BEGIN {
@@ -13,19 +16,26 @@ BEGIN {
        openat => &SYS_openat,
        close => &SYS_close,
        mkdirat => &SYS_mkdirat,
+       mknod => &SYS_mknod,
        faccessat => &SYS_faccessat,
        setresuid => &SYS_setresuid,
        fchownat => &SYS_fchownat,
        mount => &SYS_mount,
-
-       # These use asm-generic, so they're the same across (sane) architectures. We use numbers
-       # since they're not in perl's syscall.ph yet...
-       open_tree => 428,
-       move_mount => 429,
-       fsopen => 430,
-       fsconfig => 431,
-       fsmount => 432,
-       fspick => 433,
+       renameat2 => &SYS_renameat2,
+       open_tree => &SYS_open_tree,
+       move_mount => &SYS_move_mount,
+       fsopen => &SYS_fsopen,
+       fsconfig => &SYS_fsconfig,
+       fsmount => &SYS_fsmount,
+       fspick => &SYS_fspick,
+       getxattr => &SYS_getxattr,
+       setxattr => &SYS_setxattr,
+       fgetxattr => &SYS_fgetxattr,
+       fsetxattr => &SYS_fsetxattr,
+       prctl => &SYS_prctl,
+
+       # Below aren't yet in perl's syscall.ph but use asm-generic, so the same across (sane) archs
+       # -> none unknown currently, yay
     );
 
     %fsmount_constants = (
@@ -90,3 +100,5 @@ sub file_handle_result($) {
 
     return $fh;
 }
+
+1;