Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
adff726bbd08e7c492dd016511ce9ab8612d51a1
/
.
/
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