[Cryptography] Use process ID in mixing?

Jerry Leichter leichter at lrw.com
Tue Apr 1 06:52:07 EDT 2014


On Apr 1, 2014, at 3:01 AM, Dave Horsfall <dave at horsfall.org> 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.)

                                                        -- Jerry



More information about the cryptography mailing list