594521214a
Change-Id: I0e112da380805d40901a4041fd82da6e842e1f9b
14 lines
245 B
C
14 lines
245 B
C
#include "syslib.h"
|
|
|
|
#include <string.h>
|
|
|
|
pid_t
|
|
srv_fork(uid_t reuid, gid_t regid)
|
|
{
|
|
message m;
|
|
|
|
memset(&m, 0, sizeof(m));
|
|
m.m_lsys_pm_srv_fork.uid = reuid;
|
|
m.m_lsys_pm_srv_fork.gid = regid;
|
|
return _taskcall(PM_PROC_NR, PM_SRV_FORK, &m);
|
|
}
|