You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resolves#6
binfmt-dispatcher gets typically registered to binfmt-misc with flags `POCF`.
- `P` will preserve the original argv[0] used
- `O` will give the resolved binary (e.g. after symlink derefence) as an open file in fd 3
- but we can't use it as-is as FEX (at least) doesn't support taking "pathname" (execve) as an open file descriptor.
- `C` and `F` are irrelevant here.
To support properly binary file already open as fd 3, FEX needs to be patched to use
`fexecve(3, argv, env)` kind of call when requested, it doesn't appear to support it yet.
Signed-off-by: Fabrice A. Marie <[email protected]>
0 commit comments