Mercurial > pkg
diff previous-work/more_control_helpers/lib/ldconfig.c @ 1:d6bef198ae71
add work by Matthias S. Benkmann which is the inspiration for this project.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 08 Jan 2013 11:45:01 +0000 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/previous-work/more_control_helpers/lib/ldconfig.c Tue Jan 08 11:45:01 2013 +0000 1.3 @@ -0,0 +1,8 @@ 1.4 +#include <unistd.h> 1.5 + 1.6 +int main() 1.7 +{ 1.8 + char* const argv[] = {"/sbin/ldconfig", "-v", NULL, NULL}; 1.9 + char* const env[] = {NULL, NULL}; 1.10 + return execve(argv[0], argv, env); 1.11 +}