SELinux: security_read_policy should take a size_t not ssize_t
authorEric Paris <eparis@redhat.com>
Wed, 20 Apr 2011 14:21:28 +0000 (10:21 -0400)
committerEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 14:19:02 +0000 (10:19 -0400)
commit6b697323a78bed254ee372f71b1a6a2901bb4b7a
treeef1282bd99f549074253b33deeb6436809566ad4
parenta35c6c8368d88deae6890205e73ed330b6df1db7
SELinux: security_read_policy should take a size_t not ssize_t

The len should be an size_t but is a ssize_t.  Easy enough fix to silence
build warnings.  We have no need for signed-ness.

Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
security/selinux/include/security.h
security/selinux/ss/services.c