And don't count on it for portability - Some systems take a copy of arg0 for
the process tables, and changing it will NOT alter the process name. It is
only the default action for shell programs. All others can make arg0 anything
they want - as login effectively does ..
execl ("pathtoshell", "-", 0)
-- ------------------------------------------------------------------------- Jesse I Pollard, II Email: pollard@navo.hpc.milAny opinions expressed are solely my own. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/