Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 15 Mar 2013 02:53:39 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: strace

On Fri, Mar 15, 2013 at 02:22:58AM +0400, Dmitry V. Levin wrote:
> Are you 100% sure that orig_eax offset in the edition of asm/ptrace.h that
> was used to build strace is the same as in the kernel under which strace
> gets invalid orig_eax?

Here's what I just did:

On an i686 machine with:

kernel-2.6.18-308.20.1.el5.028stab104.3.owl1
kernel-headers-2.6.18-308.20.1.el5.028stab104.3.owl1

(both from the same kernel build - verified), I rebuilt strace with:

make PACKAGE=strace

Then installed it:

rpm -Fvh ~build/RPMS/strace-*

The problem is still there.  This is Owl-current.

I also verified that the booted kernel corresponds to the kernel RPM
package above.

So I am 100% sure of consistency of kernel-headers, kernel, and strace
packages as above.  As to your specific question, I am less than 100%
sure of that since presumably something fishy may be going on e.g. in
the way the kernel-headers subpackage is produced.  This would be weird,
but the problem has to be somewhere - maybe in strace, or maybe in how
things are built.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ