mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
75347add03
The MTE selftests create temporary files in /dev/shm, for later mmap-ing them. When there is no tmpfs mounted on /dev/shm, or /dev/shm does not exist in the first place (on minimal filesystems), the error message is not giving good hints: # FAIL: Unable to open temporary file # FAIL: memory allocation not ok 17 Check initial tags with private mapping, ... Add a perror() call, that gives both the filename and the actual error reason, so that users get a chance of correcting that. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Mark Brown <broone@kernel.org> Link: https://lore.kernel.org/r/20210319165334.29213-12-andre.przywara@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> |
||
---|---|---|
.. | ||
.gitignore | ||
check_buffer_fill.c | ||
check_child_memory.c | ||
check_gcr_el1_cswitch.c | ||
check_ksm_options.c | ||
check_mmap_options.c | ||
check_tags_inclusion.c | ||
check_user_mem.c | ||
Makefile | ||
mte_common_util.c | ||
mte_common_util.h | ||
mte_def.h | ||
mte_helper.S |