goldsborough / ipc-bench

:racehorse: Benchmarks for Inter-Process-Communication Techniques
MIT License
687 stars 108 forks source link

Any of ipcbench utilities except for "pipe" fails running via sudo #16

Closed betulum closed 3 years ago

betulum commented 5 years ago

sudo shm/shm returns: Could not set group id for child process: Operation not permitted Could not set group id for child process: Operation not permitted

jschlatow commented 5 years ago

@betulum I was getting the same error when executing shm from a bash script. My workaround is using setsid shm.

ess476 commented 3 years ago

If it's a bash script make sure you're doing #!/bin/bash -i

alexandervanrenen commented 3 years ago

Good catch!

Fixed the shebang in the supplied scripts.