mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pedro Venda (SYSADM)" <pjvenda@rnl.ist.utl.pt>
To: linux-kernel@vger.kernel.org
Subject: [RFC] pid randomness
Date: Mon, 27 Dec 2004 19:39:01 +0000	[thread overview]
Message-ID: <41D064D5.1030900@rnl.ist.utl.pt> (raw)

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@rnl.ist.utl.pt
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

             reply	other threads:[~2004-12-27 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 19:39 Pedro Venda (SYSADM) [this message]
2004-12-27 19:47 ` Jan Engelhardt
2004-12-27 20:04   ` Pedro Venda (SYSADM)
2004-12-27 20:01 ` David Martin
2004-12-27 20:45 ` Valdis.Kletnieks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41D064D5.1030900@rnl.ist.utl.pt \
    --to=pjvenda@rnl.ist.utl.pt \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®