Am 24.03.25 um 13:38 schrieb Wolfgang Bumiller:
> On Fri, Mar 21, 2025 at 02:48:44PM +0100, Fiona Ebner wrote:
>> diff --git a/src/PVE/LXC/Namespaces.pm b/src/PVE/LXC/Namespaces.pm
>> new file mode 100644
>> index 0000000..e4b1e5f
>> --- /dev/null
>> +++ b/src/PVE/LXC/Namespaces.pm
>> @@ -0,0 +1,60 @@
>> +package PVE::LXC::Namespaces;
>> +
>> +use strict;
>> +use warnings;
>> +
>> +use Fcntl qw(O_WRONLY);
>> +use Socket;
>> +
>> +use PVE::Tools;
>> +
>> +use constant {CLONE_NEWNS   => 0x00020000,
>> +              CLONE_NEWUSER => 0x10000000};
> 
> nit: ^ those can be imported from `PVE::Tools`.

Will do so in v6.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to