Allow the rdcd to be started by user other than rdc or root

Remove the check whether the rdcd is started by rdc user.
Add the read access check for the private key and certificates if
the authentication is enabled.

Change-Id: I0e7a7eafb7985801572f809da0cb3e4012683153
Tento commit je obsažen v:
Bill(Shuzhou) Liu
2020-05-08 09:13:41 -04:00
odevzdal Chris Freehill
rodič b6da10f1f4
revize 96afb24845
2 změnil soubory, kde provedl 29 přidání a 40 odebrání
+8
Zobrazit soubor
@@ -23,6 +23,10 @@ THE SOFTWARE.
#ifndef INCLUDE_RDC_RDC_H_
#define INCLUDE_RDC_RDC_H_
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#include <cstdint>
/** \file rdc_lib.h
@@ -803,4 +807,8 @@ const char* rdc_status_string(rdc_status_t status);
*/
const char* field_id_string(uint32_t field_id);
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // INCLUDE_RDC_RDC_H_