2011-12-15 10:19:19 -07:00
|
|
|
// This is stubbed out for the moment. Will revisit when the time comes.
|
|
|
|
#include <u.h>
|
|
|
|
#include <libc.h>
|
|
|
|
#include <bio.h>
|
|
|
|
#include <mach.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
ctlproc(int pid, char *msg)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(pid);
|
|
|
|
USED(msg);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("ctlproc unimplemented in NetBSD");
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
char*
|
|
|
|
proctextfile(int pid)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(pid);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("proctextfile unimplemented in NetBSD");
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
char*
|
|
|
|
procstatus(int pid)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(pid);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("procstatus unimplemented in NetBSD");
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
Map*
|
|
|
|
attachproc(int pid, Fhdr *fp)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(pid);
|
|
|
|
USED(fp);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("attachproc unimplemented in NetBSD");
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
detachproc(Map *m)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(m);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("detachproc unimplemented in NetBSD");
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
procthreadpids(int pid, int *p, int np)
|
|
|
|
{
|
2013-07-20 00:09:30 -06:00
|
|
|
USED(pid);
|
|
|
|
USED(p);
|
|
|
|
USED(np);
|
2011-12-15 10:19:19 -07:00
|
|
|
sysfatal("procthreadpids unimplemented in NetBSD");
|
|
|
|
return -1;
|
|
|
|
}
|