Re: [PATCH] fix display of dirfd with x86 binary and x86_64 strace

2009-04-16 Thread Denys Vlasenko
On Sun, 2009-04-05 at 02:00 -0400, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger > --- > file.c |7 +-- > 1 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/file.c b/file.c > index 614ba1e..138bac0 100644 > --- a/file.c > +++ b/file.c > @@ -328,13 +328,16 @@ const

Re: [PATCH] fix display of dirfd with x86 binary and x86_64 strace

2009-04-04 Thread Mike Frysinger
On Sunday 05 April 2009 02:03:33 Mike Frysinger wrote: > and here is openat(-11, ...): > before: openat(-11, "/", O_WRONLY) = -1 EISDIR (Is a > directory) > after: openat(4294967285, "/", O_WRONLY) = -1 EISDIR (Is a > directory) ugh, obviously i had these before/after lines swap

Re: [PATCH] fix display of dirfd with x86 binary and x86_64 strace

2009-04-04 Thread Mike Frysinger
forgot to include an example ... here is openat(AT_FDCWD, ...): before: openat(4294967196, "/", O_WRONLY) = -1 EISDIR (Is a directory) after: openat(AT_FDCWD, "/", O_WRONLY) = -1 EISDIR (Is a directory) and here is openat(-11, ...): before: openat(-11, "/", O_WRONLY) =

[PATCH] fix display of dirfd with x86 binary and x86_64 strace

2009-04-04 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- file.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/file.c b/file.c index 614ba1e..138bac0 100644 --- a/file.c +++ b/file.c @@ -328,13 +328,16 @@ const struct xlat open_mode_flags[] = { # define AT_FDCWD-100 #en