mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: SELinux: delete debugging printks from filename_trans rule processing
This commit is contained in:
commit
381e7863d9
|
@ -1819,8 +1819,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
|
||||||
goto out;
|
goto out;
|
||||||
nel = le32_to_cpu(buf[0]);
|
nel = le32_to_cpu(buf[0]);
|
||||||
|
|
||||||
printk(KERN_ERR "%s: nel=%d\n", __func__, nel);
|
|
||||||
|
|
||||||
last = p->filename_trans;
|
last = p->filename_trans;
|
||||||
while (last && last->next)
|
while (last && last->next)
|
||||||
last = last->next;
|
last = last->next;
|
||||||
|
@ -1857,8 +1855,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
|
||||||
goto out;
|
goto out;
|
||||||
name[len] = 0;
|
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);
|
rc = next_entry(buf, fp, sizeof(u32) * 4);
|
||||||
if (rc)
|
if (rc)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue