aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlison Schofield <[email protected]>2023-04-18 20:26:32 -0700
committerDan Williams <[email protected]>2023-04-23 12:08:39 -0700
commit8eac7ea72593010726713c5359a4b6aedf29b6fe (patch)
tree8c1bcf2671f681340958ad2cc3281269efe085c5 /lib/test_fortify/write_overflow-strncpy-src.c
parent6ec4b6d23e3a5b653cc8b6a7b09c20c30190cfce (diff)
tools/testing/cxl: Use injected poison for get poison list
Prior to poison inject support, the mock of 'Get Poison List' returned a poison list containing a single mocked error record. Following the addition of poison inject and clear support to the mock driver, use the mock_poison_list[], rather than faking an error record. Mock_poison_list[] list tracks the actual poison inject and clear requests issued by userspace. Signed-off-by: Alison Schofield <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/0f4242c81821f4982b02cb1009c22783ef66b2f1.1681874357.git.alison.schofield@intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions