public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617f9c7
)
syscall_other: correct uadmin permission check
author
Alan Cox
<alan@linux.intel.com>
Tue, 19 May 2015 22:18:34 +0000
(23:18 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 19 May 2015 22:18:34 +0000
(23:18 +0100)
Kernel/syscall_other.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_other.c
b/Kernel/syscall_other.c
index
be2e54c
..
9304de2
100644
(file)
--- a/
Kernel/syscall_other.c
+++ b/
Kernel/syscall_other.c
@@
-429,7
+429,7
@@
char *ptr;
arg_t _uadmin(void)
{
- if (
!
esuper())
+ if (esuper())
return -1;
/* Wants moving into machine specific files */
if (cmd == A_SHUTDOWN || cmd == A_REBOOT || cmd == A_DUMP) {