[Cryptography] Use process ID in mixing?

Dave Horsfall dave at horsfall.org
Tue Apr 1 09:21:41 EDT 2014


On Tue, 1 Apr 2014, Jerry Leichter wrote:

> >> On Linux, you can get the caller's pid from kernel code with #include 
> >> <linux/sched.h> then look at current->pid....
> > On other systems such as *BSD (and I include the Mac in that), there is 
> > the getpid() call (get process ID) and getppid() (get parent's process 
> > ID).  I have no idea why Linux abandoned them....
> It didn't.  Note the "from kernel code".
> 
> (I hope I haven't fallen for an obscure April Fool's joke.)

Not all all.  It depends on whether "from kernel code" means "within
the kernel itself" or "obtained from the kernel".

In case you haven't guess, I'm not a Linux user but a *BSD user.

ObOnTopic: Clarity is essential when dealing with crypto.

-- Dave


More information about the cryptography mailing list