Selecting per process flags

"Rafael Almeida" <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Hello,

I've recently read a discussion about a patch made to the kernel back
in 2005.  It was about linux's stack and mmap randomization. A
particular patch caught my attention. At patch 3/6 (PF_RANDOMIZE - per
process flag to enable/disable), Arjan says:

    ``Even thoguh there is a global flag to disable randomisation,
    it's useful to have a per process flag too; the patch below
    introduces this per process flag and automatically sets it for
    "new" binaries. ''

The whole thread can be found at: http://tinyurl.com/3282k9 [lkml @
google groups]

I couldn't find a way to set those per process flags. I looked for it
on google but I couldn't find how I change those per process flags. I
couldn't find the available flags anywhere either (there's a bunch of
PF_* on /usr/src/linux/include/linux/sched.h, I suppose those are the
flags). Am I being really stupid here?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.