Thanks for the reply.
On Fri, Feb 14, 2020 at 8:33 PM Ian Lance Taylor wrote:
>
> On Thu, Feb 13, 2020 at 1:14 PM Caleb Spare wrote:
> >
> > Hi! I have a Linux-specific question about capabilities, threads, and
> > syscalls.
> >
> > I have a Go program which runs other programs with specific
>
On Thu, Feb 13, 2020 at 1:14 PM Caleb Spare wrote:
>
> Hi! I have a Linux-specific question about capabilities, threads, and
> syscalls.
>
> I have a Go program which runs other programs with specific
> capabilities set. It basically does the following:
>
> cmd := exec.Command(...)
> runtime.Lock
Hi! I have a Linux-specific question about capabilities, threads, and syscalls.
I have a Go program which runs other programs with specific
capabilities set. It basically does the following:
cmd := exec.Command(...)
runtime.LockOSThread()
unix.RawSyscall(unix.CAPSET, ...)
cmd.Start()
Empirically