diff options
Diffstat (limited to 'kinit/start_kdeinit.c')
-rw-r--r-- | kinit/start_kdeinit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kinit/start_kdeinit.c b/kinit/start_kdeinit.c index a86b366e5..9d2626057 100644 --- a/kinit/start_kdeinit.c +++ b/kinit/start_kdeinit.c @@ -32,9 +32,9 @@ /* Prevent getting killed by bad heuristic in Linux OOM-killer. This wrapper decreases the chance OOM killer kills it (or its children, - namely kdeinit), opens a pipe and forks. Child drops privileges - and launches kdeinit. Since processes started by kdeinit should - not have this protection, kdeinit will after forking send the new + namely tdeinit), opens a pipe and forks. Child drops privileges + and launches tdeinit. Since processes started by tdeinit should + not have this protection, tdeinit will after forking send the new PID using the pipe and wait for a signal. This parent will reset the protection and SIGUSR1 the process to continue. returns 1 if pid is valid @@ -113,7 +113,7 @@ int main(int argc, char **argv) return 1; } close( pipes[ 0 ] ); - /* read original environment passed by start_kdeinit_wrapper */ + /* read original environment passed by start_tdeinit_wrapper */ if( read( 0, header, 7 ) == 7 && strncmp( header, "environ", 7 ) == 0 ) { unsigned count; if( read( 0, &count, sizeof( unsigned )) == sizeof( unsigned ) |