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]
此提交包含在:
一般檔案 → 可執行檔
+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_
|
||||
|
||||
新增問題並參考
封鎖使用者