Skip to content

Commit

Permalink
c18n: Move rfork/thr_exit/vfork pseudo system calls to libsys
Browse files Browse the repository at this point in the history
This adds the missing symbols to libsys, and they were not exported
from libc anyway.
  • Loading branch information
bsdjhb committed Aug 21, 2024
1 parent 0dd2f04 commit 07be96c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/libc/sys/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,3 @@ SRCS+= \
.if !${MACHINE_ABI:Mpurecap}
SRCS+= brk.c
.endif

# Pseudo implementations of functions we don't currently fully support
.ifdef CHERI_LIB_C18N
SRCS+= \
rfork_c18n.c \
thr_exit_c18n.c \
vfork_c18n.c
.endif
6 changes: 6 additions & 0 deletions lib/libsys/Makefile.sys
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ INTERPOSED = \
writev

.ifdef CHERI_LIB_C18N
# Pseudo implementations of system calls we don't currently fully support
SRCS+= \
rfork_c18n.c \
thr_exit_c18n.c \
vfork_c18n.c

PSEUDO+= \
rfork
NOASM+= \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 07be96c

Please sign in to comment.