> This patch isn't designed to add security and/or unpredictability into pid
> creation. It simply is trying to avoid using the same pids all the time,
> which confused programs that used lock files.
Those programs are royally broken, they at least need to verify that the PID
stored actually refers to itself.
Be happy that you find out about such broken behaviour immediately and fix the
programs.
> The linear random number generator here has a period of 2^31, and statisticly,
> its pretty ok.
> Since I know that this will NEVER make it into a standard kernel, I simply
> post it for people who might find it useful. People like me, who use Kmail
> and are not very particular about shutting down carefully 8-)
Fix kmail.
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
-- Principal Squirrel SuSE Labs - Research & Development, SuSE Linux AG "If anything can go wrong, it will." "Chance favors the prepared (mind)." -- Capt. Edward A. Murphy -- Louis Pasteur - 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/