> if (copy_from_user(cmd, hdr->cmdp, hdr->cmd_len)) > return -EFAULT; > - if (verify_command(file, cmd)) > - return -EPERM; This opens a big security hole. I wonder whether the person creating this patch just played trial and error with a bogus application or was smoking serious crack.