On Thu, 28 Feb 2002 13:18:06 +0900,
  HIROSHI OOTA <[EMAIL PROTECTED]> said:

oota> but, It should return EPERM instead of ESRCH. Because ESRCH
oota> means `The requested process does not exist'. 

Setpgrp(2) should fail in this case because pid 1 (which is usually
init(8)) is not a child of the curproc, not due to insufficient
privilege.

ESRCH means that the target process is not found in the children of
the curproc.

-- 
Seigo Tanimura <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to