Skip to content

Commit

Permalink
config.prot: document disable_tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Nov 22, 2022
1 parent 2d9b694 commit c7c0adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ message NsJailConfig {
can be specified with cmd-line as "-- /path/to/command arg1 arg2" */
optional Exe exec_bin = 90;

/* Disable rdtsc and rdtscp instructions. WARNING: To make it effective, you also need to
* forbid `prctl(PR_SET_TSC, PR_TSC_ENABLE, ...)` in seccomp rules! (x86 and x86_64 only).
* Dynamic binaries produced by GCC seem to rely on RDTSC, but static ones should work. */
optional bool disable_tsc = 93 [default = false];

/* Set this to true to forward fatal signals to the child process instead
Expand Down

0 comments on commit c7c0adf

Please sign in to comment.