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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <029E5BE7F699594398CA44E3DDF554440169D824@swsmsx413.ger.corp.intel.com>
Date:	Fri, 22 Feb 2008 10:12:48 -0000
From:	"Metzger, Markus T" <markus.t.metzger@...el.com>
To:	"Ingo Molnar" <mingo@...e.hu>
Cc:	"Roland McGrath" <roland@...hat.com>, <ak@...e.de>,
	<hpa@...or.com>, <linux-kernel@...r.kernel.org>,
	<tglx@...utronix.de>, <markus.t.metzger@...il.com>,
	"Siddha, Suresh B" <suresh.b.siddha@...el.com>,
	<akpm@...ux-foundation.org>, <mtk.manpages@...il.com>,
	<eranian@...glemail.com>
Subject: RE: [patch 1/2] x86, ptrace: support pebs in ds.c

>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@...e.hu] 
>Sent: Freitag, 22. Februar 2008 10:53
>To: Metzger, Markus T

>> The ptrace API is the user interface for the debugging/BTS aspect of 
>> it. As such, it will remain stable.
>
>your last patch does this to arch/x86/kernel/ptrace.c:
>
>  266 insertions(+), 174 deletions(-)
>
>doesnt that change the ptrace bits and the ptrace API semantics?

The last patch does change the ptrace API - before it becomes public.

After it becomes public, ds.c can be changed without affecting the
ptrace API.


The last changes are not strictly necessary - I could as well implement
the old interface. If there are objections to or concerns regarding
those API changes, I will do just that. The changes are:
- add PTRACE_BTS_O_ALLOC to explicitly request reallocation of the BTS
buffer.
  This used to be implicit when the size changes.
- remove PTRACE_BTS_O_CUT_SIZE
  This used to reduce the size requested for the BTS buffer to the
maximal available size, if necessary.
  I do not think this is necessary. Users should check their ulimits.

This is what I meant with ironing out the ptrace API.


thanks and regards,
markus.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
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