Skip to content
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

PVF worker: Add CI job to check syscall lists #1652

Closed
mrcnski opened this issue Sep 20, 2023 · 0 comments · Fixed by #1663
Closed

PVF worker: Add CI job to check syscall lists #1652

mrcnski opened this issue Sep 20, 2023 · 0 comments · Fixed by #1663
Assignees

Comments

@mrcnski
Copy link
Contributor

mrcnski commented Sep 20, 2023

Background

In order to sandbox the PVF workers, we want to use seccomp to block all unneeded syscalls. We can get the list of syscalls used by the processes with the list-syscalls.rb script. However, we need a CI job to keep this list up to date.

Requirements

  1. Add to the repo the list of syscalls detected by list-syscalls.rb.
    1. Let's call the lists prepare-worker-syscalls and execute-worker-syscalls.
  2. Add a CI job that:
    1. Builds the workers with LTO (production profile) and musl: SKIP_WASM_BUILD=1 cargo build --profile production --target x86_64-unknown-linux-musl --bin polkadot-execute-worker --bin polkadot-prepare-worker.
    2. Runs list-syscalls.rb on both workers and compares the output to prepare-worker-syscalls and execute-worker-syscalls.
    3. Any changes should be reviewed manually. (I don't expect changes to occur often.)
@altaua altaua self-assigned this Sep 21, 2023
altaua pushed a commit to paritytech/scripts that referenced this issue Sep 21, 2023
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Mar 26, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Mar 27, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 8, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 9, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
serban300 pushed a commit to serban300/polkadot-sdk that referenced this issue Apr 10, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
bkchr pushed a commit that referenced this issue Apr 10, 2024
* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
2 participants