Skip to content

[Feature:Autograding] strace for system call filter debugging #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dockerfiles/autograding-default/ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ RUN chmod -R 755 ${SUBMITTY_INSTALL_DIR}/bin/comment_count.py

RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen

# for debugging system call filtering
RUN apt-get install -y strace

RUN apt-get purge -y --auto-remove wget
RUN rm -rf /var/lib/apt/lists/*
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/clang/14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM ubuntu:22.04
# installing clang & clang++
RUN apt-get update
RUN apt-get install -y clang-14 lld-14

# for debugging system call filtering
RUN apt-get install -y strace

RUN rm -rf /var/lib/apt/lists/*

# symlinks
Expand Down
5 changes: 4 additions & 1 deletion dockerfiles/gcc/11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM ubuntu:22.04

# installing requirements to get and extract prebuilt binaries
RUN apt-get update
RUN apt-get install -y gcc-11 g++-11

# for debugging system call filtering
RUN apt-get install -y strace

RUN rm -rf /var/lib/apt/lists/*

# symlinks - x86
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/python/3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM ubuntu:22.04
# installing python
RUN apt-get update
RUN apt-get install -y python3.10

# for debugging system call filtering
RUN apt-get install -y strace

RUN rm -rf /var/lib/apt/lists/*

# symlinks
Expand Down
Loading