Don't set SO_PASSCRED.

It would appear that on recent kernels, setting SO_PASSCRED means you
always get SCM_CREDENTIALS control messages back instead of what
sendmsg() sent you, and SCM_RIGHTS works just fine without it.

Signed-off-by: Peter Jones <pjones@redhat.com>
Whitespace cleanup.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make PE-related things be in their own namespace.

Signed-off-by: Peter Jones <pjones@redhat.com>
Move some pe-specific stuff out of actions.c .

actions.c probably should entirely go away, but that's not today's
project.

Signed-off-by: Peter Jones <pjones@redhat.com>
Preliminary move to make max signatures a policy question.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make pe_memory() real.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make our input file get mmaped in pesign instead of libdpe.

Signed-off-by: Peter Jones <pjones@redhat.com>
Fix a leak and a bad error pathway valgrind found.

Signed-off-by: Peter Jones <pjones@redhat.com>
Minor whitespace cleanup.

Signed-off-by: Peter Jones <pjones@redhat.com>
Rename dprintf since that's a libc symbol name these days.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add some debugging prints.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make all the input/output setup code generic.

Signed-off-by: Peter Jones <pjones@redhat.com>
Simplify error reporting using err.h

Signed-off-by: Peter Jones <pjones@redhat.com>
Start moving pe-specific functions to their own private space.

Signed-off-by: Peter Jones <pjones@redhat.com>