Is it possible to hide process args from 'ps -ef'?? (Recap)

Guy Harris guy at auspex.auspex.com
Sun Apr 21 10:33:02 AEST 1991


>  The problem with method 2 above is,

The problem with method 2 above is that, unless ISC UNIX is fairly
different from S5 as it comes from AT&T, "ps" doesn't *look* at the
argument list on the stack - it looks at the argument list as set up in
a string in the U area at startup, so your program can twiddle the argv
list until the cows come home and it won't affect what "ps" sees.



More information about the Comp.unix.wizards mailing list