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