diff options
| author | Florent Revest <[email protected]> | 2023-08-28 17:08:55 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-06 14:44:11 -0700 |
| commit | c93d05a729f9646a38aaf53781b447c99cfd86fb (patch) | |
| tree | 3a1d8bfe917c995b5bde869a1e82a737a6180d8c /include/linux/stackprotector.h | |
| parent | a27e2e2d465e4ed73371974040689ac3e78fe3ee (diff) | |
kselftest: vm: check errnos in mdwe_test
Invalid prctls return a negative code and set errno. It's good practice
to check that errno is set as expected.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Florent Revest <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Alexey Izbyshev <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Ayush Jain <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Joey Gouly <[email protected]>
Cc: KP Singh <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Szabolcs Nagy <[email protected]>
Cc: Topi Miettinen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions