Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 20:40:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230120] capsicum: cap_ftruncate_rights doesn't work in 32-bit emulation
Message-ID:  <bug-230120-227-hT4xQhRkHn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230120-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230120-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230120

--- Comment #3 from Alan Somers <asomers@FreeBSD.org> ---
cap_rights_limit must've exited 0, because otherwise dd would've aborted.  I
don't know about truss, but I tried both ktrace and dtrace.  Dtracing
syscalls::cap_rights_limit:enter showed the same value for the capabilities in
both 64 and 32 bit mode.

Why do you say that cap_rights_limit has no 32-bit version?  I see it in line
1033 of sys/compat/freebsd32/syscalls.master.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230120-227-hT4xQhRkHn>