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

Commit 425b473d authored by Eric Paris's avatar Eric Paris
Browse files

SELinux: delete debugging printks from filename_trans rule processing



The filename_trans rule processing has some printk(KERN_ERR ) messages
which were intended as debug aids in creating the code but weren't removed
before it was submitted.  Remove them.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 1214eac7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1824,8 +1824,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
		goto out;
	nel = le32_to_cpu(buf[0]);

	printk(KERN_ERR "%s: nel=%d\n", __func__, nel);

	last = p->filename_trans;
	while (last && last->next)
		last = last->next;
@@ -1862,8 +1860,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
			goto out;
		name[len] = 0;

		printk(KERN_ERR "%s: ft=%p ft->name=%p ft->name=%s\n", __func__, ft, ft->name, ft->name);

		rc = next_entry(buf, fp, sizeof(u32) * 4);
		if (rc)
			goto out;