cosmopolitan/ape
Jōshin 412a200ae4
Support binfmt_misc P flag in APE loader (#1058)
This allows ape to automatically preserve `argv[0]` [as of Linux kernel
5.12][0] if the [binfmt_misc][1] registration contains the P flag.

This also removes may_path_search, which was identical to the literally
flag in usage. As a result, FindCommand is subsumed into Commandv.

[0]: https://patchew.org/QEMU/20210222105004.1642234-1-laurent@vivier.eu/
[1]: https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
2024-01-05 12:35:01 -08:00
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
ape-m1.c Mint APE Loader v1.10 2023-12-31 11:43:13 -08:00
ape.h Mint APE Loader v1.10 2023-12-31 11:43:13 -08:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
ape.S Remove hard coded paths from APE bootloader 2024-01-03 17:55:19 -08:00
apeinstall.sh Redesign cosmocc toolchain 2023-11-11 14:18:08 -08:00
apeuninstall.sh Mint APE Loader v1.10 2023-12-31 11:43:13 -08:00
blink-linux-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
blink-xnu-aarch64.gz Make blink support conditionally linkable into APE 2023-06-17 07:55:35 -07:00
BUILD.mk Delete some dead code 2024-01-01 00:13:16 -08:00
idata.internal.h flip et / noet in modelines 2023-12-07 22:17:11 -05:00
launch.S aarch64 loader passes os (#1042) 2023-12-31 06:42:36 -08:00
loader-macho.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
loader.c Support binfmt_misc P flag in APE loader (#1058) 2024-01-05 12:35:01 -08:00
loader.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
macros.internal.h Delete some dead code 2024-01-01 00:13:16 -08:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Optimize memory layout 2022-09-12 04:26:52 -07:00
sections.internal.h Add <link.h> for absl 2023-12-08 20:04:10 -08:00
start.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
systemcall.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00