Commit 93826c092c385549c04af184fbebd43f36995c69
1 parent
bf69d41d19
Exists in
master
and in
7 other branches
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. Reported-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Eric Paris <eparis@redhat.com>
Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff
security/selinux/ss/policydb.c
... | ... | @@ -1819,8 +1819,6 @@ |
1819 | 1819 | goto out; |
1820 | 1820 | nel = le32_to_cpu(buf[0]); |
1821 | 1821 | |
1822 | - printk(KERN_ERR "%s: nel=%d\n", __func__, nel); | |
1823 | - | |
1824 | 1822 | last = p->filename_trans; |
1825 | 1823 | while (last && last->next) |
1826 | 1824 | last = last->next; |
... | ... | @@ -1856,8 +1854,6 @@ |
1856 | 1854 | if (rc) |
1857 | 1855 | goto out; |
1858 | 1856 | name[len] = 0; |
1859 | - | |
1860 | - printk(KERN_ERR "%s: ft=%p ft->name=%p ft->name=%s\n", __func__, ft, ft->name, ft->name); | |
1861 | 1857 | |
1862 | 1858 | rc = next_entry(buf, fp, sizeof(u32) * 4); |
1863 | 1859 | if (rc) |