Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ba50107

Browse files
feat: ✨ apply cgroupv2 patch
1 parent c550b1e commit ba50107

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Dockerfile.nsjail-3.1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cat /build/patches/clone_args.h >> subproc.h && \
2727
sed -e 's/-Werror//' -e 's/-pie//' -e 's/-fPIE//' -i Makefile && \
2828
sed -e 's/YYUSE/YY_USE/' -i kafel/src/parser.y && \
2929
sed -e 's/^TARGET=.*/TARGET=${STATIC_TARGET}/' -i kafel/src/Makefile && \
30+
sed -e 's/return nsjconf->cgroupv2_mount + "\/NSJAIL." + std::to_string(pid)/return nsjconf->cgroupv2_mount + "\/" + nsjconf->cgroup_cpu_parent/g' -i cgroup2.cc && \
3031
export CC="$MUSL_TARGET-gcc -static" && \
3132
export CXX="$MUSL_TARGET-g++ -static" && \
3233
export CFLAGS="-I/output/include -I/output/include/libnl3 -I/output/include/google -frandom-seed=pulse" && \

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /