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
Tá an tiomantas seo le fáil i:
Bill(Shuzhou) Liu údaraithe agus Chris Freehill tiomanta 2020-08-17 14:07:25 -05:00
1 tuismitheoir b6da10f1f4
tiomantas 96afb24845
2 comhad athraithe
+29 -40

Níor tháinig aon chomhaid le do chuardach

+8
Féach ar an gComhad
@@ -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_