[PATCH] Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit coredump (vs. 4.5.x)

2009-07-11 Thread James Youngman
Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit coredumps. * find/tree.c (set_new_parent): Initialise struct predicate->arg_text to NULL (instead of leaving it uninitialised). (get_new_pred_noarg): Likewise. (get_new_pred): Initialise predicate->arg_text to "ThisShouldBeSetToSome

[PATCH] *** SUBJECT HERE ***

2009-07-11 Thread James Youngman
This is the earlier coredump patch ported to the 4.5.x tree. James Youngman (1): Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit coredump (vs. 4.5.x) ChangeLog | 45 find/defs.h | 11 +++-- find/parser.c | 125 +

Fix Savannah bug #27017 (patch against 4.5.x)

2009-07-11 Thread James Youngman
This patch is similar to the other patch for the same bug, but this one is against the 4.5.x tree.

[bug #27017] find -D opt / -fstype ext3 -print , -quit coredumps

2009-07-11 Thread James Youngman
Additional Item Attachment, bug #27017 (project findutils): File name: 0001-Fix-Savannah-bug-27017-find-D-opt-fstype-ext3.patch Size:29 KB ___ Reply to this item at: __

[PATCH] Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit coredump.

2009-07-11 Thread James Youngman
Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit coredumps. * find/tree.c (set_new_parent): Initialise struct predicate->arg_text to NULL (instead of leaving it uninitialised). (get_new_pred_noarg): Likewise. (get_new_pred): Initialise predicate->arg_text to "ThisShouldBeSetToSome

Fix Savannah bug #27017: find -D opt / -fstype ext3 -print , -quit core dumps.

2009-07-11 Thread James Youngman
This patch is against 4.4.x.

[bug #27017] find -D opt / -fstype ext3 -print , -quit coredumps

2009-07-11 Thread James Youngman
URL: Summary: find -D opt / -fstype ext3 -print , -quit coredumps Project: findutils Submitted by: jay Submitted on: Sat 11 Jul 2009 06:48:52 PM GMT Category: find Sev

Re: [PATCH 1/2] find: add SELinux support

2009-07-11 Thread Kamil Dudka
On Saturday 11 of July 2009 17:05:18 James Youngman wrote: > From: Kamil Dudka > > * find/defs.h: Add SELinux related definitions. > * find/tree.c: Add -context predicate to lookup. > * find/pred.c: Handle %Z printf directive. > * find/parser.c: Parse -context predicate and %Z printf directive. >

[PATCH 2/2] Bugfixes to the handling of %Z in the Red Hat SELinux patch.

2009-07-11 Thread James Youngman
* find/pred.c (do_fprintf): If getfilecon fails, print the relevant segment anyway, with the file context expanding to an empty string. * find/parser.c (make_segment): For %Z, set the cost to NeedsAccessInfo. Signed-off-by: James Youngman --- find/parser.c |4 find/pred.c |7 +

[PATCH 1/2] find: add SELinux support

2009-07-11 Thread James Youngman
From: Kamil Dudka * find/defs.h: Add SELinux related definitions. * find/tree.c: Add -context predicate to lookup. * find/pred.c: Handle %Z printf directive. * find/parser.c: Parse -context predicate and %Z printf directive. * find/find.1: Mention -context predicate and %Z printf directive. * doc

Re: bug found from ls command

2009-07-11 Thread James Youngman
On Wed, Jul 8, 2009 at 10:02 AM, James Youngman wrote: > [+bug-findutils] > > On Tue, Jul 7, 2009 at 5:36 PM, PG wrote: >> ah, great! >> >> thank you for the info. That helps me understand a lot. Now I see why find >> fails. And perhaps it's not worth the extra computation time required to, >> upon