Re: [PATCH] setpgid.2, exit.3: document the lack of POSIX-specified behaviour inside PID NS

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

 



On Thu, Mar 7, 2019 at 8:05 PM Eugene Syromyatnikov <evgsyr@xxxxxxxxx> wrote:
>
> The POSIX-mandated behaviour of sending SIGCONT/SIGHUP to stopped processes
> of an orphaned process group is not observed inside PID namespaces, as
> can be verified by running [1] inside a PID namespace, for example.
>
> The derivation is (presumably) introduced by Linux commit
s/derivation/deviation/

> v2.6.24-rc1~237 ("pid namespaces: define is_global_init() and
> is_container_init()").
>
> [1] https://gitlab.com/strace/strace/commit/4278e6613f48273e7da0989712f1c18aaffefd84
>
> Reported-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>

It should probably also be noted that the behaviour is also described
in TLPI, Section 34.8 ("Process groups, sessions, and job control:
Summary"), so it also likely has to be updated.

-- 
Eugene Syromyatnikov
mailto:evgsyr@xxxxxxxxx
xmpp:esyr@jabber.{ru|org}



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux