Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
d77c064ecc096fd6943a57322b94eaf2c06fa6a7
/
.
/
frc971
/
config
/
setup_rt_caps.sh
blob: 1ba4f656ca59f30e854d301108e618797e6a483d [
file
] [
log
] [
blame
]
#!/bin/bash
# Sets capabilities on a binary so it can run as realtime code as a user who
# doesn't have those rlimits or some other reason they can.
# Has to be run as root.
setcap
'CAP_IPC_LOCK+pie CAP_SYS_NICE+pie'
$0