lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 26 May 2010 16:45:04 +0200
From:	Sébastien Paumier 
	<sebastien.paumier@...v-mlv.fr>
To:	linux-kernel@...r.kernel.org
Subject: PROBLEM: getpid() returning same value as getppid()

Hi,
here is a bug that occurs on my kernel 2.6.31-21, maybe with older ones. 
  If a C program contains a function with the constructor attribute that 
calls getpid(), then, a call to syscall(SYS_fork) produces a son that 
obtains the same value calling getpid() or getppid().

Best regards,
Sébastien Paumier

View attachment "test.c" of type "text/x-csrc" (511 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ