3.4.3-19
This commit is contained in:
parent
5b50bf9a5f
commit
e34deee202
@ -17,10 +17,13 @@ int main(void)
|
|||||||
pid_t pid;
|
pid_t pid;
|
||||||
int status;
|
int status;
|
||||||
char initpath[256];
|
char initpath[256];
|
||||||
|
const char *argv[2];
|
||||||
|
|
||||||
if (access ("/sbin/ldconfig", X_OK))
|
if (access ("/sbin/ldconfig", X_OK))
|
||||||
_exit (0);
|
_exit (0);
|
||||||
execl ("/sbin/ldconfig", "/sbin/ldconfig", NULL);
|
argv[0] = "/sbin/ldconfig";
|
||||||
|
argv[1] = NULL;
|
||||||
|
execv ("/sbin/ldconfig", argv);
|
||||||
_exit (110);
|
_exit (110);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user