commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.9-37-g34a94ce


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.9-37-g34a94ce
Date: Sat, 11 Mar 2017 12:25:10 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  34a94ce86b1bada9c0768f631540735d44f41100 (commit)
       via  baf7e5c8ce176aead15c2559952d8bdf0da41ffd (commit)
      from  150ff2ad69344d8555c14b42b2658313f16e9d1e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 34a94ce86b1bada9c0768f631540735d44f41100
Author: Justus Winter <address@hidden>
Date:   Thu Mar 9 23:55:12 2017 +0100

    proc: Hierarchical proc servers.
    
    Previously, a Subhurd's tasks were shown as weird processes in the
    Motherhurd.  This change connects the proc server in the Motherhurd
    with the proc server in the Subhurd, embedding the Subhurd's process
    hierarchy.  Subhurd's processes can now be inspected and debugged like
    any other process.
    
    * NEWS: Update.
    * boot/boot.c (mach_msg_forward): New function.
    (boot_demuxer): Forward messages arriving on the new task notification
    port from the proc server, and forward them to the proc server inside
    the Subhurd via the notification port.
    * proc/info.c (S_proc_task2proc): Relay request for processes in a task
    namespace to the Subhurd's proc server.
    (S_proc_pid2proc): Likewise.
    (S_proc_getprocargs): Likewise.
    (S_proc_getprocenv): Likewise.
    (S_proc_getprocinfo): Likewise.  Translate PIDs.
    (S_proc_getloginid): Likewise.
    (S_proc_getloginpids): Likewise.
    * proc/mgt.c (namespace_is_subprocess): New function.
    (namespace_translate_pids): Likewise.
    * proc/msg.c (S_proc_getmsgport): Relay request for processes in a task
    namespace to the Subhurd's proc server.
    * proc/pgrp.c (S_proc_getsid): Likewise.  Translate PIDs.
    (S_proc_getsessionpids): Likewise.
    (S_proc_getsessionpgids): Likewise.
    (S_proc_getpgrppids): Likewise.
    * proc/proc.h (namespace_is_subprocess): New prototype.
    (namespace_translate_pids): Likewise.

commit baf7e5c8ce176aead15c2559952d8bdf0da41ffd
Author: Justus Winter <address@hidden>
Date:   Fri Mar 10 12:36:39 2017 +0100

    hurd: Use polymorphic port types to return some rights.
    
    Currently, the RPC definitions of two procedures of the process
    subsystem assume that the rights are created from a receive right.
    Similarly, 'proc_getmsgport' assumes that the right is to be copied.
    This needlessly limits the ability to relay the RPC in server code.
    
    This fixes this.  The protocol is unchanged, only the generated server
    stubs assume an additional parameter for the type.
    
    * hurd/process.defs (proc_getmsgport): Make 'msgport' parameter
    polymorphic.
    (proc_task2proc): Make 'proc' parameter polymorphic.
    (proc_pid2proc): Likewise.
    * hurd/process_reply.defs (proc_getmsgport): Likewise.
    (proc_task2proc_reply): Likewise.
    (proc_pid2proc_reply): Likewise.
    * proc/info.c (S_proc_task2proc): Adapt server function.
    (S_proc_pid2proc): Likewise.
    * proc/msg.c (S_proc_getmsgport): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                    |   6 ++
 boot/boot.c             |  54 ++++++++++++
 hurd/process.defs       |   6 +-
 hurd/process_reply.defs |   6 +-
 proc/info.c             | 224 +++++++++++++++++++++++++++++++++++++++++++++++-
 proc/mgt.c              |  56 ++++++++++++
 proc/msg.c              |  32 ++++++-
 proc/pgrp.c             | 100 +++++++++++++++++++++
 proc/proc.h             |   2 +
 9 files changed, 474 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]