Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Daniel Colascione
On Thu, Nov 1, 2018 at 10:47 AM, Aleksa Sarai wrote: > On 2018-11-01, Daniel Colascione wrote: >> On Thu, Nov 1, 2018 at 7:00 AM, Aleksa Sarai wrote: >> > On 2018-10-29, Daniel Colascione wrote: >> >> This patch adds a new file under /proc/pid, /proc/pid/exithand. >> >> Attempting to read from

Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Aleksa Sarai
On 2018-11-01, Daniel Colascione wrote: > On Thu, Nov 1, 2018 at 7:00 AM, Aleksa Sarai wrote: > > On 2018-10-29, Daniel Colascione wrote: > >> This patch adds a new file under /proc/pid, /proc/pid/exithand. > >> Attempting to read from an exithand file will block until the > >> corresponding pro

Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Daniel Colascione
On Thu, Nov 1, 2018 at 7:00 AM, Aleksa Sarai wrote: > On 2018-10-29, Daniel Colascione wrote: >> This patch adds a new file under /proc/pid, /proc/pid/exithand. >> Attempting to read from an exithand file will block until the >> corresponding process exits, at which point the read will successful

Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Christian Brauner
On November 1, 2018 8:06:52 AM GMT+01:00, Aleksa Sarai wrote: >On 2018-11-01, Aleksa Sarai wrote: >> On 2018-10-29, Daniel Colascione wrote: >> > This patch adds a new file under /proc/pid, /proc/pid/exithand. >> > Attempting to read from an exithand file will block until the >> > corresponding

Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Aleksa Sarai
On 2018-11-01, Aleksa Sarai wrote: > On 2018-10-29, Daniel Colascione wrote: > > This patch adds a new file under /proc/pid, /proc/pid/exithand. > > Attempting to read from an exithand file will block until the > > corresponding process exits, at which point the read will successfully > > complet

Re: [RFC PATCH v2] Minimal non-child process exit notification support

2018-11-01 Thread Aleksa Sarai
On 2018-10-29, Daniel Colascione wrote: > This patch adds a new file under /proc/pid, /proc/pid/exithand. > Attempting to read from an exithand file will block until the > corresponding process exits, at which point the read will successfully > complete with EOF. The file descriptor supports both

[RFC PATCH v2] Minimal non-child process exit notification support

2018-10-29 Thread Daniel Colascione
This patch adds a new file under /proc/pid, /proc/pid/exithand. Attempting to read from an exithand file will block until the corresponding process exits, at which point the read will successfully complete with EOF. The file descriptor supports both blocking operations and poll(2). It's intended t