projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8567d81
)
[NTOS:SE] SepSinglePrivilegeCheck doesn't expect a NT status code value
author
George Bișoc
<george.bisoc@reactos.org>
Sun, 22 Aug 2021 09:31:57 +0000
(11:31 +0200)
committer
George Bișoc
<george.bisoc@reactos.org>
Sun, 22 Aug 2021 09:31:57 +0000
(11:31 +0200)
Fix a wrong returned datatype of the function, as SepSinglePrivilegeCheck calls the internal private SepPrivilegeCheck function which returns a BOOLEAN value.
ntoskrnl/se/priv.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/se/priv.c
b/ntoskrnl/se/priv.c
index
0a1e83a
..
a2ba9f8
100644
(file)
--- a/
ntoskrnl/se/priv.c
+++ b/
ntoskrnl/se/priv.c
@@
-183,7
+183,7
@@
SepPrivilegeCheck(
* Returns TRUE if the required privilege exists and that it matches
* with the one from the access token, FALSE otherwise.
*/
-NTSTATUS
+BOOLEAN
NTAPI
SepSinglePrivilegeCheck(
_In_ LUID PrivilegeValue,