0

A maybe stupid question: For an embedded project I want to switch the single processes (currently running as root) to capabilities. Since the project also includes several shared libraries, my approach is to switch parts in the libraries to use capabilities. But a first test with 'seteuid()' and a system() call did not run successfully. Only when I replaced 'seteuid()' with 'setuid()' I had success. For your information: The 'system()' call should delete a file in /sbin (rm /sbin/xyz).

When I started the project, I found a page on the internet about caps and shared libs. Unfortunately I can't find it anymore. Can someone please give me info, or a link, on the topic of caps and shared libs?

Thanks

madam
  • 11
  • 3

0 Answers0