OS-3149: lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2014-07-01T17:29:50.000Z
Updated at:2019-08-28T23:36:26.370Z

People

Created by:Former user
Reported by:Former user
Assigned to:Former user

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2014-07-18T16:27:20.000Z)

Fix Versions

2014-07-24 Tron (Release Date: 2014-07-24)

Labels

lxbrand

Description

lx brand processes always send SIGCHLD to their parents, regardless of such a signal being specified in the clone system call used to generate the process.

Comments

Comment by Former user
Created at 2014-07-02T01:21:11.000Z

There's a solution that gets half the functionality that I implemented. I changed the lx brand to use forkx and vforkx and to enable FORK_NOSIGCHLD when appropriate. Getting a non-SIGCHLD signal to be sent is more complex.


Comment by Former user
Created at 2014-07-17T16:55:37.000Z

illumos-joyent commit bf32d09 (branch master, by DJ Hoffman)

OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>