]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
use Syscall module instead of raw syscall numbers
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 May 2017 13:03:46 +0000 (15:03 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 24 May 2017 09:25:48 +0000 (11:25 +0200)
commit0389da0d5ef1fcafc8916e7046f69def280270bf
tree735c4b314f56fa58f99ea51c40335bb97cec756e
parentf6fa2a047190b6e430bfecce9e2316fd90d9db4d
use Syscall module instead of raw syscall numbers

Raw syscall numbers were not platform independent, so replace them
with the new PVE::Syscall module which gets the syscall numbers from
syscall.ph, which provides the platform local values.

we cannot directly use syscall.ph as it is no normal perl module and
so it's usage requires special handling

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC.pm