2009-11-17 09:20:58 -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)
|
|
|
|
{
|
|
|
|
sysfatal("ctlproc unimplemented in FreeBSD");
|
2011-04-13 14:26:25 -06:00
|
|
|
return -1;
|
2009-11-17 09:20:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
char*
|
|
|
|
proctextfile(int pid)
|
|
|
|
{
|
|
|
|
sysfatal("proctextfile unimplemented in FreeBSD");
|
2011-04-13 14:26:25 -06:00
|
|
|
return nil;
|
2009-11-17 09:20:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
char*
|
|
|
|
procstatus(int pid)
|
|
|
|
{
|
|
|
|
sysfatal("procstatus unimplemented in FreeBSD");
|
2011-04-13 14:26:25 -06:00
|
|
|
return nil;
|
2009-11-17 09:20:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
Map*
|
|
|
|
attachproc(int pid, Fhdr *fp)
|
|
|
|
{
|
|
|
|
sysfatal("attachproc unimplemented in FreeBSD");
|
2011-04-13 14:26:25 -06:00
|
|
|
return nil;
|
2009-11-17 09:20:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
detachproc(Map *m)
|
|
|
|
{
|
|
|
|
sysfatal("detachproc unimplemented in FreeBSD");
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
procthreadpids(int pid, int *p, int np)
|
|
|
|
{
|
|
|
|
sysfatal("procthreadpids unimplemented in FreeBSD");
|
2011-04-13 14:26:25 -06:00
|
|
|
return -1;
|
2009-11-17 09:20:58 -07:00
|
|
|
}
|