Thread (9 messages) 9 messages, 4 authors, 2019-07-26

Re: [PATCH 2/5] pidfd: add pidfd_wait()

flat view

From: Oleg Nesterov <oleg@redhat.com>
Date: 2019-07-25 10:16:32
Also in: lkml

Possibly related (same subject, not in this thread)

On 07/24, Christian Brauner wrote:
quoted hunk ↗ jump to hunk

+SYSCALL_DEFINE6(pidfd_wait, int, pidfd, int __user *, stat_addr,
+		siginfo_t __user *, info, struct rusage __user *, ru,
+		unsigned int, states, unsigned int, flags)
+{
Oh, I too think that P_PIDFD makes more sense.

and could you explain in the changelog why? I am not arguing and if
nothing else this is consistent with other pidfd features, but if you
are parent/debugger you can't hit the problem with pid-reuse, unless
you races with your sub-threads.

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help