Re: Sandbox thoughts

On fre, 2015-02-20 at 17:05 -0800, Andy Lutomirski wrote:
On Fri, Feb 20, 2015 at 4:43 PM, Andy Lutomirski <luto amacapital net> wrote:

The restriction of having uid 0 and gid 0 mapped is just that /dev/ptmx is
and has alwasy been owned by root and so mknod_ptmx just won't let you
create a device inode as with a uid or gid you can't map.

All we'd have to do is to add ptmx_uid and ptmx_gid options, right?
I'll send a patch.

With the patch I just sent out, the attached version of the test code works.

I'll be off skiing next week, but when I get back I'll have a look at
integrating this.

 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's an ungodly bohemian sorceror for the 21st century. She's a 
hard-bitten mute politician living homeless in New York's sewers. They 
fight crime! 

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