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, 07 May 2008 17:20:12 +0800
From:	wenji huang <wenji.huang@...cle.com>
To:	linux-kernel@...r.kernel.org
Subject: possible regression of ptrace on 2.6.26-rc1

Hi,

When I tried the test case (ptrace-syscall-ret) on 2.6.26-rc1 kernel, 
found it always fails, but could pass on previous ones.

Here is the result (both in x86 and x86_64 box):

[wjhuang@...182-121-27 single-test]$ ./ptrace-syscall-ret
./ptrace-syscall-ret: PTRACE_CONT, pid 17315, retvalue -1: No such process

In the case, a child is created and kept in syscall loop. The parent 
will trace the syscall and kill the child at last. It seems the child
is early exited, but should stay in infinite loop. Is this my 
misunderstanding or actual regression of kernel?

The test case is attached to the mail.

Thanks,
Wenji


View attachment "ptrace-syscall-ret.c" of type "text/x-csrc" (2015 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ