Skip to content

Commit

Permalink
SELinux: delete debugging printks from filename_trans rule processing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
eparis committed May 12, 2011
1 parent bf69d41 commit 93826c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 93826c0

Please sign in to comment.