git can't execute hooks no partitions mounted with noexec - even if
those are just scripts with shebang line and they actualy work by
hooks/./post-comit (because I use small patch on kernel that allows
running scripts that way on noexec partition)

fs/exec.c

//        error = -EACCES;
//        if (file->f_path.mnt->mnt_flags & MNT_NOEXEC)
//                goto exit;
...
//        if (file->f_path.mnt->mnt_flags & MNT_NOEXEC)
//                goto exit;
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to