[Devel] [PATCH rh7] vtty: Register devices in sysfs

Stanislav Kinsburskiу skinsbursky at odin.com
Tue Dec 1 03:40:20 PST 2015


1 дек. 2015 г. 12:29 PM пользователь Cyrill Gorcunov <gorcunov at odin.com> написал:
>
> On Tue, Dec 01, 2015 at 12:17:09PM +0100, Stanislav Kinsburskiy wrote: 
> > >Aftre a few conversations it seems the better option is to 
> > >merge this fix for Beta2 but for Beta2.5 simply 
> > > 
> > >  - revert all our tty device-namespace code leaving with 
> > >    native code instead 
> > >  - setup proper rules (such as sys/devices/virtual/tty[0-12] rx 
> > >    in default permissions) 
> > >  - drop legacy pty support 
> > > 
> > >which would make code easier to support in future. Actually I 
> > >already testing this changes. 
> > 
> > How per-ve switch on file open will be managed? 
> > By using get_exec_env()? 
>
> Which open you mean? If /dev/ttyX then yes -- via get_exec_env. 
> If you mean pty devices then via devpts (each container has own devpts 
> filesystem). 

Thanks.



More information about the Devel mailing list