nuttx/binfmt
Ville Juven 64d8249895 sched/addrenv, binfmt: Always allocate address environment from heap
Instead of using a volatile storage for the address environment in the
binfmt / loadinfo structures, always allocate the address environment
from kheap.

This serves two purposes:
- If the task creation fails, any kernel thread that depends on the
  address environment created during task creation will not lose their
  mappings (because they hold a reference to it)
- The current address environment variable (g_addrenv) will NEVER contain
  a stale / incorrect value
- Releasing the address environment is simplified as any pointer given
  to addrenv_drop() can be assumed to be heap memory
- Makes the kludge function addrenv_clear_current irrelevant, as the
  system will NEVER have invalid mappings any more
2023-04-22 00:43:30 +08:00
..
libelf sched/addrenv, binfmt: Always allocate address environment from heap 2023-04-22 00:43:30 +08:00
libnxflat sched/addrenv: Miscellaneous clean-up and fixes 2023-04-15 13:21:48 +09:00
binfmt_copyargv.c binfmt: Let binfmt_copyargv return error code 2022-10-19 08:22:56 +09:00
binfmt_coredump.c
binfmt_dumpmodule.c sched/spawn: Support task_spawnattr_[set|get]stackaddr 2022-10-31 12:46:58 +09:00
binfmt_exec.c sched/spawn: Support task_spawnattr_[set|get]stackaddr 2022-10-31 12:46:58 +09:00
binfmt_execmodule.c sched/addrenv, binfmt: Always allocate address environment from heap 2023-04-22 00:43:30 +08:00
binfmt_execsymtab.c
binfmt_exit.c
binfmt_globals.c
binfmt_initialize.c binfmt: Decouple builtin from binfs file system 2022-02-14 09:35:35 -03:00
binfmt_loadmodule.c
binfmt_register.c
binfmt_unloadmodule.c sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00
binfmt_unregister.c
binfmt.h binfmt: Let binfmt_copyargv return error code 2022-10-19 08:22:56 +09:00
builtin.c binfmt: Check return pointer. 2022-09-03 19:39:51 +08:00
elf.c sched/addrenv, binfmt: Always allocate address environment from heap 2023-04-22 00:43:30 +08:00
Kconfig
Makefile
nxflat.c sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00