mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Michael Holzheu](/assets/img/avatar_default.png)
Currently the buffer for diagnose data is allocated in the open function of the debugfs file and is released in the close function. This has the drawback that a user (root) can pin that memory by not closing the file. This patch moves the buffer allocation to the read function. The buffer is automatically released after the buffer is copied to userspace. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
7 lines
166 B
Makefile
7 lines
166 B
Makefile
#
|
|
# Makefile for the linux hypfs filesystem routines.
|
|
#
|
|
|
|
obj-$(CONFIG_S390_HYPFS_FS) += s390_hypfs.o
|
|
|
|
s390_hypfs-objs := inode.o hypfs_diag.o hypfs_vm.o hypfs_dbfs.o
|