commit | 33c154bf326bc3f7cdf3b474d683e47fdb8248ed | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Oct 25 16:16:25 2017 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Mon Nov 06 17:43:01 2017 +0000 |
tree | 671614dfdc68037a89b250598a892f973d9a53f4 | |
parent | 2753204d3b52cad866cbdf022e7d3afa97858f92 [diff] |
util: Add setcap_net_raw API Some binaries such as osmo-bts-ocpty require specific capabilities, and we need to provide them in case osmo-gsm-tester is not run as root. Process class from process module is imported inside the method after module initialization in order to avoid circular dependency of relative imports, which is only available since python 3.5. Change-Id: If3eb24461c02173dc80837a4cc83f9f2420c7816