diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:31:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:31:13 -0600 |
commit | 0ae5679aa160245af248836e1d7743aeff63f2e1 (patch) | |
tree | 64608dccc9bfd57800995a414f6287b7605ca637 /kinit/start_kdeinit_wrapper.c | |
parent | d3b5575f31f14629dbd3fd900665e1a69aa7bcd5 (diff) | |
download | tdelibs-0ae5679aa160245af248836e1d7743aeff63f2e1.tar.gz tdelibs-0ae5679aa160245af248836e1d7743aeff63f2e1.zip |
Additional kde to tde renaming
Diffstat (limited to 'kinit/start_kdeinit_wrapper.c')
-rw-r--r-- | kinit/start_kdeinit_wrapper.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kinit/start_kdeinit_wrapper.c b/kinit/start_kdeinit_wrapper.c index bc6d0e31f..eb26b0387 100644 --- a/kinit/start_kdeinit_wrapper.c +++ b/kinit/start_kdeinit_wrapper.c @@ -26,11 +26,11 @@ #ifdef KDEINIT_OOM_PROTECT /* - The start_kdeinit wrapper is setuid, which means some shell variables like LD_LIBRARY_PATH - get unset before it's launched. However kdeinit is used to launch most of KDE, so such variables + The start_tdeinit wrapper is setuid, which means some shell variables like LD_LIBRARY_PATH + get unset before it's launched. However tdeinit is used to launch most of KDE, so such variables should not be dropped. Therefore this wrapper for the setuid wrapper read the environment - and writes it to start_kdeinit's stdin, which after dropping priviledges reads it and uses it - for launching the real kdeinit. + and writes it to start_tdeinit's stdin, which after dropping priviledges reads it and uses it + for launching the real tdeinit. */ int main(int argc, char **argv) { @@ -50,9 +50,9 @@ int main(int argc, char **argv) close( 0 ); /* stdin */ dup2( pipes[ 0 ], 0 ); close( pipes[ 0 ] ); - argv[ 0 ] = (char*)"start_kdeinit"; - execvp("start_kdeinit", argv); - perror("start_kdeinit"); + argv[ 0 ] = (char*)"start_tdeinit"; + execvp("start_tdeinit", argv); + perror("start_tdeinit"); return 1; case 0: { /* child, pass env and exit */ extern char** environ; @@ -84,9 +84,9 @@ int main(int argc, char **argv) { if(argc == 0) return 1; - argv[0] = "start_kdeinit"; - execvp("start_kdeinit",argv); - perror("start_kdeinit"); + argv[0] = "start_tdeinit"; + execvp("start_tdeinit",argv); + perror("start_tdeinit"); return 1; } #endif |