Jason A. Donenfeld
|
3dbaafd4ae
|
api: manipulate process token if thread token didn't require impersonation
Otherwise rundll32.exe fails if we're already SYSTEM.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2020-11-07 15:04:33 +01:00 |
|
Simon Rozman
|
f657e6fd27
|
api: use GetLastError() to report failures like standard Win32
Signed-off-by: Simon Rozman <simon@rozman.si>
|
2020-11-04 13:21:42 +01:00 |
|
Jason A. Donenfeld
|
19d6227c1d
|
api: rundll32: repair token spawning semantics
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2020-11-03 10:34:25 +01:00 |
|
Jason A. Donenfeld
|
937eb44727
|
api: get rid of pch and make headers sane
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2020-10-31 19:11:51 +01:00 |
|
Jason A. Donenfeld
|
7964694e1e
|
api: elevate only when needed for system operations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
2020-10-31 10:41:49 +01:00 |
|