Initial checkin: libcap-ng-0.7

This is the initial checkin of libcap-ng, a set of libraries
and tools which make minipulating capabilities easier.
This code was originally downloaded from http://people.redhat.com/sgrubb/libcap-ng/
and has been lightly modified to make it work on Android.
(please see the "if !defined(ANDROID)" lines in
libcap-ng-0.7/utils/pscap.c and libcap-ng-0.7/src/cap-ng.c)

The files Android.mk and README were created by myself.
The file config.h was created by running ./configure on my
desktop machine.

Change-Id: I110084a922315a2754246c4f6f026c2c4328312b
diff --git a/libcap-ng-0.7/docs/capng_save_state.3 b/libcap-ng-0.7/docs/capng_save_state.3
new file mode 100644
index 0000000..eecdc8f
--- /dev/null
+++ b/libcap-ng-0.7/docs/capng_save_state.3
@@ -0,0 +1,23 @@
+.TH "CAPNG_SAVE_STATE" "3" "June 2009" "Red Hat" "Libcap-ng API"
+.SH NAME
+capng_save_state \- get the internal library state
+.SH "SYNOPSIS"
+.B #include <cap-ng.h>
+.sp
+void *capng_save_state(void);
+
+.SH "DESCRIPTION"
+
+capng_save_state is a function that returns a pointer to the internal state of the libcap-ng library. It should be considered opaque and not for alteration directly. This function should be used when you suspect a third party library may use libcap-ng also and want to make sure it doesn't alter something important. This function is not available in the python bindings.
+
+.SH "RETURN VALUE"
+
+This returns NULL on failure and a non-NULL pointer otherwise.
+
+.SH "SEE ALSO"
+
+.BR capng_restore_state (3),
+.BR capabilities (7) 
+
+.SH AUTHOR
+Steve Grubb