Searched refs:mpConfFilePath (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi.c | 176 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE]; in InitLibrary() local 192 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in InitLibrary() 194 if ((fd_mpconf = open(mpConfFilePath, O_RDONLY)) < 0) { in InitLibrary() 3459 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE]; in MP_RegisterPlugin() local 3486 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in MP_RegisterPlugin() 3488 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) && in MP_RegisterPlugin() 3493 if ((mpconf = open(mpConfFilePath, O_RDWR | O_CREAT)) == -1) { in MP_RegisterPlugin() 3578 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE], in MP_DeregisterPlugin() local 3594 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in MP_DeregisterPlugin() 3596 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) && in MP_DeregisterPlugin() [all …]
|