Hello Samuel an thanks for all your work around HURD.
I would like a hurd talk about how to contribute. For example, how to fix a
simple bug, create a patch... I mean the steps the developers doing when need
to fix a bug. Or how to prepare an environment to test and fix bugs. How
developers wo
On Thu, Nov 13, 2014 at 12:44:12PM +0100, Justus Winter wrote:
> Well, the proc server registers for these notifications. I'll add
> this RPC to the process protocol:
This looks good to me. I like that it relies on the kernel for
security, but that it's also minimalist.
--
Richard Braun
---
proc/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/proc/Makefile b/proc/Makefile
index 2275a66..7cc4af5 100644
--- a/proc/Makefile
+++ b/proc/Makefile
@@ -32,6 +32,9 @@ MIGSTUBS = processServer.o notifyServer.o \
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
HURDLIBS = ihash ports shoul
Add a new RPC to the process protocol to create task namespaces.
These can be used by an unprivileged process to claims the
responsibility to manage all tasks in this namespace. Any task
created in this namespace will automatically be declared a child of
the root process, and a `mach_notify_new_ta
* proc/Makefile (MIGSTUBS): Add `gnumachServer.o'.
* proc/main.c (message_demuxer): Handle the `task_notify' protocol.
(main): Register for new task notificatinos.
* proc/mgt.c (S_mach_notify_new_task): Add server function.
---
proc/Makefile | 4 +++-
proc/main.c | 11 ++-
proc/mgt.c
* proc/proc.h (struct proc): Add field `p_task_namespace'.
* proc/mgt.c (S_proc_child): Propagate `p_task_namespace' to child.
(allocate_proc): Initialize `p_task_namespace'.
(namespace_terminate): New function.
(process_has_exited): Reparent children of dead tasks in the namespace
to the root proc
* Makeconf (mach_defs_names): Add `task_notify'.
---
Makeconf | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makeconf b/Makeconf
index f0d3fe3..5439913 100644
--- a/Makeconf
+++ b/Makeconf
@@ -577,6 +577,7 @@ mach_defs_names = bootstrap exc mach mach4 \
mach_host mach_port mach_timer_
Quoting Richard Braun (2014-11-13 12:25:14)
> On Thu, Nov 13, 2014 at 12:09:03PM +0100, Justus Winter wrote:
> > Possession of the privileged host control port, and it is only
> > possible to register for these notifications once.
>
> How does this recurse in the subhurd ?
Well, the proc server r
On Thu, Nov 13, 2014 at 12:09:03PM +0100, Justus Winter wrote:
> Possession of the privileged host control port, and it is only
> possible to register for these notifications once.
How does this recurse in the subhurd ?
--
Richard Braun
Quoting Richard Braun (2014-11-13 11:30:20)
> On Wed, Nov 12, 2014 at 04:49:07PM +0100, Justus Winter wrote:
> > Overall it's looking good, time to get the discussion going.
>
> What privilege is required to request these notifications ?
Possession of the privileged host control port, and it is o
On Wed, Nov 12, 2014 at 04:49:07PM +0100, Justus Winter wrote:
> Overall it's looking good, time to get the discussion going.
What privilege is required to request these notifications ?
--
Richard Braun
11 matches
Mail list logo