mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
eafcd8e3fb
Current core-pkey selftest fails if the test runs without privileges to write into the core pattern file (/proc/sys/kernel/core_pattern). This causes the test to fail and give the impression that the subsystem being tested is broken, when, in fact, the test is being executed without the proper privileges. This is the current error: test: core_pkey tags: git_version:v4.19-3-g9e3363be9bce-dirty Error writing to core_pattern file: Permission denied failure: core_pkey This patch simply skips this test if it runs without the proper privileges, avoiding this undesired failure. CC: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> CC: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
||
---|---|---|
.. | ||
.gitignore | ||
child.h | ||
core-pkey.c | ||
Makefile | ||
perf-hwbreak.c | ||
ptrace-gpr.c | ||
ptrace-gpr.h | ||
ptrace-hwbreak.c | ||
ptrace-pkey.c | ||
ptrace-syscall.c | ||
ptrace-tar.c | ||
ptrace-tar.h | ||
ptrace-tm-gpr.c | ||
ptrace-tm-spd-gpr.c | ||
ptrace-tm-spd-tar.c | ||
ptrace-tm-spd-vsx.c | ||
ptrace-tm-spr.c | ||
ptrace-tm-tar.c | ||
ptrace-tm-vsx.c | ||
ptrace-vsx.c | ||
ptrace-vsx.h | ||
ptrace.h |