Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/disk.h
Context not available. | |||||
#define _SYS_DISK_H_ | #define _SYS_DISK_H_ | ||||
#include <sys/ioccom.h> | #include <sys/ioccom.h> | ||||
#include <sys/kerneldump.h> | |||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
Context not available. | |||||
* disk label formats. Don't use it unless you have to. | * disk label formats. Don't use it unless you have to. | ||||
*/ | */ | ||||
#define DIOCSKERNELDUMP _IOW('d', 133, u_int) /* Set/Clear kernel dumps */ | #define DIOCSKERNELDUMP_FREEBSD10 _IOW('d', 133, u_int) | ||||
/* | /* | ||||
* Enable/Disable (the argument is boolean) the device for kernel | * Enable/Disable (the argument is boolean) the device for kernel | ||||
* core dumps. | * core dumps. | ||||
Context not available. | |||||
}; | }; | ||||
#define DIOCGATTR _IOWR('d', 142, struct diocgattr_arg) | #define DIOCGATTR _IOWR('d', 142, struct diocgattr_arg) | ||||
struct diocskerneldump_arg { | |||||
uint8_t kda_enable; | |||||
uint8_t kda_encryption; | |||||
uint8_t kda_key[KERNELDUMP_KEY_MAX_SIZE]; | |||||
uint32_t kda_encryptedkeysize; | |||||
uint8_t *kda_encryptedkey; | |||||
}; | |||||
#define DIOCSKERNELDUMP _IOW('d', 143, struct diocskerneldump_arg) | |||||
/* | |||||
* Enable/Disable the device for kernel core dumps. | |||||
*/ | |||||
#endif /* _SYS_DISK_H_ */ | #endif /* _SYS_DISK_H_ */ | ||||
Context not available. |