SELinux: delete debugging printks from filename_trans rule processing
authorEric Paris <eparis@redhat.com>
Thu, 7 Apr 2011 18:46:59 +0000 (14:46 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 20 Apr 2011 15:45:14 +0000 (11:45 -0400)
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: Eric Paris <eparis@redhat.com>
security/selinux/ss/policydb.c

index 82373eb2dc977a56048b1acc163730cc0d375014..5591e422256adf655fa253e5ebeac65d0d9c6665 100644 (file)
@@ -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;