Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e471d387 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Mark Salyzyn
Browse files

Revert "SELinux: ss: Fix policy write for ioctl operations"



This reverts commit 6bdf3678.

Bug: 22846070
Change-Id: I47ae4ef40c688d96e2e5062506998808b9e4f603
Signed-off-by: default avatarJeff Vander Stoep <jeffv@google.com>
parent 63fcf829
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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),