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

From: Drew DeVault <>
Date: Thu, 04 Nov 2021 07:41:29 UTC
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.