Do not report non-safe sys_sdevio calls when the address is 'SELF'
This commit is contained in:
parent
c06bc3ead8
commit
d40007667c
1 changed files with 5 additions and 2 deletions
|
@ -28,13 +28,16 @@ register message *m_ptr; /* pointer to request message */
|
||||||
phys_bytes phys_buf;
|
phys_bytes phys_buf;
|
||||||
int req_type, req_dir;
|
int req_type, req_dir;
|
||||||
|
|
||||||
if ((m_ptr->DIO_REQUEST & _DIO_SAFEMASK) != _DIO_SAFE)
|
/* Allow safe copies and accesses to SELF */
|
||||||
|
if ((m_ptr->DIO_REQUEST & _DIO_SAFEMASK) != _DIO_SAFE &&
|
||||||
|
proc_nr_e != SELF)
|
||||||
{
|
{
|
||||||
static int first= 1;
|
static int first= 1;
|
||||||
if (first)
|
if (first)
|
||||||
{
|
{
|
||||||
first= 0;
|
first= 0;
|
||||||
kprintf("do_sdevio: for %d\n", m_ptr->m_source);
|
kprintf("do_sdevio: for %d, req %d\n",
|
||||||
|
m_ptr->m_source, m_ptr->DIO_REQUEST);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue