1 /* svrctl() - special server control functions. Author: Kees J. Bot
7 #include <sys/svrctl.h>
9 int svrctl(unsigned long request
, void *argp
)
13 memset(&m
, 0, sizeof(m
));
14 m
.m_lc_svrctl
.request
= request
;
15 m
.m_lc_svrctl
.arg
= (vir_bytes
)argp
;
17 switch (IOCGROUP(request
)) {
18 case 'M': /* old, phasing out */
20 return _syscall(PM_PROC_NR
, PM_SVRCTL
, &m
);
21 case 'F': /* to VFS */
22 return _syscall(VFS_PROC_NR
, VFS_SVRCTL
, &m
);