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.git20201127-5-gb9fe5b6


From: Samuel Thibault
Subject: [SCM] Hurd branch, master, updated. v0.9.git20201127-5-gb9fe5b6
Date: Sat, 26 Dec 2020 19:02:05 -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  b9fe5b6eadc913ead80531905aeafa51ed0d4ccd (commit)
       via  d7964b08211f5221e73400ed36093d44f9455fff (commit)
       via  a14bade6c6c17df9c0877c30e4903a1e2d8175fd (commit)
      from  2d43074ac578d3a4ce97bf00e5c4882c9f287486 (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 b9fe5b6eadc913ead80531905aeafa51ed0d4ccd
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 27 00:58:17 2020 +0100

    Add proc_waitid
    
    proc_wait assumes that the caller always wants WEXITED, but waitid()
    does not. The new proc_waitid RPC requires the caller to specify at
    least one of WEXITED, WSTOPPED, or WCONTINUED.
    
    * hurd/process.defs (proc_waitid): New RPC.
    * hurd/process_reply.defs (proc_waitid): New RPC.
    * hurd/process_request.defs (proc_waitid): New RPC.
    * proc/proc.h (struct proc): Add p_continued field.
    * proc/wait.c (WCONTINUED, WEXITED): Define if not already defined.
    (S_proc_wait): Rename implementation to S_proc_waitid, and modify to
    stop assuming WEXITED. Add support for WCONTINUED.
    (S_proc_wait): Reimplement by just calling S_proc_waitid with an
    additional WEXITED.
    (proc_mark_stop): Clear p_continued.
    (proc_mark_cont): Set p_continued, clear p_waited, wake any waiting
    parent.

commit d7964b08211f5221e73400ed36093d44f9455fff
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 27 00:55:42 2020 +0100

    proc: Also send SIGCHLD on child restart
    
    * proc/wait.c (S_proc_mark_cont): When parent has not set nostopcld,
    send a SIGCHLD with CLD_CONTINUED.

commit a14bade6c6c17df9c0877c30e4903a1e2d8175fd
Author: Jeremie Koenig <jk@jk.fr.eu.org>
Date:   Sun Dec 27 00:53:20 2020 +0100

    proc: send signals with POSIX sigcodes
    
    * proc/stubs.c (send_signal): Add a sigcode argument.
    * proc/proc.h (send_signal): Declare the sigcode argument.
    * proc/pgrp.c (leave_pgrp): Specify a null sigcode.
    * proc/wait.c (alert_parent): Use CLD_EXITED for SIGCHLD on exit.
    (S_proc_mark_stop): Use CLD_STOPPED for SIGCHLD on stop.

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

Summary of changes:
 hurd/process.defs         | 17 +++++++++++++
 hurd/process_reply.defs   |  2 ++
 hurd/process_request.defs |  2 ++
 proc/pgrp.c               |  4 +--
 proc/proc.h               |  3 ++-
 proc/stubs.c              |  3 ++-
 proc/wait.c               | 65 +++++++++++++++++++++++++++++++++++++----------
 7 files changed, 79 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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