Home
last modified time | relevance | path

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

/linux-4.1.27/net/
Dcompat.c34 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr() argument
45 __get_user(kmsg->msg_namelen, &umsg->msg_namelen) || in get_compat_msghdr()
49 __get_user(kmsg->msg_controllen, &umsg->msg_controllen) || in get_compat_msghdr()
50 __get_user(kmsg->msg_flags, &umsg->msg_flags)) in get_compat_msghdr()
54 kmsg->msg_namelen = 0; in get_compat_msghdr()
56 if (kmsg->msg_namelen < 0) in get_compat_msghdr()
59 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in get_compat_msghdr()
60 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in get_compat_msghdr()
61 kmsg->msg_control = compat_ptr(tmp3); in get_compat_msghdr()
66 if (uaddr && kmsg->msg_namelen) { in get_compat_msghdr()
[all …]
Dsocket.c1831 static int copy_msghdr_from_user(struct msghdr *kmsg, in copy_msghdr_from_user() argument
1843 __get_user(kmsg->msg_namelen, &umsg->msg_namelen) || in copy_msghdr_from_user()
1846 __get_user(kmsg->msg_control, &umsg->msg_control) || in copy_msghdr_from_user()
1847 __get_user(kmsg->msg_controllen, &umsg->msg_controllen) || in copy_msghdr_from_user()
1848 __get_user(kmsg->msg_flags, &umsg->msg_flags)) in copy_msghdr_from_user()
1852 kmsg->msg_namelen = 0; in copy_msghdr_from_user()
1854 if (kmsg->msg_namelen < 0) in copy_msghdr_from_user()
1857 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in copy_msghdr_from_user()
1858 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in copy_msghdr_from_user()
1863 if (uaddr && kmsg->msg_namelen) { in copy_msghdr_from_user()
[all …]
/linux-4.1.27/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.
/linux-4.1.27/fs/proc/
DMakefile31 proc-$(CONFIG_PRINTK) += kmsg.o
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt43 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
/linux-4.1.27/Documentation/zh_CN/
Doops-tracing.txt45 cat /proc/kmsg > file, 然而你必须介入中止传输, kmsg是一个“永不结束的文件”。如
/linux-4.1.27/Documentation/
Doops-tracing.txt26 buffers and save it. Or you can cat /proc/kmsg > file, however you
27 have to break in to stop the transfer, kmsg is a "never ending file".
Dsysrq.txt233 via the dmesg command and to the consumers of /proc/kmsg. As a specific
Ddevices.txt101 11 = /dev/kmsg Writes to this come out as printk's, reads
Dkernel-parameters.txt2602 kmsg. This only for the users who doubt kdump always
/linux-4.1.27/lib/
DKconfig.debug12 to /dev/kmsg. This flag just specifies if the timestamp should
/linux-4.1.27/Documentation/filesystems/
Dproc.txt572 kmsg Kernel messages