Handle different levels of rdcd privilege

Depending on how a user starts rdcd, rdcd will either have
full monitor/control capabilities or have just monitoring
capabilties.

The only 2 user ids allowed are "rdc" and root.

Change-Id: Ie296a2f68c9723bef5945b1af1070ef99eeea93b


[ROCm/rdc commit: a6acf24ae7]
此提交包含在:
Chris Freehill
2020-03-20 10:32:25 -05:00
父節點 ce4890f88c
當前提交 a7fb94589c
共有 5 個檔案被更改,包括 235 行新增41 行删除
一般檔案 → 可執行檔
+3 -3
查看文件
@@ -20,8 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#ifndef RDC_RDC_H_
#define RDC_RDC_H_
#ifndef INCLUDE_RDC_RDC_H_
#define INCLUDE_RDC_RDC_H_
#include <cstdint>
@@ -740,4 +740,4 @@ const char* rdc_status_string(rdc_status_t status);
*/
const char* field_id_string(uint32_t field_id);
#endif // RDC_RDC_H_
#endif // INCLUDE_RDC_RDC_H_