-by: Paul Osmialowski
[Rebased kmsg patch v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
include/linux/printk.h | 9 +
kernel/printk/kmsg.c | 107 +++--
kernel/printk/printk.c | 12 ++
kernel/printk/printk.h | 4 ++
4 files
v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
kernel/printk/printk.c | 222 ++---
1 file changed, 119 insertions(+), 103 deletions(-)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 2787bc7..3653a8e 100644
--- a/kernel
* KMSG_CMD_GET_READ_SIZE_MAX
* KMSG_CMD_CLEAR
Signed-off-by: Marcin Niesluchowski
Signed-off-by: Paul Osmialowski
[Rebased kmsg patch v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
Documentation/ioctl/ioctl-number.txt | 2 +-
include/uapi/linux/kmsg_ioctl.h | 15 ++
kernel/printk/kmsg.c
owski
[Rebased kmsg patch v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
drivers/char/mem.c | 27 ---
include/linux/printk.h | 32
kernel/printk/kmsg.c | 42 ++
kernel/printk/printk.c |
-off-by: Paul Osmialowski
[Rebased kmsg patch v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
fs/proc/kmsg.c | 4 +-
kernel/printk/kmsg.c | 301 --
kernel/printk/printk.c | 317
From: Paul Osmialowski
This patch adds selftests framework and four test scenarios for kmsg.
The framework shape and code was inspired by similar selftests framework
for kdbus.
Signed-off-by: Paul Osmialowski
[Fixed multithreaded test bug: buffer size > LOG_LINE_MAX]
Signed-off-by: Kazimi
[Fixed bug that allow adding more buffers than available minors]
Signed-off-by: Kazimierz Krosman
---
Documentation/ioctl/ioctl-number.txt | 1 +
drivers/char/mem.c | 2 +-
include/linux/printk.h | 7 ++
include/uapi/linux/Kbuild| 1 +
include
.
Signed-off-by: Paul Osmialowski
[Rebased kmsg patch v5 on Linux 4.5-rc5]
Signed-off-by: Kazimierz Krosman
---
kernel/printk/Makefile | 1 +
kernel/printk/kmsg.c | 575 ++
kernel/printk/printk.c | 743 +
kernel
ble to create
buffers
as long as minor is below 256 and there is a free memory (ioctl fail if kmalloc
fail).
It means that it is possible to allocate whole kernel memory for kmsg devices.
Best regards,
Kazimierz Krosman
Marcin Niesluchowski (6):
printk: add one function for storing lo
tects
against socket buffers overflow and messages drop. It is one of
advantages of this
solution: no maintenance.
Could you explain in more detail what did you mean by IPC problems?
Thanks.
--
Kazimierz Krosman
Samsung R&D Institute Poland
Samsung Electronics
k.kros...@samsung.com
10 matches
Mail list logo