Using setcap [capabilities] in cross-compiled platform

51 views Asked by At

I am looking for sandboxing applications in cross-compiled environment. I need to setcap [set capabilities] on a process. However, that directory is read-only.

I am using makefiles to create the cross compiled image and not a yocto build system

Can someone please suggest how can this be achieved?

To achieve this, am trying to setcap to a process on the host before the image is created. However, when I check with getcap in target, the capabilities are not set.

0

There are 0 answers