aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2011-04-07 14:46:59 -0400
committerEric Paris <eparis@redhat.com>2011-04-20 11:45:14 -0400
commit425b473de5372cad6fffc6b98a758ed8e3fc70ce (patch)
tree532811d99d68d2ba58bc111b33a959ddb8a1a1e2 /security/selinux
parent1214eac73f798bccabc6adb55e7b2d787527c13c (diff)
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: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/ss/policydb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c
index 82373eb2dc97..5591e422256a 100644
--- a/security/selinux/ss/policydb.c
+++ b/security/selinux/ss/policydb.c
@@ -1824,8 +1824,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
1824 goto out; 1824 goto out;
1825 nel = le32_to_cpu(buf[0]); 1825 nel = le32_to_cpu(buf[0]);
1826 1826
1827 printk(KERN_ERR "%s: nel=%d\n", __func__, nel);
1828
1829 last = p->filename_trans; 1827 last = p->filename_trans;
1830 while (last && last->next) 1828 while (last && last->next)
1831 last = last->next; 1829 last = last->next;
@@ -1862,8 +1860,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
1862 goto out; 1860 goto out;
1863 name[len] = 0; 1861 name[len] = 0;
1864 1862
1865 printk(KERN_ERR "%s: ft=%p ft->name=%p ft->name=%s\n", __func__, ft, ft->name, ft->name);
1866
1867 rc = next_entry(buf, fp, sizeof(u32) * 4); 1863 rc = next_entry(buf, fp, sizeof(u32) * 4);
1868 if (rc) 1864 if (rc)
1869 goto out; 1865 goto out;