diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2015-07-29 20:21:12 -0700 |
---|---|---|
committer | Jorge Lucangeli Obes <jorgelo@google.com> | 2015-12-08 11:26:36 -0800 |
commit | a57404624bc37aa5e44f33431d67d4a43c60f8f0 (patch) | |
tree | 5489f50693861a3e23a62dab68bffc0f10815f3d | |
parent | a1be97b3ee277d5538ab8a8c7421102d0f7a8247 (diff) | |
download | edison-v3.10-a57404624bc37aa5e44f33431d67d4a43c60f8f0.tar.gz |
Revert "SELinux: ss: Fix policy write for ioctl operations"
This reverts commit 8cdfb356b51e29494ca0b9e4e86727d6f841a52d.
Bug: 22846070
Change-Id: I4dd2fd5a1d7fb3ae8f74a5decdf8fb9d5cd43def
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
-rw-r--r-- | security/selinux/ss/avtab.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/security/selinux/ss/avtab.c b/security/selinux/ss/avtab.c index dd7466cb202..2e4ff003abc 100644 --- a/security/selinux/ss/avtab.c +++ b/security/selinux/ss/avtab.c @@ -565,9 +565,6 @@ int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp) return rc; if (cur->key.specified & AVTAB_OP) { - rc = put_entry(&cur->datum.u.ops->type, sizeof(u8), 1, fp); - if (rc) - return rc; for (i = 0; i < ARRAY_SIZE(cur->datum.u.ops->op.perms); i++) buf32[i] = cpu_to_le32(cur->datum.u.ops->op.perms[i]); rc = put_entry(buf32, sizeof(u32), |