Home
last modified time | relevance | path

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

/Linux-v4.19/net/
Dcompat.c35 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr() argument
46 kmsg->msg_flags = msg.msg_flags; in get_compat_msghdr()
47 kmsg->msg_namelen = msg.msg_namelen; in get_compat_msghdr()
50 kmsg->msg_namelen = 0; in get_compat_msghdr()
52 if (kmsg->msg_namelen < 0) in get_compat_msghdr()
55 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in get_compat_msghdr()
56 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in get_compat_msghdr()
58 kmsg->msg_control = compat_ptr(msg.msg_control); in get_compat_msghdr()
59 kmsg->msg_controllen = msg.msg_controllen; in get_compat_msghdr()
64 if (msg.msg_name && kmsg->msg_namelen) { in get_compat_msghdr()
[all …]
Dsocket.c1989 static int copy_msghdr_from_user(struct msghdr *kmsg, in copy_msghdr_from_user() argument
2000 kmsg->msg_control = (void __force *)msg.msg_control; in copy_msghdr_from_user()
2001 kmsg->msg_controllen = msg.msg_controllen; in copy_msghdr_from_user()
2002 kmsg->msg_flags = msg.msg_flags; in copy_msghdr_from_user()
2004 kmsg->msg_namelen = msg.msg_namelen; in copy_msghdr_from_user()
2006 kmsg->msg_namelen = 0; in copy_msghdr_from_user()
2008 if (kmsg->msg_namelen < 0) in copy_msghdr_from_user()
2011 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in copy_msghdr_from_user()
2012 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in copy_msghdr_from_user()
2017 if (msg.msg_name && kmsg->msg_namelen) { in copy_msghdr_from_user()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Ddev-kmsg1 What: /dev/kmsg
5 Description: The /dev/kmsg character device node provides userspace access
99 console, /proc/kmsg or the syslog() syscall.
104 disabled and /dev/kmsg output will contain more fragments. If
107 may be removed entirely and /dev/kmsg users are recommended to
/Linux-v4.19/fs/proc/
DMakefile34 proc-$(CONFIG_PRINTK) += kmsg.o
/Linux-v4.19/Documentation/translations/zh_CN/
Doops-tracing.txt45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
/Linux-v4.19/arch/powerpc/platforms/powernv/
DMakefile6 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/Linux-v4.19/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt59 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
/Linux-v4.19/Documentation/sysctl/
Dkernel.txt393 Controls whether the panic kmsg data should be reported to Hyper-V.
395 0: do not report panic kmsg data.
397 1: report the panic kmsg data. This is the default behavior.
813 Control the logging to /dev/kmsg from userspace:
816 on: unlimited logging to /dev/kmsg from userspace
817 off: logging to /dev/kmsg disabled
/Linux-v4.19/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.rst266 via the dmesg command and to the consumers of ``/proc/kmsg``. As a specific
Dkernel-parameters.txt656 from /proc/kmsg.
3061 kmsg. This only for the users who doubt kdump always
3447 Control writing to /dev/kmsg.
3448 on - unlimited logging to /dev/kmsg from userspace
3449 off - logging to /dev/kmsg disabled
Ddevices.txt16 11 = /dev/kmsg Writes to this come out as printk's, reads
/Linux-v4.19/Documentation/networking/
Dnetconsole.txt148 following format which is the same as /dev/kmsg.
/Linux-v4.19/lib/
DKconfig.debug14 to /dev/kmsg. This flag just specifies if the timestamp should
/Linux-v4.19/Documentation/filesystems/
Dproc.txt605 kmsg Kernel messages