[pve-devel] [RFC common] add libpve-common-sys-perl package for platform dependent modules

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 3 09:14:54 CEST 2017


On 05/03/2017 09:08 AM, Dietmar Maurer wrote:
> ??
>
>> +	      SYS_unshare   =>   97,
>> +	      SYS_setns     =>  268,
>> +	      SYS_syncfs    =>  267,
>> +	      SYS_openat    =>   56,
>> +	      SYS_close     =>   57,
>> +	      SYS_mkdirat   =>   34,
>> +	      SYS_faccessat =>   48,
> I can find all those syscalls in:
>
> /usr/lib/x86_64-linux-gnu/perl/5.24.1/bits/syscall.ph
>
> So can't we simply use
>
> require("syscall.ph");

Seems do do what we want and works also, i send v2 :-)




More information about the pve-devel mailing list