[pve-devel] RFC: abstract raw syscall numbers out in a perl module

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 10 15:03:44 CEST 2017


The raw syscall numbers are problematic when porting PVE to other
architectures as for some reason the Linux syscall numbers differ between
those architectures.
The by h2ph produced syscall.ph file has all syscalls platform specific, but
as it is no Perl module it cannot be used in the common way.
I then jus added the PVE::Syscall module to pve-common which maps the
syscall.ph methods to constants and allows using them in a more sane way.





More information about the pve-devel mailing list