ืืคืชืื ืคืจืืืงื Grsecurity
ืืืื ืืืืงืช ืืชืืงืื, ืืืคืชืืื ืฉืื ืื ืฉืืืืื ืืื ืืื, ืืืืืจ ืืฆืื ืืืืจื ืืืื ืขืจืืื ืงืื ืืืืืจืืช (ืืืื ื ืืืืืจ ืืืืจ ืืงืื, ืชืื ืืงืฆืืช ืขืจื ืืืฉืชื ื ืงืืื):
int index = n;
if (n < HBP_NUM) { index = array_index_nospec(index, HBP_NUM); struct perf_event *bp = thread->ptrace_bps[index];
ืืื ืืก ืงืืื
if (n < HBP_NUM) { int index = array_index_nospec(n, HBP_NUM); struct perf_event *bp = thread->ptrace_bps[index];
ืืืืื, ืืชืืงืื ืืืขืืจ ืื ืืขื ืคื ืืืจืขืื ืืืฆืืืื 4.4, 4.9, 4.14, 4.19 ื-5.2. ืื ืื ืืื ืกื ืืคื ืืืืจืืื ื ืชืงืื ืืืืืจื ืืืืงืื ืืืืืง ืื ืืื ืชืืงื ื ืืืจ ืืกื ืืฃ ืืืืกืืจ ืฉื ืืื ืืก, ืื ืืืฆืขื ืชืืงืื ืืขืฆืื. ืืืขืื ืืื ืฉืืื ืืืฉืื ืขื ืื ืืืืช, ืื ืคืฉืื
int index = n;
if (n < HBP_NUM ){ struct perf_event *bp = thread->ptrace_bps[index];
index = array_index_nospec(index, HBP_NUM);
ืืงืืจ: OpenNet.ru