History log of /external/selinux/libselinux/src/label_android_property.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
417cb8d076a31c57710429b255aebc595613eb6b 13-Mar-2015 Petr Lautrbach <plautrba@redhat.com> Fix -Wformat errors

Fixes two types of errors which appear when building with gcc-5.0.0

- format ‘%d’ expects argument of type ‘int’, but argument X has type ‘unsigned int’
- format ‘%a’ expects argument of type ‘float *’, but argument X has type ‘char **’

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/libselinux/src/label_android_property.c
eb0ba200b513d05d176e10a85061fdf01d0426f7 24-Jan-2013 Robert Craig <rpcraig@tycho.ncsc.mil> libselinux: Adjustments to android property backend.

Allow the android property backend parser to accept the
SELABEL_OPT_VALIDATE option and to perform a validate
callback.

Extracted from the Android external/libselinux tree.

Change-Id: If061502c5e2489a1155798fac1d8357dbb8d13ba
Signed-off-by: Robert Craig <rpcraig@tycho.ncsc.mil>
/external/selinux/libselinux/src/label_android_property.c
1e8f102e8cec4ae84f09cc595013234398270366 06-Feb-2013 Eric Paris <eparis@redhat.com> libselinux: src/label_android_property: do not leak fd on error

We were opening the path, but if the fstat failed or it was not a
regular file we would return without closing the fd. Fix my using the
common error exit path rather than just returning.

Signed-off-by: Eric Paris <eparis@redhat.com>
/external/selinux/libselinux/src/label_android_property.c
aa62cd60f7192123b509c2518e7a2083e34a65a2 29-Nov-2012 Eric Paris <eparis@redhat.com> libselinux: Fix errors found by coverity

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
/external/selinux/libselinux/src/label_android_property.c
30900902b16c70fabe78a22aafb120443acdd53c 31-May-2012 Eric Paris <eparis@redhat.com> libselinux: label_android_property whitespace cleanups

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
/external/selinux/libselinux/src/label_android_property.c
cfc492cf11e1b641e2a0478907d56a17b771a067 31-May-2012 rpcraig <rpcraig@tycho.ncsc.mil> libselinux: New Android property labeling backend

This is already in the android repo. This is here to prevent potential
conflicts of the selabel indices, and possibly with an eye toward an eventual
reunification of the two libselinuxes down the road.

Reviewed-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
/external/selinux/libselinux/src/label_android_property.c