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]
This commit is contained in:
Chris Freehill committed 2020-08-17 14:07:25 -05:00
1 parent ce4890f88c
commit a7fb94589c
5 files changed
+235 -41

No files matched your search

Regular → Executable
+3 -3
View File
@@ -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_