--- ./fs/exec.c-orig Sat Apr 27 21:46:18 2002 +++ ./fs/exec.c Sat Apr 27 21:46:26 2002 @@ -570,7 +570,7 @@ de_thread(current); if ((!allow_setid_core && (bprm->e_uid != current->euid || bprm->e_gid != current->egid)) || - permission(bprm->file->f_dentry->d_inode,MAY_READ)) + permission_dentry(bprm->file->f_dentry,MAY_READ)) current->mm->dumpable = 0; /* An exec changes our domain. We are no longer part of the thread