Re: netmsg can now exec files (sort of)

2016-08-30 Thread Richard Braun
On Mon, Aug 29, 2016 at 03:56:00PM -1000, Brent W. Baccala wrote: > I've figured out why the patched exec server didn't work with mmap, and > just opened a bug on it, with a fix attached. > > So now I've got a working, mmap-less exec server that burns a lot of extra > RAM (each process gets its

Re: netmsg can now exec files (sort of)

2016-08-29 Thread Brent W. Baccala
I've figured out why the patched exec server didn't work with mmap, and just opened a bug on it, with a fix attached. So now I've got a working, mmap-less exec server that burns a lot of extra RAM (each process gets its own private copy of the C library), but lets me execute files across a netmsg

Re: netmsg

2016-08-24 Thread Brent W. Baccala
On Tue, Aug 23, 2016 at 11:45 PM, Brent W. Baccala wrote: > > Any ideas why this basic sequence wouldn't work? > >node = file_name_lookup("/lib/ld.so", O_RDONLY, 0) >io_map(node, , ) >/* create control and objname with send/receive rights on both */ >

Re: netmsg

2016-08-24 Thread Brent W. Baccala
On Tue, Aug 23, 2016 at 2:12 AM, Richard Braun wrote: > > > It's got a lot of problems. No authentication handoff; everything the > > client requests happens with the permissions of the server. exec'ing a > > file doesn't work; the last RPC before the hang is

Re: netmsg

2016-08-23 Thread Richard Braun
On Mon, Aug 22, 2016 at 04:40:58PM -1000, Brent W. Baccala wrote: > I've gotten a basic netmsg server/translator running that relays Mach > messages across a TCP/IP connection. > > The code is available at g...@github.com:BrentBaccala/netmsg.git That's great. > It's got a lot of problems. No