osquery-1/osquery/tables
Stefano Bonicatti e7fde8ad8e Fix wrong error code returned when querying the Windows registry (#5621)
Calling GetLastError() will not return the error code for the Windows registry APIs,
since they return a LSTATUS value which already the error code.

This also fixes the RegistryTablesTest.test_registry_non_existing_key
test case which was incorrectly expecting success when querying
for a non-existent registry key.

Ported from https://github.com/osql/osql/pull/50
2019-07-01 22:23:02 +02:00
..
applications Fix boost asio string_view detection hack 2019-06-26 21:49:06 -04:00
cloud Add CMake support 2019-06-26 21:49:06 -04:00
events Add CMake support 2019-06-26 21:49:06 -04:00
forensic Add CMake support 2019-06-26 21:49:06 -04:00
lldpd Add CMake support 2019-06-26 21:49:06 -04:00
networking Add CMake support 2019-06-26 21:49:06 -04:00
sleuthkit Add CMake support 2019-06-26 21:49:06 -04:00
smart Add CMake support 2019-06-26 21:49:06 -04:00
system Fix wrong error code returned when querying the Windows registry (#5621) 2019-07-01 22:23:02 +02:00
utility Add CMake support 2019-06-26 21:49:06 -04:00
yara Add CMake support 2019-06-26 21:49:06 -04:00
BUCK Fix LICENSE information on file headers (#5375) 2019-01-21 11:51:54 -08:00
CMakeLists.txt Add CMake support 2019-06-26 21:49:06 -04:00