blob: 798c5c5c1fc4509fb774271aeec9fd75e065b9a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/stddef.h>
asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on)
{
/* No IO permission! */
return -EPERM;
}
asmlinkage int sys_iopl(unsigned long unused)
{
/* The hypervisor won't allow it! */
return -EPERM;
}
|