Home
last modified time | relevance | path

Searched refs:core_pattern (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c349 static int write_core_pattern(const char *core_pattern) in write_core_pattern() argument
351 size_t len = strlen(core_pattern), ret; in write_core_pattern()
357 ret = fwrite(core_pattern, 1, len, f); in write_core_pattern()
370 char *core_pattern; in setup_core_pattern() local
373 core_pattern = malloc(PATH_MAX); in setup_core_pattern()
374 if (!core_pattern) { in setup_core_pattern()
386 ret = fread(core_pattern, 1, PATH_MAX, f); in setup_core_pattern()
395 if (!strcmp(core_pattern, "core") || !strcmp(core_pattern, "core.%p")) in setup_core_pattern()
405 *core_pattern_ = core_pattern; in setup_core_pattern()
410 free(core_pattern); in setup_core_pattern()
[all …]
/linux-6.1.9/fs/
Dcoredump.c61 static char core_pattern[CORENAME_MAX_SIZE] = "core"; variable
202 const char *pat_ptr = core_pattern; in format_corename()
215 int argvs = sizeof(core_pattern) / 2; in format_corename()
936 core_pattern[0] != '/' && core_pattern[0] != '|') { in validate_coredump_safety()
965 .data = core_pattern,
/linux-6.1.9/Documentation/admin-guide/sysctl/
Dkernel.rst142 core_pattern chapter
145 ``core_pattern`` is used to specify a core dumpfile pattern name.
148 * ``core_pattern`` is used as a pattern template for the output
153 If ``core_pattern`` does not include "%p" (default does not)
188 This sysctl is only applicable when `core_pattern`_ is configured to
190 ``core_pattern`` is a '|', see above).
217 If `core_pattern`_ does not include "%p" (default does not)
Dfs.rst291 anyway, but only if the "core_pattern" kernel sysctl is set to