version 1.1.2.3, 2007/01/11 16:01:23
|
version 1.1.2.4, 2007/01/11 20:48:24
|
|
|
void Child( | void Child( |
int argc, | int argc, |
char** argv, | char** argv, |
char path[EXECUTOR_BUFFER_SIZE], |
const char* path, |
int uid, | int uid, |
int gid, | int gid, |
int sock, | int sock, |
|
|
username, uid, gid); | username, uid, gid); |
| |
/* | /* |
* Precheck that cimxml.socket is owned by cimservermain process. If |
* Precheck that cimxml.socket is owned by CIMSERVERMAIN process. If |
* not, then the bind would fail in the cimservermain process much |
* not, then the bind would fail in the CIMSERVERMAIN process much |
* later and the cause of the error would be difficult to determine. | * later and the cause of the error would be difficult to determine. |
*/ | */ |
| |
|
|
(int)st.st_uid != uid || | (int)st.st_uid != uid || |
(int)st.st_gid != gid) | (int)st.st_gid != gid) |
{ | { |
Fatal(FL, |
Fatal(FL, "%s process cannot stat or does not own %s", |
"cimservermain process cannot stat or does not own %s", |
CIMSERVERMAIN, PEGASUS_LOCAL_DOMAIN_SOCKET_PATH); |
PEGASUS_LOCAL_DOMAIN_SOCKET_PATH); |
|
} | } |
} | } |
| |