Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2020 17:53:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251227] setpgid sometimes returns ESRCH instead of EACCES
Message-ID:  <bug-251227-227-QFXzJvBgUk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251227-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251227-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Conrad Meyer <cem@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251227-227-QFXzJvBgUk>