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>] [day] [month] [year] [list]
Message-Id: <201105260307.p4Q37qeV067663@www262.sakura.ne.jp>
Date:	Thu, 26 May 2011 12:07:52 +0900
From:	Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To:	hskinnemoen@...el.com, roland@...hat.com
Cc:	linux-kernel@...r.kernel.org
Subject: PTRACE: compat_sys_ptrace(PTRACE_TRACEME) lacks arch_ptrace_attach()?

I noticed that commit 6ea6dd93 "ptrace: Call arch_ptrace_attach() when
request=PTRACE_TRACEME" added

	if (!ret)
		arch_ptrace_attach(current);

call to sys_ptrace(PTRACE_TRACEME) but commit c269f196 "x86: compat_sys_ptrace"
did not add that call to compat_sys_ptrace(PTRACE_TRACEME).

If compat_sys_ptrace(PTRACE_ATTACH) needs arch_ptrace_attach(), maybe
compat_sys_ptrace(PTRACE_TRACEME) needs arch_ptrace_attach() as well.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ