Conversation
drapl0n
commented
Apr 26, 2026
- adds geteuid, getuid, getpid, and close grate
- adds geteuid, getuid, getpid, and close grate
|
geteuid already exists right? Also, can these just be replaced by using the testing-grate? Instead of needing to have individual grates for all of these single syscalls? |
|
Can we auto-generate these grates? |
Agree to this, or like I pointed out in my comment - |
|
We can just not merge this branch. I think it's useful to have for now since these are used for the policy graph |
stupendoussuperpowers
left a comment
There was a problem hiding this comment.
I think it's useful to have for now since these are used for the policy graph
In that case I am not opposed to merging these.
Few things:
-
Maybe we can change the folder name from "per-syscall-grates" to "single-syscall-grates" or "passthrough-syscall-grates" or something clearer/better worded.
-
build.conffiles are not needed anymore so we can remove them. -
All of these grates just pass the syscall through without any logging/parameter modifications, not sure if we should be doing at least something here. If these are being used for benchmarking, it might be a little unrepresentative of what a typical single-syscall grate is used for.