Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | // Copyright (c) 2015 Google Inc. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include <sys/systm.h> |
| 6 | #include <mach/mach_types.h> |
| 7 | |
| 8 | kern_return_t GypKext_start(kmod_info_t* ki, void* d) { |
| 9 | printf("GypKext has started.\n"); |
| 10 | return KERN_SUCCESS; |
| 11 | } |
| 12 | |
| 13 | kern_return_t GypKext_stop(kmod_info_t* ki, void* d) { |
| 14 | printf("GypKext has stopped.\n"); |
| 15 | return KERN_SUCCESS; |
| 16 | } |