Re: preparing to 4.5.19 release

2009-10-07 Thread Mike Frysinger
On Wednesday 07 October 2009 22:03:14 Roland McGrath wrote: > > Another small issue is file timestamps in release tarball. > > Since git does not store timestamps, all files will have current mtime > > after checkout, while we still package files with last modification in > > previous century (e.g.

Re: preparing to 4.5.19 release

2009-10-07 Thread Roland McGrath
> Mike Frysinger already submitted a fix for this issue, I'm going to check > it on x86 and x86-64, and merge it if everything is OK. Ok. > Another small issue is file timestamps in release tarball. > Since git does not store timestamps, all files will have current mtime > after checkout, while w

[PATCH v2] avoid malloc(0) in getdents

2009-10-07 Thread Mike Frysinger
When getdents finishes processing, it returns 0. Strace uses this to then try and do malloc(0), but on some systems this will always return NULL. Since the code won't read the pointer in question if len is 0, then don't bother calling malloc() and set the pointer to NULL our self. * file.c (sys_g

[PATCH v4] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Mike Frysinger
* configure.ac (AC_CHECK_FUNCS): Add fork. * strace.c (strace_fork): Define. (startup_child): Do not SIGSTOP if vforked. (trace): Skip first exec when starting up after vforked. * syscall.c (get_scno): Drop Blackfin waitexec checks. Signed-off-by: Mike Frysinger --- v4 - drop dynamic fork

Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 07:53:54PM -0400, Mike Frysinger wrote: > On Wednesday 07 October 2009 19:35:02 Dmitry V. Levin wrote: > > On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > > > Systems that lack a MMU cannot use fork() to create the child process. > > > First we detect if th

Re: [PATCH] avoid malloc(0) in getdents

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 07:48:50PM -0400, Mike Frysinger wrote: > On Wednesday 07 October 2009 19:32:39 Dmitry V. Levin wrote: > > On Wed, Oct 07, 2009 at 05:25:01AM -0400, Mike Frysinger wrote: > > > When getdents finishes processing, it returns 0. Strace uses this to > > > then try and do malloc

Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Mike Frysinger
On Wednesday 07 October 2009 19:35:02 Dmitry V. Levin wrote: > On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > > Systems that lack a MMU cannot use fork() to create the child process. > > First we detect if the toolchain has the fork() symbol and if it does > > not, we just always

Re: [PATCH] avoid malloc(0) in getdents

2009-10-07 Thread Mike Frysinger
On Wednesday 07 October 2009 19:32:39 Dmitry V. Levin wrote: > On Wed, Oct 07, 2009 at 05:25:01AM -0400, Mike Frysinger wrote: > > When getdents finishes processing, it returns 0. Strace uses this to > > then try and do malloc(0), but on some systems this will always return > > NULL. Since the cod

Re: preparing to 4.5.19 release

2009-10-07 Thread Frederik Schüler
Hi Andreas, the fix works, thanks. On Wednesday 07 October 2009 16:44:33 Andreas Schwab wrote: > I've pushed this change: > > From 0fda1c59cc707918b7d5de9c516c629d0abb4f3c Mon Sep 17 00:00:00 2001 > From: Andreas Schwab > Date: Wed, 7 Oct 2009 16:00:31 +0200 > Subject: [PATCH] Fix build on ia64

Re: [PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 04:10:53AM -0400, Mike Frysinger wrote: > Systems that lack a MMU cannot use fork() to create the child process. > First we detect if the toolchain has the fork() symbol and if it does not, > we just always use vfork(). If it does, then we try that first. If it > fails due

Re: [PATCH] avoid malloc(0) in getdents

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 05:25:01AM -0400, Mike Frysinger wrote: > When getdents finishes processing, it returns 0. Strace uses this to then > try and do malloc(0), but on some systems this will always return NULL. > Since the code won't read the pointer in question if len is 0, then don't > abort

Re: semop()/semtimedop() sembuf argument printing in strace

2009-10-07 Thread Dmitry V. Levin
Hi, On Wed, Oct 07, 2009 at 10:25:10PM +0200, Jakub Bogusz wrote: [...] > OK, updated patch attached. There are two issues remained which should be addressed. First, redundancy should be avoided. You patch introduces 4 very similar copies of sembuf parser. Second, user input should not be trust

[SPAM] 为你省钱

2009-10-07 Thread neyhardp
ÐÂÓû§ÄúºÃ£ºÎªÄܸøÄú·Öµ£ÄÉË°Ë°ÎñÉϵÄÎÊÌâ`Ϊ³«µ¼¹ú¼Ò·±ÈÙ²ýÊ¢£¬ÄÉË°¹âÈÙµÄ˼ÏëµÀ·Ϊ»ù´¡£¬±¾Ëù¿ÉÒÔΪ¸öÈË»òÆóÒµ°ìÀí·¢Æ¯´ÓÖÐÓÐЧºÏÀíµÄ¼õÇá²»±ØÒªµÄË°ÊÕ£¬»¶Ó­ÄúµÄÀ´µç×ÉѯÏà¹ØÊÂÒËÓëÔË×÷³ÌÐò¡£µç»°£º13410400463³Â¿ÆÒµÎñqq414267205»òÓʼþ£ºjunquanshu...@163.com _

Re: [PATCH] ioctlsort: check ppc hosts too

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 01:05:10AM -0400, Mike Frysinger wrote: > * linux/ioctlsort.c: Check for __powerpc__. On Wed, Oct 07, 2009 at 01:05:11AM -0400, Mike Frysinger wrote: > * linux/bfin/ioctlent.h: Sync list latest kernel sources. > * linux/bfin/syscallent.h: Likewise. On Wed, Oct 07, 2009 at 01

Re: [PATCH] add sys_nanosleep() for sparc

2009-10-07 Thread Dmitry V. Levin
On Wed, Oct 07, 2009 at 03:52:20PM -0400, Mike Frysinger wrote: > * sparc/syscall.h (sys_nanosleep): New prototype. I pushed this patch to HEAD, thanks. -- ldv pgp45mnhfMbma.pgp Description: PGP signature -- Come buil

Re: semop()/semtimedop() sembuf argument printing in strace

2009-10-07 Thread Jakub Bogusz
On Mon, Oct 05, 2009 at 07:39:40PM +0400, Dmitry V. Levin wrote: > Hi, > > On Wed, Sep 30, 2009 at 05:59:07PM +0200, Jakub Bogusz wrote: > > > > the attached patch adds pretty printing of sembuf argument and flags to > > semop() and semtimedop() syscalls. > > Thank you for the patch. See my com

[PATCH] add sys_nanosleep() for sparc

2009-10-07 Thread Mike Frysinger
* sparc/syscall.h (sys_nanosleep): New prototype. Reported-by: Frederik Schüler Signed-off-by: Mike Frysinger --- linux/sparc/syscall.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux/sparc/syscall.h b/linux/sparc/syscall.h index 30bb8f9..e47b510 100644 --- a/lin

Re: preparing to 4.5.19 release

2009-10-07 Thread Mike Frysinger
On Wednesday 07 October 2009 09:00:50 Frederik Schüler wrote: > and on sparc: > > gcc -DHAVE_CONFIG_H -I. -I.. -Ilinux/sparc -I../linux/sparc -Ilinux > -I../linux -Wall -g -O2 -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o > syscall.o ../syscall.c > In file included from ../syscall.c:129: > .

Re: preparing to 4.5.19 release

2009-10-07 Thread Andreas Schwab
Frederik Schüler writes: > I just did a test build on all available porter boxes, and found the build > failing on ia64: > > gcc -DHAVE_CONFIG_H -I. -I.. -Ilinux/ia64 -I../linux/ia64 -Ilinux -I../linux > > -Wall -g -O2 -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o > ../syscall

Re: preparing to 4.5.19 release

2009-10-07 Thread Frederik Schüler
Hi! On Wednesday 07 October 2009 03:05:32 Roland McGrath wrote: > I'd like Frederik and Andreas to reply that they see no problems, and then > I'll tag it and push out to sourceforge and Fedora. In the next cycle, I > would be pleased to have Andreas and/or Dmitry do either or both of those > las

Re: preparing to 4.5.19 release

2009-10-07 Thread Andreas Schwab
Roland McGrath writes: > I'd like Frederik and Andreas to reply that they see no problems I've gone through the fedora bugs and verified that they are fixed. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for som

Re: preparing to 4.5.19 release

2009-10-07 Thread Dmitry V. Levin
On Tue, Oct 06, 2009 at 06:05:32PM -0700, Roland McGrath wrote: > I committed some nits to make for a happy make distcheck (d087571). After > that, everything looks good to me. I noticed a compilation warning on x86: util.c: In function 'do_ptrace': util.c:260: warning: passing argument 4 of 'ptr

[PATCH] avoid malloc(0) in getdents

2009-10-07 Thread Mike Frysinger
When getdents finishes processing, it returns 0. Strace uses this to then try and do malloc(0), but on some systems this will always return NULL. Since the code won't read the pointer in question if len is 0, then don't abort on the malloc(0) == NULL case. * file.c (sys_getdents, sys_getdents64):

[PATCH v3] Add support for Linux/no-mmu with vfork

2009-10-07 Thread Mike Frysinger
Systems that lack a MMU cannot use fork() to create the child process. First we detect if the toolchain has the fork() symbol and if it does not, we just always use vfork(). If it does, then we try that first. If it fails due to ENOSYS, we fall back to using vfork(). Since fork() gets used in a