Searched refs:core_pattern (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 349 static int write_core_pattern(const char *core_pattern) in write_core_pattern() argument 353 err = write_file(core_pattern_file, core_pattern, strlen(core_pattern)); in write_core_pattern() 365 char *core_pattern; in setup_core_pattern() local 369 core_pattern = malloc(PATH_MAX); in setup_core_pattern() 370 if (!core_pattern) { in setup_core_pattern() 375 ret = read_file(core_pattern_file, core_pattern, PATH_MAX - 1, &len); in setup_core_pattern() 382 core_pattern[len] = '\0'; in setup_core_pattern() 385 if (!strcmp(core_pattern, "core") || !strcmp(core_pattern, "core.%p")) in setup_core_pattern() 395 *core_pattern_ = core_pattern; in setup_core_pattern() 400 free(core_pattern); in setup_core_pattern() [all …]
|
/linux-6.12.1/fs/ |
D | coredump.c | 66 static char core_pattern[CORENAME_MAX_SIZE] = "core"; variable 211 const char *pat_ptr = core_pattern; in format_corename() 224 int argvs = sizeof(core_pattern) / 2; in format_corename() 976 core_pattern[0] != '/' && core_pattern[0] != '|') { in validate_coredump_safety() 1007 .data = core_pattern,
|
/linux-6.12.1/Documentation/admin-guide/sysctl/ |
D | fs.rst | 260 anyway, but only if the ``core_pattern`` kernel sysctl (see 261 :ref:`Documentation/admin-guide/sysctl/kernel.rst <core_pattern>`)
|
D | kernel.rst | 144 core_pattern chapter 147 ``core_pattern`` is used to specify a core dumpfile pattern name. 150 * ``core_pattern`` is used as a pattern template for the output 155 If ``core_pattern`` does not include "%p" (default does not) 191 This sysctl is only applicable when `core_pattern`_ is configured to 193 ``core_pattern`` is a '|', see above). 220 If `core_pattern`_ does not include "%p" (default does not)
|