[Bug 251227] setpgid sometimes returns ESRCH instead of EACCES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 18 17:53:07 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251227

--- Comment #4 from Conrad Meyer <cem at freebsd.org> ---
Thanks for the additional context, Mahmoud!

I guess I'm confused on why this is a problem.  Can fish just ignore ESRCH in
this context on FreeBSD?  Certainly half a dozen other shells run on FreeBSD
and implement some form of job control.  E.g., /bin/sh ignores the return value
of setpgid() entirely.

I don't see any requirement in POSIX around FreeBSD's ESRCH behavior (I looked
at it briefly yesterday, too).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list