diff options
-rw-r--r-- | security/selinux/include/security.h | 2 | ||||
-rw-r--r-- | security/selinux/ss/services.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 2cf670864147..3ba4feba048a 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -86,7 +86,7 @@ extern int selinux_policycap_openperm; | |||
86 | int security_mls_enabled(void); | 86 | int security_mls_enabled(void); |
87 | 87 | ||
88 | int security_load_policy(void *data, size_t len); | 88 | int security_load_policy(void *data, size_t len); |
89 | int security_read_policy(void **data, ssize_t *len); | 89 | int security_read_policy(void **data, size_t *len); |
90 | size_t security_policydb_len(void); | 90 | size_t security_policydb_len(void); |
91 | 91 | ||
92 | int security_policycap_supported(unsigned int req_cap); | 92 | int security_policycap_supported(unsigned int req_cap); |
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index f3f5dca81006..211c0ada594c 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c | |||
@@ -3189,7 +3189,7 @@ out: | |||
3189 | * @len: length of data in bytes | 3189 | * @len: length of data in bytes |
3190 | * | 3190 | * |
3191 | */ | 3191 | */ |
3192 | int security_read_policy(void **data, ssize_t *len) | 3192 | int security_read_policy(void **data, size_t *len) |
3193 | { | 3193 | { |
3194 | int rc; | 3194 | int rc; |
3195 | struct policy_file fp; | 3195 | struct policy_file fp; |