Re: Complicated interactions between O_EXEC, fdescfs, fexecve, and shebangs

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Thu, 04 Nov 2021 11:27:56 UTC
On Thu, 04 Nov 2021 08:41:29 +0100
"Drew DeVault" <sir@cmpwn.com> wrote:

> On Wed Nov 3, 2021 at 2:35 PM CET, Konstantin Belousov wrote:
> > - Semantic of the FreeBSD fdescfs open(2) is different, to get the
> > behavior similar to Linux, you need to specify "nodup" mount option,
> > see fdescfs(5).  
> 
> fdescfs(5) does not mention a nodup option, but it does mention a
> linrdlnk option. Helpfully, it does not tell us what this option
> actually does.
> 

It's mentioned in the FBSD-14 fdescfs(5) man page.

-- 
Gary Jennejohn