avoid issue for now

This commit is contained in:
Connor Olding 2023-04-30 01:09:46 -07:00
parent 5b3c452cd0
commit 63bb721eac

View File

@ -39,6 +39,10 @@ RUN : \
&& shed libc/elf/elf.h '/"libc\/elf\/struct\/ehdr.h"/i\\#include "libc/elf/struct/dyn.h"' \
# awk's pledge isn't working for me for whatever reason \
&& shed third_party/awk/main.c '/pledge.*{/,/}/d' \
# this feature detection is slightly broken (for now) \
&& shed libc/calls/unveil.c \
'/^ if (landlock_abi_version == -1) {/i\\
landlock_abi_version = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION);' \
# create a mapping from flavor to mode (possibly an empty string) \
&& { [ "$COSMO_FLAVOR" != def ] && mode="$COSMO_FLAVOR" || mode= ;} \
&& printf '%s="%s"\n' >env \