Home
last modified time | relevance | path

Searched refs:kmsg (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/tools/testing/selftests/livepatch/
Dtest-livepatch.sh62 grep 'live patched' /proc/cmdline > /dev/kmsg
63 grep 'live patched' /proc/meminfo > /dev/kmsg
67 grep 'live patched' /proc/cmdline > /dev/kmsg
68 grep 'live patched' /proc/meminfo > /dev/kmsg
73 grep 'live patched' /proc/cmdline > /dev/kmsg
74 grep 'live patched' /proc/meminfo > /dev/kmsg
79 grep 'live patched' /proc/cmdline > /dev/kmsg
80 grep 'live patched' /proc/meminfo > /dev/kmsg
125 grep 'live patched' /proc/cmdline > /dev/kmsg
126 grep 'live patched' /proc/meminfo > /dev/kmsg
[all …]
Dfunctions.sh13 echo "$1" > /dev/kmsg
/Linux-v5.4/net/
Dcompat.c36 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr() argument
47 kmsg->msg_flags = msg.msg_flags; in get_compat_msghdr()
48 kmsg->msg_namelen = msg.msg_namelen; in get_compat_msghdr()
51 kmsg->msg_namelen = 0; in get_compat_msghdr()
53 if (kmsg->msg_namelen < 0) in get_compat_msghdr()
56 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in get_compat_msghdr()
57 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in get_compat_msghdr()
59 kmsg->msg_control = compat_ptr(msg.msg_control); in get_compat_msghdr()
60 kmsg->msg_controllen = msg.msg_controllen; in get_compat_msghdr()
65 if (msg.msg_name && kmsg->msg_namelen) { in get_compat_msghdr()
[all …]
Dsocket.c2183 static int copy_msghdr_from_user(struct msghdr *kmsg, in copy_msghdr_from_user() argument
2194 kmsg->msg_control = (void __force *)msg.msg_control; in copy_msghdr_from_user()
2195 kmsg->msg_controllen = msg.msg_controllen; in copy_msghdr_from_user()
2196 kmsg->msg_flags = msg.msg_flags; in copy_msghdr_from_user()
2198 kmsg->msg_namelen = msg.msg_namelen; in copy_msghdr_from_user()
2200 kmsg->msg_namelen = 0; in copy_msghdr_from_user()
2202 if (kmsg->msg_namelen < 0) in copy_msghdr_from_user()
2205 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in copy_msghdr_from_user()
2206 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in copy_msghdr_from_user()
2211 if (msg.msg_name && kmsg->msg_namelen) { in copy_msghdr_from_user()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Ddev-kmsg1 What: /dev/kmsg
5 Description: The /dev/kmsg character device node provides userspace access
98 the console, /proc/kmsg or the syslog() syscall.
103 disabled and /dev/kmsg output will contain more fragments. If
106 may be removed entirely and /dev/kmsg users are recommended to
/Linux-v5.4/fs/proc/
DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/Linux-v5.4/Documentation/translations/zh_CN/
Doops-tracing.txt45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
/Linux-v5.4/arch/powerpc/platforms/powernv/
DMakefile6 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/Linux-v5.4/Documentation/admin-guide/sysctl/
Dkernel.rst397 Controls whether the panic kmsg data should be reported to Hyper-V.
399 0: do not report panic kmsg data.
401 1: report the panic kmsg data. This is the default behavior.
852 Control the logging to /dev/kmsg from userspace:
857 on: unlimited logging to /dev/kmsg from userspace
859 off: logging to /dev/kmsg disabled
/Linux-v5.4/Documentation/admin-guide/
Dbug-hunting.rst73 ``cat /proc/kmsg > file``, however you have to break in to stop the transfer,
74 ``kmsg`` is a "never ending file".
Dsysrq.rst264 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
Dkernel-parameters.txt665 from /proc/kmsg.
3302 kmsg. This only for the users who doubt kdump always
3691 Control writing to /dev/kmsg.
3692 on - unlimited logging to /dev/kmsg from userspace
3693 off - logging to /dev/kmsg disabled
Ddevices.txt16 11 = /dev/kmsg Writes to this come out as printk's, reads
/Linux-v5.4/Documentation/networking/
Dnetconsole.txt148 following format which is the same as /dev/kmsg.
/Linux-v5.4/lib/
DKconfig.debug15 to /dev/kmsg. This flag just specifies if the timestamp should
/Linux-v5.4/Documentation/filesystems/
Dproc.txt646 kmsg Kernel messages