Fixing windows policy loading detection

Changed the detection logic to not collide with OS X
Fix regression in exit handling code

Commit ab00491 introduced a duplicate _exit() method with different
parameters. Delete it.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Fix pre-checks in sar module and enable XML output collection

Move the check on the sar logging directory from setup() to a
check_enabled() method and add XML data collection via sadf -x
to allow the collected performance data to be imported by other
tools on the analysis host.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Update SELinux plug-in for modern distributions

The old SELinux module has had no maintenance in some time. Add
the output of the following commands:

 - sestatus -b [ SELinux status and booleans ]
 - selinuxdefcon root
 - selinuxconlist root
 - selinuxexeccon /bin/passwd

Add '-v' to fixfiles command line to produce more verbose output.

Drop all setroubleshoot support - this is an optional package for
all supported distributions and should be handled in a separate
sos plug-in.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Merge pull request #133 from jhjaggars/master

fix OSX policy loading
Add a suggest_filename to e820 map

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Fix modinfo collection

The modinfo collection for the set of loaded modules was using a
nasty handrolled pipeline of lsmod | cut |.. to generate a list
of module names to pass to modinfo.

Rip all that out and replace it with an os.listdir('/sys/module').

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Clean up /proc data collection in kernel plug-in

Reorder the list of collected files so that all *info appear
together to avoid duplication and other errors creeping in.

Get rid of /proc/ksyms (2.4) and replace with /proc/kallsyms.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>