public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6241398
)
devsys: low protection makes no sense so remove
author
Alan Cox
<alan@linux.intel.com>
Sat, 13 Feb 2016 21:21:57 +0000
(21:21 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 13 Feb 2016 21:21:57 +0000
(21:21 +0000)
Kernel/devsys.c
patch
|
blob
|
history
diff --git
a/Kernel/devsys.c
b/Kernel/devsys.c
index
89e4e68
..
54e9f8c
100644
(file)
--- a/
Kernel/devsys.c
+++ b/
Kernel/devsys.c
@@
-54,11
+54,6
@@
int sys_write(uint8_t minor, uint8_t rawflag, uint8_t flag)
case 2:
return udata.u_count;
case 1:
- /* FIXME: this needs to be a per CPU value */
- if (udata.u_offset < 0x0100) {
- udata.u_error = EPERM;
- return -1;
- }
return ugetsys((unsigned char *)udata.u_offset, udata.u_count);
case 3:
udata.u_error = EINVAL;