nuttx/include
Ville Juven 9af8b740e6 Elf loader: give temporary write access to user .text memory
When the .elf file is loaded from disk, the kernel must be given write
access to the allocated .text section in the task's address environment.

The access is removed after the elf is loaded and relocations are done.

NOTE:
The reason this works for the ARM implementation, is that the ARM MMU
can be configured to give write access for the privileged mode, but
revoke write access for the user mode.

Regardless, it would be smart to revoke write access even for the
kernel, when the kernel does not need it. This framework allows doing
that, if someone wishes to take up the task.
2022-05-03 21:25:25 +09:00
..
arpa
cxx environ: Don't expose get_environ_ptr in csdlib 2022-04-21 22:55:47 +03:00
net net: Add lifr_ifindex field to struct lifreq 2021-12-21 11:01:33 -03:00
netinet
netpacket
nuttx Elf loader: give temporary write access to user .text memory 2022-05-03 21:25:25 +09:00
ssp add ssp.h 2022-01-29 01:04:23 +08:00
sys Implement preadv and pwritev 2022-04-28 13:40:25 +08:00
.gitignore
aio.h
alloca.h
assert.h assert: static_assert is not support in c standard C89,C99. 2022-04-21 23:11:21 +08:00
byteswap.h
crc8.h
crc16.h
crc32.h
crc64.h
ctype.h
debug.h
dirent.h
dlfcn.h
dsp.h libdsp: initialize flux_link in params, remove flux_link from pmsm_phy_params 2022-02-20 21:58:10 +08:00
dspb16.h libdsp: port lib_observer.c to b16 2022-02-20 21:58:10 +08:00
elf.h
elf32.h
elf64.h
endian.h
err.h libc/misc/err.c:add err.c to libc 2021-12-07 04:01:27 -08:00
errno.h
execinfo.h sched/backtrace: Dump the complete stack regardless the depth 2021-12-29 12:09:54 +08:00
fcntl.h vfs: Forward fcntl(F_SETFD...) to ioctl(FIOCLEX|FIONCLEX...) 2022-03-04 22:03:55 +02:00
fixedmath.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
hex2bin.h
ifaddrs.h net: Implement getifaddrs and freeifaddrs 2021-12-21 11:01:33 -03:00
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h unistd:rename CONFIG_OPEN_MAX to CONFIG_LIBC_OPEN_MAX 2022-04-01 22:10:51 +08:00
locale.h
lzf.h libc/lzfcompress: add lzf compress stream 2021-12-20 08:39:33 -06:00
malloc.h procfs: add heap info for every task 2022-02-26 14:32:42 +08:00
mqueue.h
netdb.h
nl_types.h
nxflat.h
poll.h
pthread.h Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
pty.h
pwd.h
queue.h
resolv.h Add dn resolution function 2022-03-17 09:37:15 +02:00
sched.h sched/backtrace: Dump the complete stack regardless the depth 2021-12-29 12:09:54 +08:00
semaphore.h semphore: release all semphores' holder that the task held when exit 2022-02-13 03:20:51 +08:00
signal.h
spawn.h libc: Implement execvp, execlp and execvpe as macro 2022-04-22 10:40:31 +03:00
stdbool.h
stddef.h
stdint.h
stdio.h include/stdio:add setlinebuf marco 2021-11-29 11:18:36 -06:00
stdlib.h environ: Don't expose get_environ_ptr in csdlib 2022-04-21 22:55:47 +03:00
stdnoreturn.h
string.h libc: Change the return type of strerror from "const char *" to "char *" 2022-03-20 23:02:50 +02:00
strings.h Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
syscall.h arch: Remove SYS_RESERVED from Kconfg 2022-02-27 22:54:13 +08:00
syslog.h
termios.h libc: Implement terminal api regardless of CONFIG_SERIAL_TERMIOS setting 2021-12-29 08:11:08 -03:00
threads.h
time.h libc/lib_strptime:change code format & add notes 2022-04-13 10:16:42 +08:00
unistd.h libc: Implement execvp, execlp and execvpe as macro 2022-04-22 10:40:31 +03:00
utime.h
uuid.h
wchar.h
wctype.h