Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586489 > unrolled thread
| Started by | Aleksa Sarai <asarai@suse.de> |
|---|---|
| First post | 2017-02-22 22:20 +0100 |
| Last post | 2017-02-23 04:10 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [GIT PULL] namespaces related fixes for v4.11-rc1 Aleksa Sarai <asarai@suse.de> - 2017-02-22 22:20 +0100
Re: [GIT PULL] namespaces related fixes for v4.11-rc1 ebiederm@xmission.com (Eric W. Biederman) - 2017-02-23 02:40 +0100
Re: [GIT PULL] namespaces related fixes for v4.11-rc1 Aleksa Sarai <asarai@suse.de> - 2017-02-23 03:30 +0100
Re: [GIT PULL] namespaces related fixes for v4.11-rc1 Andy Lutomirski <luto@amacapital.net> - 2017-02-23 04:10 +0100
| From | Aleksa Sarai <asarai@suse.de> |
|---|---|
| Date | 2017-02-22 22:20 +0100 |
| Subject | Re: [GIT PULL] namespaces related fixes for v4.11-rc1 |
| Message-ID | <tdMum-7Lo-19@gated-at.bofh.it> |
> The only known user of this prctl systemd > forks all children after the prctl. So no userspace regressions will > occur. Note that runC and containerd (and thus Docker) as well as cri-o use the prctl as well -- to be able to collect exit codes from a non-child process (namely to collect the exit code from PID 1 in the container). -- Aleksa Sarai Software Engineer (Containers) SUSE Linux GmbH https://www.cyphar.com/
[toc] | [next] | [standalone]
| From | ebiederm@xmission.com (Eric W. Biederman) |
|---|---|
| Date | 2017-02-23 02:40 +0100 |
| Message-ID | <tdQxX-2ge-1@gated-at.bofh.it> |
| In reply to | #1586489 |
Aleksa Sarai <asarai@suse.de> writes: >> The only known user of this prctl systemd >> forks all children after the prctl. So no userspace regressions will >> occur. > > Note that runC and containerd (and thus Docker) as well as cri-o use the prctl > as well -- to be able to collect exit codes from a non-child process (namely to > collect the exit code from PID 1 in the container). Are any of those affected by the change? I would not expect so. As it would require having children or grand children whose exit codes you don't want to collect. Eric
[toc] | [prev] | [next] | [standalone]
| From | Aleksa Sarai <asarai@suse.de> |
|---|---|
| Date | 2017-02-23 03:30 +0100 |
| Message-ID | <tdRkm-2Po-17@gated-at.bofh.it> |
| In reply to | #1586599 |
>>> The only known user of this prctl systemd >>> forks all children after the prctl. So no userspace regressions will >>> occur. >> >> Note that runC and containerd (and thus Docker) as well as cri-o use the prctl >> as well -- to be able to collect exit codes from a non-child process (namely to >> collect the exit code from PID 1 in the container). > > Are any of those affected by the change? I would not expect so. As it > would require having children or grand children whose exit codes you > don't want to collect. AFAICS they do appear to work (and runC definitely calls the prctl before it creates the container init process -- so it shouldn't break anything for runC). I was just pointing out that systemd isn't the only major userspace user of the prctl (for future reference). -- Aleksa Sarai Software Engineer (Containers) SUSE Linux GmbH https://www.cyphar.com/
[toc] | [prev] | [next] | [standalone]
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Date | 2017-02-23 04:10 +0100 |
| Message-ID | <tdRX3-3og-1@gated-at.bofh.it> |
| In reply to | #1586599 |
On Wed, Feb 22, 2017 at 5:29 PM, Eric W. Biederman <ebiederm@xmission.com> wrote: > Aleksa Sarai <asarai@suse.de> writes: > >>> The only known user of this prctl systemd >>> forks all children after the prctl. So no userspace regressions will >>> occur. >> >> Note that runC and containerd (and thus Docker) as well as cri-o use the prctl >> as well -- to be able to collect exit codes from a non-child process (namely to >> collect the exit code from PID 1 in the container). > > Are any of those affected by the change? I would not expect so. As it > would require having children or grand children whose exit codes you > don't want to collect. FWIW, I have private code that uses PR_SET_CHILD_SUBREAPER, too. I don't see why it would be affected by this change.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web