mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
9d5438f462
A secured user-space accessible pstore object. Writes to /dev/pmsg0 are appended to the buffer, on reboot the persistent contents are available in /sys/fs/pstore/pmsg-ramoops-[ID]. One possible use is syslogd, or other daemon, can write messages, then on reboot provides a means to triage user-space activities leading up to a panic as a companion to the pstore dmesg or console logs. Signed-off-by: Mark Salyzyn <salyzyn@android.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
14 lines
251 B
Makefile
14 lines
251 B
Makefile
#
|
|
# Makefile for the linux pstorefs routines.
|
|
#
|
|
|
|
obj-y += pstore.o
|
|
|
|
pstore-objs += inode.o platform.o
|
|
obj-$(CONFIG_PSTORE_FTRACE) += ftrace.o
|
|
|
|
obj-$(CONFIG_PSTORE_PMSG) += pmsg.o
|
|
|
|
ramoops-objs += ram.o ram_core.o
|
|
obj-$(CONFIG_PSTORE_RAM) += ramoops.o
|