linux_dsm_epyc7002/arch/um/os-Linux
Wen Yang ba758cfce0 um: Fix len of file in create_pid_file
sizeof gives us the size of the pointer variable, not of the
area it points to. So the number of bytes copied by umid_file_name()
is 8.
We should pass in the correct length of the file buffer.

Signed-off-by: Wen Yang <wenyang@linux.alibaba.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-03-29 23:20:07 +02:00
..
drivers um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
skas um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
elf_aux.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execvp.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
file.c um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
helper.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
irq.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
main.c um: Don't trace irqflags during shutdown 2019-11-25 22:42:57 +01:00
Makefile um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
mem.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
process.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
registers.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
sigio.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
signal.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
start_up.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
time.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
tty.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
umid.c um: Fix len of file in create_pid_file 2020-03-29 23:20:07 +02:00
user_syms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00