systrace problem with mkdirat and openat

2011-07-23 Thread Markus Lude
Hello,
I tried to build devel/git from ports.

make extract fails with lots of errors:

===  Extracting for git-1.7.5
systrace: deny user: markus, prog: /usr/local/bin/gtar, pid:
25619(0)[31757], policy: /usr/bin/make, filters: 197, syscall:
native-mkdirat(318), args: 24
/usr/local/bin/gtar: git-1.7.5: Cannot mkdir: Operation not permitted
systrace: deny user: markus, prog: /usr/local/bin/gtar, pid:
25619(0)[31757], policy: /usr/bin/make, filters: 197, syscall:
native-openat(321), args: 32
/usr/local/bin/gtar: git-1.7.5/.gitattributes: Cannot open: Operation
not permitted
[...]

Regards,
Markus



Re: systrace problem with mkdirat and openat

2011-07-23 Thread Matthew Dempsky
On Sat, Jul 23, 2011 at 9:43 AM, Markus Lude markus.l...@gmx.de wrote:
 systrace: deny user: markus, prog: /usr/local/bin/gtar, pid:
 25619(0)[31757], policy: /usr/bin/make, filters: 197, syscall:
 native-mkdirat(318), args: 24
 /usr/local/bin/gtar: git-1.7.5: Cannot mkdir: Operation not permitted

This is a known limitation of USE_SYSTRACE at the moment.  Until
systrace(8) understands the new *at(8) system calls, you'll need to
either disable USE_SYSTRACE or install from packages.