diff options
author | Eric Paris <eparis@redhat.com> | 2011-04-07 14:46:59 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-05-12 16:02:42 -0400 |
commit | 93826c092c385549c04af184fbebd43f36995c69 (patch) | |
tree | 20f77a85a74a24ed3418da8818e12b439f70fc81 /security/selinux | |
parent | bf69d41d198138e3c601e9a6645f4f1369aff7e0 (diff) | |
download | lwn-93826c092c385549c04af184fbebd43f36995c69.tar.gz lwn-93826c092c385549c04af184fbebd43f36995c69.zip |
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>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/ss/policydb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c index e6e7ce0d3d55..7102457661d6 100644 --- a/security/selinux/ss/policydb.c +++ b/security/selinux/ss/policydb.c @@ -1819,8 +1819,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; @@ -1857,8 +1855,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; |