hooks scripts and noexec partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]