mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 10:23:54 +00:00
Merge pull request #1279 from mofarrell/kernel
Added unloading make target for kernel.
This commit is contained in:
commit
c06d2db77c
@ -112,6 +112,15 @@ if(APPLE)
|
||||
COMMAND echo "Wrote unsigned extension bundle: /tmp/osquery.kext"
|
||||
)
|
||||
|
||||
# make kernel-unload
|
||||
add_custom_target(
|
||||
kernel-unload
|
||||
# Unload the kernel extension.
|
||||
COMMAND sudo kextunload -v -b "com.facebook.security.osquery"
|
||||
COMMAND echo "Attempted to unload kernel extension with identifier:"
|
||||
COMMAND echo "com.facebook.security.osquery"
|
||||
)
|
||||
|
||||
# Additional helpful commands for configuring a debug environment for OS X.
|
||||
add_custom_target(
|
||||
kernel-configure-target
|
||||
@ -181,4 +190,4 @@ add_custom_target(
|
||||
kernel-test
|
||||
DEPENDS kernel-build
|
||||
COMMAND echo "-- Running kernel-specific unit tests"
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user