[RFC] pid randomness

From: Pedro Venda (SYSADM)
Date: Mon Dec 27 2004 - 14:41:48 EST


hi everyone,

I don't know if this has been discussed before... but I'd like to ask why isn't the pids randomized by default?

I mean, of course it's not required for normal functioning but it'd be nice to have a Kconfig option to make it happen.

The (newbie) way I see it, it'd not be hard to do... generate pid, check if it's unique, give pid to process. It could bring some minor security enhancements while taking a slight performance hit (seek & compare algorithm for used pids).

What are the pros and cons of this? What are your oppinions on this subjet?

regards,
pedro venda.
--
Pedro João Lopes Venda
email: pjvenda@xxxxxxxxxxxxxx
http://maxwell.rnl.ist.utl.pt

Equipa de Administração de Sistemas
Rede das Novas Licenciaturas (RNL)
Instituto Superior Técnico
http://www.rnl.ist.utl.pt
http://mega.ist.utl.pt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/