is there any difference in regard to attributes and autorization between calling an external program out of a C++ application or calling a library function out of this application.
Imagine, there is an external application and a dynamic library, both having user attributes.
When my main programm, running as root, is calling the programm or is calling a function in the library: is it done with user- or with root-attributes?