Re: [RFC][PATCH 7/8]: Auto-create ptmx node when mounting devpts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting H. Peter Anvin (hpa@xxxxxxxxx):
> Alan Cox wrote:
>>> auto-created, than supporting mknod(2) inside the devpts filesystem.  
>>> It's not a matter of "changing the user space"; it's a matter of what 
>>> makes most sense inside the kernel.
>>
>> Having an extra node with different permissions suddenely appear without
>> warning isn't I think good behaviour.
>
> Hm.  Given that the single-instance mode is the backwards compatibility  
> mode (and it's accessible from outside the filesystem), it probably  
> makes sense to suppress creating this device node when *not* applying  
> the "newns" option, or whatever we want to call it.

That makes sense.  But if Suka does that, then is creating the device
when the newns flag is specified ok with you, Alan?

>> I'm open to being convinced and the
>> other problems with that code are more pressing.
>
> Agreed.
>
> 	-hpa

thanks,
-serge
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux