You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that separate the above set*id into a virtual member function named int set_child_uid_gid(ACE_Process_Options&) so that the user can overload it such as
int ...::set_child_uid_gid(ACE_Process_Optioins& opts)
{
setrlimit ...
returnACE_Process_Options::set_child_uid_gid(opts);
}
The text was updated successfully, but these errors were encountered:
ACE_Process::child
is called after forfork
and variousset*id
on UNIXIf calling
setrlimit
insideACE_Process::child
,setrlimit
might return-1
witherrno
EPERM
because variousset*id
might limit permissions.See also:
ACE_TAO/ACE/ace/Process.cpp
Lines 383 to 444 in 44c80da
I suggest that separate the above
set*id
into a virtual member function namedint set_child_uid_gid(ACE_Process_Options&)
so that the user can overload it such asThe text was updated successfully, but these errors were encountered: