Do libc5 and glibc give the illusion of a 32bit pid - I thought they didnt
> b) The reuse of pids causes security problems.
No.. people cause security problems.
> get_pid() {
> return ++last_pid;
> }
That loses your security advantage
> (On the other hand, if we do not enlarge the pid_t size, then
> a bitmap with pids_in_use would make get_pid() much faster.)
ffz() on pids_in_use yep..
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/