Re: Hacking gnumach to track parental relationship of tasks

2013-09-12 Thread Richard Braun
On Thu, Sep 12, 2013 at 08:24:41AM +0200, Samuel Thibault wrote: > Richard Braun, le Thu 12 Sep 2013 01:57:10 +0200, a écrit : > > How come it appears in the output of rpctrace then ? > > As I said, glibc probably nicely uses the RPC instead of the trap. Then why are we discussing interposing sys

Re: Hacking gnumach to track parental relationship of tasks

2013-09-12 Thread Samuel Thibault
Richard Braun, le Thu 12 Sep 2013 10:33:23 +0200, a écrit : > On Thu, Sep 12, 2013 at 08:24:41AM +0200, Samuel Thibault wrote: > > Richard Braun, le Thu 12 Sep 2013 01:57:10 +0200, a écrit : > > > How come it appears in the output of rpctrace then ? > > > > As I said, glibc probably nicely uses th

Re: Hacking gnumach to track parental relationship of tasks

2013-09-12 Thread Richard Braun
On Thu, Sep 12, 2013 at 10:38:31AM +0200, Samuel Thibault wrote: > Richard Braun, le Thu 12 Sep 2013 10:33:23 +0200, a écrit : > > Then why are we discussing interposing system calls ? > > Because a malicious program can still use the trap to escape whatever > cgroup system we are setting up. I s

Small cleanup of the device lookup code

2013-09-12 Thread Marin Ramesa
What follows is a small cleanup of the device lookup code. [PATCH 1/2] remove register qualifiers [PATCH 2/2] remove definition of NDEVICES

[PATCH 1/2] remove register qualifiers

2013-09-12 Thread Marin Ramesa
* device/dev_lookup.c: Remove register qualifiers. --- device/dev_lookup.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/device/dev_lookup.c b/device/dev_lookup.c index 98a2d02..e156d1a 100644 --- a/device/dev_lookup.c +++ b/device/dev_

[PATCH 2/2] remove definition of NDEVICES

2013-09-12 Thread Marin Ramesa
NDEVICES is never used. Judging by the position and the comments it was once used in initialization, but it's not anymore. I think it's safe to remove it. * device/dev_lookup.c (NDEVICES): Remove definition. --- device/dev_lookup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/device/dev_

Re: [PATCH 1/2] qualify constants as const

2013-09-12 Thread Marin Ramesa
On 11.09.2013 23:05:44, Samuel Thibault wrote: > Marin Ramesa, le Tue 10 Sep 2013 10:38:04 +0200, a écrit : > > #ifDEBUG > > -int cb_check_enable = 0; > > +const int cb_check_enable = 0; > > I'd rather not. > > It is useful to be able to modify the value "live" from the debugger, > so as

Re: [PATCH 1/2] qualify constants as const

2013-09-12 Thread Samuel Thibault
Marin Ramesa, le Fri 13 Sep 2013 00:16:57 +0200, a écrit : > On 11.09.2013 23:05:44, Samuel Thibault wrote: > > Marin Ramesa, le Tue 10 Sep 2013 10:38:04 +0200, a écrit : > > > #if DEBUG > > > -int cb_check_enable = 0; > > > +const int cb_check_enable = 0; > > > > I'd rather not. > > > > It

glib2.0 test gio/tests/socket fails, BUG?

2013-09-12 Thread Svante Signell
Hello, Running the test suite for glib2.0 one test: gio/tests/socket, sub-test: /socket/unix-connection-ancillary-data fails for unknown reasons The ancillary data sent is using SCM_RIGHTS (not SCM_CREDS). The latest libc-2.17-92, hurd-20130727 and glib2.0-2.36.4-1, are installed. The test errors