diff options
Diffstat (limited to 'security/selinux/ss')
-rw-r--r-- | security/selinux/ss/services.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index d75050819b06..33425b1ac8d6 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c | |||
@@ -2674,7 +2674,7 @@ int security_netlbl_sid_to_secattr(u32 sid, struct netlbl_lsm_secattr *secattr) | |||
2674 | goto netlbl_sid_to_secattr_failure; | 2674 | goto netlbl_sid_to_secattr_failure; |
2675 | secattr->domain = kstrdup(policydb.p_type_val_to_name[ctx->type - 1], | 2675 | secattr->domain = kstrdup(policydb.p_type_val_to_name[ctx->type - 1], |
2676 | GFP_ATOMIC); | 2676 | GFP_ATOMIC); |
2677 | secattr->flags |= NETLBL_SECATTR_DOMAIN; | 2677 | secattr->flags |= NETLBL_SECATTR_DOMAIN_CPY; |
2678 | mls_export_netlbl_lvl(ctx, secattr); | 2678 | mls_export_netlbl_lvl(ctx, secattr); |
2679 | rc = mls_export_netlbl_cat(ctx, secattr); | 2679 | rc = mls_export_netlbl_cat(ctx, secattr); |
2680 | if (rc != 0) | 2680 | if (rc != 0) |