aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r--security/selinux/ss/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index 7565d16aac31..3a1739b33b78 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -3169,7 +3169,7 @@ int security_read_policy(void **data, ssize_t *len)
3169 3169
3170 *len = security_policydb_len(); 3170 *len = security_policydb_len();
3171 3171
3172 *data = vmalloc(*len); 3172 *data = vmalloc_user(*len);
3173 if (!*data) 3173 if (!*data)
3174 return -ENOMEM; 3174 return -ENOMEM;
3175 3175