git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hooks scripts and noexec partition
@ 2014-01-14 15:41 krzf83@gmail.com 
  2014-01-15  9:16 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: krzf83@gmail.com  @ 2014-01-14 15:41 UTC (permalink / raw)
  To: git

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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-17  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 15:41 hooks scripts and noexec partition krzf83@gmail.com 
2014-01-15  9:16 ` Jeff King
2014-12-14  1:44   ` krzf83@gmail.com 
2014-12-17  3:03     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).