mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Revert "SELinux: ss: Fix policy write for ioctl operations"
This reverts commit c06168226f5eaaaad93af5b2811f213b01382363. Bug: 22846070 Change-Id: I665c1f2350e10ce890e7c4be1a06e666929d5d7a Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
This commit is contained in:
parent
1ebb3a40bf
commit
ff628d0d4b
1 changed files with 0 additions and 3 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue