代码拉取完成,页面将自动刷新
同步操作将从 anolis/ras-tools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
.TH HORNET 8 2015-07-07 Linux "System Validation Manual"
.SH NAME
hornet \- inject an uncorrectable memory error into a process
.SH SYNOPSIS
.B hornet
[
.B \-D
.I delay
] [
.B \-v
] [
.I address\-options
]
.I COMMAND
[
.I ARGS
]
.br
.B hornet
[
.B \-D
.I delay
] [
.B \-v
] [
.I address\-options
]
\-p
.I PID
.br
.B hornet
[
.B \-v
]
\-P
.I PID
.SH CONFIGURATION
.B hornet
requires that error injection be enabled in ACPI 5.0 mode by the BIOS and that the
error injection driver
.B einj
is loaded. Running on a processor that does not support error recovery
will crash the system when the injected error is consumed.
.SH DESCRIPTION
.B hornet
injects an uncorrectable memory error into a program to test recovery paths.
It waits for the process to terminate and tries to take the target page offline
if the application did not trigger an error by accessing the injected address.
.SH OPTIONS
.TP
.BI \-D " delay"
Pause for
.I delay
seconds before injecting the memory error. A floating point value may be specified.
.TP
.B \-v
print verbose details about execution progress.
.TP
.B address-options
.BI \-a " address"
inject at the specified virtual address
.br
.B \-t
choose an address randomly from the text (code) section
.br
.B \-d
choose an address randomly from the initialized data section
.br
.B \-b
choose an address randomly from the uninitialized data section (heap)
.br
.B \-s
choose an address randomly from the stack section
.br
.B \-m
choose an address randomly from an anonymous mapped section
.br
If none of the address options are specified
.B hornet
will choose an address from the largest writable address region
in the process.
.TP
.BI \-p " PID"
inject errors into an already running process
.TP
.BI \-P " PID"
stop the process using ptrace(2), inject at the next instruction to be executed, then continue.
.SH EXIT STATUS
.SH FILES
.PP
/sys/kernel/debug/apei/einj/*
.RS 4
Error injection interface.
.RE
.PP
/sys/devices/system/memory/hard_offline_page
.RS 4
Interface to ask kernel to take pages offline.
.RE
.SH NOTES
.SH BUGS
.SH EXAMPLE
.SH SEE ALSO
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。