Re: [PATCH 3/3] do_wait: return security_task_wait() error code in place of -ECHILD

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland McGrath
Date: Monday, March 31, 2008 - 1:20 pm

> Suppose that we have 2 childs. The first one is running, the second is zombie

What else would it do?  There is a child that will be reapable eventually
(the running one).  It might be even more strange and more confusing if you
hid the running child just because there is a permission-denied one.  If
you ask specifically for the permission-denied zombie you'll get the
permission error.  I'm not sure we can do better.


Thanks,
Roland


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] do_wait reorganization, Roland McGrath, (Fri Mar 28, 8:34 pm)
[PATCH 2/2] ptrace children revamp, Roland McGrath, (Fri Mar 28, 8:35 pm)
Re: [PATCH 1/2] do_wait reorganization, Oleg Nesterov, (Sat Mar 29, 3:35 am)
Re: [PATCH 2/2] ptrace children revamp, Oleg Nesterov, (Sat Mar 29, 3:39 am)
Re: [PATCH 2/2] ptrace children revamp, Oleg Nesterov, (Sat Mar 29, 6:10 am)
Re: [PATCH 2/2] ptrace children revamp, Oleg Nesterov, (Sat Mar 29, 7:37 am)
Re: [PATCH 1/2] do_wait reorganization, Linus Torvalds, (Sat Mar 29, 9:16 am)
Re: [PATCH 1/2] do_wait reorganization, Roland McGrath, (Sun Mar 30, 8:27 pm)
Re: [PATCH 1/2] do_wait reorganization, Roland McGrath, (Sun Mar 30, 8:54 pm)
[PATCH 1/3] do_wait reorganization, Roland McGrath, (Sun Mar 30, 8:57 pm)
[PATCH 2/3] ptrace children revamp, Roland McGrath, (Sun Mar 30, 8:59 pm)
Re: [PATCH 1/3] do_wait reorganization, Oleg Nesterov, (Mon Mar 31, 1:51 am)
Re: [PATCH 2/3] ptrace children revamp, Oleg Nesterov, (Mon Mar 31, 2:12 am)
Re: [PATCH 1/3] do_wait reorganization, Oleg Nesterov, (Mon Mar 31, 1:07 pm)
Re: [PATCH 3/3] do_wait: return security_task_wait() error ..., Roland McGrath, (Mon Mar 31, 1:20 pm)
Re: [PATCH 1/3] do_wait reorganization, Roland McGrath, (Mon Mar 31, 1:29 pm)
Re: [PATCH 2/2] ptrace children revamp, Roland McGrath, (Fri Apr 4, 2:00 pm)
Re: [PATCH 2/2] ptrace children revamp, Oleg Nesterov, (Sat Apr 5, 7:06 am)
Re: [PATCH 2/2] ptrace children revamp, Roland McGrath, (Wed Apr 9, 1:15 pm)
Re: [PATCH 2/2] ptrace children revamp, Oleg Nesterov, (Sun Apr 13, 7:24 am)
Re: [PATCH 2/2] ptrace children revamp, Roland McGrath, (Mon Apr 14, 6:41 pm)