[PATCH v2] eventfd: prepare id to userspace via fdinfo

2019-03-27 Thread Masatake YAMATO
as ids. A tool like lsof can utilize the information to print endpoints. Change in v2: Use integers as ids instead of memory addresses of eventfd contexts. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/eventfd.c b/fs/eventfd.c ind

Re: [PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-20 Thread Masatake YAMATO
Thank you for the comment. On Wed, 20 Mar 2019 12:05:25 -0700, Andrew Morton wrote: > On Wed, 20 Mar 2019 18:29:29 +0900 Masatake YAMATO wrote: > >> Finding endpoints of an IPC channel is one of essential task to >> understand how a user program works. Procfs and netl

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-20 Thread Masatake YAMATO
as id. A tool like lsof can utilize the information to print endpoints. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-05 Thread Masatake YAMATO
cal applicaiton utilizing the information is lsof. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7 @@ static void even

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-02-05 Thread Masatake YAMATO
cal applicaiton utilizing the information is lsof. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7 @@ static void even

[PATCH] eventfd: prepare id to userspace via fdinfo

2018-12-17 Thread Masatake YAMATO
Finding endpoints of an IPC channel is one of essential task to understand how a user program works. Procfs and netlink socket provide enough hints to find endpoints for IPC channels like pipes, unix sockets, and pseudo terminals. However, there is no simple way to find endpoints for an eventfd fil

Re: [PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-11 Thread Masatake YAMATO
On Tue, 11 Dec 2018 17:09:14 -0600, "Serge E. Hallyn" wrote: > On Mon, Dec 10, 2018 at 03:35:46AM +0900, Masatake YAMATO wrote: >> Finding endpoints of an IPC channel is one of essential task to >> understand how a user program works. Procfs and netlink socket provid

[PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-09 Thread Masatake YAMATO
7;t add an identifier; just use "[eventfd]" as before. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..c18952948110 100644 --- a/fs/eventfd.c +++

[PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-03 Thread Masatake YAMATO
7;t add an identifier; just use "[eventfd]" as before. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..c18952948110 100644 --- a/fs/eventfd.c +++

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 14:41:57 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Thomas Gleixner wrote: >> On Wed, 6 Jun 2018, Masatake YAMATO wrote: >> > On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner >> > wrote: >> > > On

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Masatake YAMATO wrote: > > Can you please explain why 0 is the wrong value. I don't know such constants, 0 and 1. What I change is just the name of macro parameter as s/detect/_de

[PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-05 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- arch/x86/include/asm/iommu_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index 1fb3fd1a83c2..2a0d5f7d1ed1 100644 --- a/arch/x86/include/asm/iommu_table.h

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-08-14 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-07-30 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v2] pty: show associative slave of ptmx in fdinfo

2017-07-17 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-07-12 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-26 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-11 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-05-24 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-03-30 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH] pty: show associative slave of ptmx in fdinfo

2017-02-13 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH] dynamic_debug: Fix a typo in comment

2014-12-14 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- lib/dynamic_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 527799d..d8f3d31 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -641,7 +641,7 @@ static __init int

[PATCH] intel_ips: fix a type in error message

2014-10-28 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- drivers/platform/x86/intel_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index c0242ed..ecd36e3 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform

[PATCH] wait: swap EXIT_ZOMBIE(Z) and EXIT_DEAD(X) chars in TASK_STATE_TO_CHAR_STR

2014-05-21 Thread Masatake YAMATO
-by: Masatake YAMATO --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..21fbdae 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -220,7 +220,7 @@ print_cfs_rq(struct seq_file *m

Re: [thermal_init] kernel BUG at net/netlink/genetlink.c:145!

2013-07-22 Thread Masatake YAMATO
> Hi Eduardo, > > I got the below dmesg and the first bad commit says that > thermal_init() is trying to register a too long group name. It may be related to my mistake. http://lists.openwall.net/netdev/2013/03/20/133 http://lists.openwall.net/netdev/2013/03/21/79 Masatake

[PATCH] pnp: extend char array field in pnp_fixup structure

2013-04-03 Thread Masatake YAMATO
or nul char. If the id field is just used as byte array, there is no problem. However, it is used as c string in pnp_fixup_device function: pnp_dbg(&dev->dev, "%s: calling %pF\n", f->id, f->quirk_function); Signed-off-by: Masatake

[RESEND3 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2013-02-25 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO Reviewed-by: Mike Christie --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libisc

[RESEND2 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-12-17 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO Reviewed-by: Mike Christie --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libisc

Re: linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Masatake YAMATO
Hi, How can I see source files applied your patch? (I'm very new to kernel development.) You patch looks like a patch for another patch. Masatake YAMATO > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in > net/socket.c between commits f8a78429

[PATCH] net: Providing protocol type via system.sockprotoname xattr of /proc/PID/fd entries

2012-08-29 Thread Masatake YAMATO
rom sockfs_dname() was already defined. To keep the compatibility between kernel and user land, the extended attribute is used to prepare the value of dentry->d_name. Signed-off-by: Masatake YAMATO --- net/socket.c | 83 1 file chang

[PATCH] be2iscsi: cleanup format strings using literal string concatenations

2012-08-12 Thread Masatake YAMATO
nd - inserting white spaces before/after hypen. Signed-off-by: Masatake YAMATO --- drivers/scsi/be2iscsi/be_cmds.c | 4 +-- drivers/scsi/be2iscsi/be_iscsi.c | 10 +++--- drivers/scsi/be2iscsi/be_main.c | 70 drivers/scsi/be2iscsi/be_mgmt.c | 2 +

[PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-08-12 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libi

Re: [PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-11 Thread Masatake YAMATO
f those fields. Is there any strcut which can be extended? Extending struct sock is o.k.? Masatake YAMATO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/maj

[PATCH v2 05/15] ipv4: declaring raw protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring raw protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index ff0f071..3980a4a 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -901,6 +901,7 @@ struct proto raw_prot

[PATCH v2 13/15] ipv6: declaring rawv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring rawv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ef0579d..62ac59f 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1226,6 +1226,7 @@ struct proto

[PATCH v2 03/15] ipv4: declaring icmp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring icmp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/ping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 6232d47..c4bb504 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -748,6 +748,7 @@ struct proto

[PATCH v2 08/15] unix: declaring unix protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/unix/af_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..7f109e6 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -616,6 +616,7

[PATCH v2 11/15] ipv6: declaring udpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..1b28eaf 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,7 @@ struct proto

[PATCH v2 07/15] packet: declaring packet protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/packet/af_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..6a0e47c 100644 --- a/net/packet/af_packet.c +++ b/net/packet

[PATCH v2 06/15] ipv4: declaring tcp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/tcp_ipv4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c660d2c..6f36929 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2635,6

[PATCH v2 10/15] ipv6: declaring tcpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/tcp_ipv6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index aa41b0e..741cb3b 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2017,6

[PATCH v2 04/15] ipv4: declaring udplite protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplite protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 2c46acd..14c9dec 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -62,6 +62,7

[PATCH v2 15/15] ipx: declaring ipx protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipx/af_ipx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..14be087 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6 +1345,7 @@ static

[PATCH v2 12/15] ipv6: declaring udplitev6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..9013897 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -57,6 +57,7

[PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/netlink/af_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..9094be5 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink

[PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-11 Thread Masatake YAMATO
ntry. A protocol can declare it has own proc entry with `has_own_proc_entry' field in struct proto. If the field is non-zero, the socket of the protocol is never added to `proc_sockfs_list'. In v2 patch, unnecessary CONFIG_PROC_FS ifdefs are removed as suggested by Alan Cox. The patches are r

[PATCH v2 14/15] ax25: declaring ax25 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ax25/af_ax25.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..ff23c8a 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -803,6 +803,7

[PATCH v2 02/15] ipv4: declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..a16c4fa 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,7 @@ struct proto

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
. Thanks. After reflecting the suggestion from Alan Cox to the patches, I will v2 patches to netdev. Masatake YAMATO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ke

[PATCH 08/15] Declaring unix protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/unix/af_unix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..e2d9869 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -616,6 +616,9

[PATCH 15/15] Declaring ipx protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipx/af_ipx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..b20290d 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6 +1345,9 @@ static

[PATCH 14/15] Declaring ax25 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ax25/af_ax25.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..a62dd6c 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -803,6 +803,9

[PATCH 13/15] Declaring rawv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring rawv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/raw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ef0579d..15006ce 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1226,6 +1226,9 @@ struct proto

[PATCH 07/15] Declaring packet protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/packet/af_packet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..4758940 100644 --- a/net/packet/af_packet.c +++ b/net/packet

[PATCH 12/15] Declaring udplitev6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udplite.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..0d6e713 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -57,6

[PATCH 11/15] Declaring udpv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..896149b 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,9 @@ struct proto

[PATCH 10/15] Declaring tcpv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/tcp_ipv6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 5a439e9..9152d02 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2043,6

[PATCH 09/15] Declaring netlink protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/netlink/af_netlink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..c97b553 100644 --- a/net/netlink/af_netlink.c +++ b/net

[PATCH 06/15] Declaring tcp protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/tcp_ipv4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 272241f..e361a26 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2645,6

[PATCH 05/15] Declaring raw protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring raw protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/raw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index ff0f071..b40224d 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -901,6 +901,9 @@ struct proto

[PATCH 04/15] Declaring udplite protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udplite protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udplite.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 2c46acd..0b398b5 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -62,6 +62,9

[PATCH 03/15] Declaring icmp protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring icmp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/ping.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 6232d47..5b4d67d 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -748,6 +748,9 @@ struct proto

[PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..2b822ac 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,9 @@ struct proto

[PATCH 01/15] Proc entry showing inodes on sockfs and types

2012-08-10 Thread Masatake YAMATO
ntry. A protocol can declare it has own proc entry with `has_own_proc_entry' field in struct proto. If the field is non-zero, the socket of the protocol is never added to `proc_sockfs_list'. Signed-off-by: Masatake YAMATO --- include/linux/net.h |

[PATCH v5 8/8] Added /proc/net/sco via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/sco via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/sco.c |9 + 1 file changed, 9 insertions(+) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 0ef5a78..caa109d 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -1023,6

[PATCH v5 7/8] Bluetooth: Added /proc/net/rfcomm via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/rfcomm via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/rfcomm/sock.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index 7e1e596..260821a 100644 --- a/net

[PATCH v5 6/8] Bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/l2cap via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/l2cap_sock.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index a4bb27e..04bd647 100644 --- a/net

[PATCH v5 5/8] Bluetooth: Added /proc/net/hidp via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/hidp via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/hidp/sock.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 18b3f68..eca3889 100644 --- a/net

[PATCH v5 4/8] Bluetooth: Added /proc/net/hci via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/hci via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/hci_sock.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index a7f04de..7c3d6c7 100644 --- a/net/bluetooth

[PATCH v5 3/8] Bluetooth: Added /proc/net/cmtp via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/cmtp via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/cmtp/sock.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index 311668d..d5cacef 100644 --- a/net

[PATCH v5 2/8] Bluetooth: Added /proc/net/bnep via bt_procfs_init()

2012-07-25 Thread Masatake YAMATO
Added /proc/net/bnep via bt_procfs_init(). Signed-off-by: Masatake YAMATO --- net/bluetooth/bnep/sock.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index 5e5f5b4..5b6cc0b 100644 --- a/net

[PATCH v5 1/8] Bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-25 Thread Masatake YAMATO
ed by Fengguang Wu. Signed-off-by: Masatake YAMATO --- include/net/bluetooth/bluetooth.h | 10 +++ net/bluetooth/af_bluetooth.c | 139 + 2 files changed, 149 insertions(+) diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h

Re: [PATCH v3 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-24 Thread Masatake YAMATO
tions. Signed-off-by: Masatake YAMATO --- include/net/bluetooth/bluetooth.h | 10 +++ net/bluetooth/af_bluetooth.c | 136 + 2 files changed, 146 insertions(+) diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 56

[PATCH v4 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-16 Thread Masatake YAMATO
ndler of seq_operations. In v4 patch, __acquires and __releases attributes are added to suppress sparse warning. Suggested by Andrei Emeltchenko. Signed-off-by: Masatake YAMATO --- include/net/bluetooth/bluetooth.h | 10 +++ net/bluetooth/af_bluetooth.c |

[PATCH] trivial: typo in comment in mksysmap

2012-07-13 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- scripts/mksysmap |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mksysmap b/scripts/mksysmap index 6e133a0..c1b6191 100644 --- a/scripts/mksysmap +++ b/scripts/mksysmap @@ -16,7 +16,7 @@ # The second row specify the type of the

[no subject]

2012-07-12 Thread Masatake Yamato
>From 1844089350ec3298978418e75cdfe2bb5062c438 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO , Masatake YAMATO Subject: [PATCH v4 1/8] /proc/net/ entries for bluetooth protocols In-Reply-To: <20120712074200.GA12931@aemeltch-MOBL1> References: <2012072308.GA3044@ae

Re: [PATCH v3 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-11 Thread Masatake YAMATO
Hi, > Hi Masatake, > > On Wed, Jul 11, 2012 at 01:58:31PM +0900, Masatake YAMATO wrote: >> (The patch sets are rebased to bluetooth-next. Unnecessary white >> spaces are trimmed.) >> >> lsof command can tell the type of socket processes are using. >> Int

Re: [PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-11 Thread Masatake YAMATO
rocfs_init() One line slided. I've paste the new one to this mail. About [PATCH v3 7/8] bluetooth: Added /proc/net/rfcomm via bt_procfs_init() I cannot find any change between new one and older one. What can I do? Masatake YAMATO >From c56754680ec4005de7586b6afa7155228e0bbd6e M

[PATCH v3 8/8] bluetooth: Added /proc/net/sco via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/sco.c |9 + 1 file changed, 9 insertions(+) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 40bbe25..85efd9f 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -1026,6 +1026,13 @@ int __init sco_init(void

[PATCH v3 7/8] bluetooth: Added /proc/net/rfcomm via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/rfcomm/sock.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index 7e1e596..260821a 100644 --- a/net/bluetooth/rfcomm/sock.c +++ b/net/bluetooth

[PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/l2cap_sock.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index a4bb27e..c9a9f1c 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth

[PATCH v3 5/8] bluetooth: Added /proc/net/hidp via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/hidp/sock.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 18b3f68..a481f8d 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp

[PATCH v3 4/8] bluetooth: Added /proc/net/hci via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/hci_sock.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index a7f04de..7c3d6c7 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c

[PATCH v3 3/8] bluetooth: Added /proc/net/cmtp via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/cmtp/sock.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index 311668d..d5cacef 100644 --- a/net/bluetooth/cmtp/sock.c +++ b/net/bluetooth/cmtp

[PATCH v3 2/8] bluetooth: Added /proc/net/bnep via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/bnep/sock.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index 5e5f5b4..5b6cc0b 100644 --- a/net/bluetooth/bnep/sock.c +++ b/net/bluetooth/bnep

[PATCH v3 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-10 Thread Masatake YAMATO
ed is just inode number of bluetooth socket. However, people may want more information. The bt_procfs_init takes a function pointer for customizing the show handler of seq_operations. Signed-off-by: Masatake YAMATO --- include/net/bluetooth/bluetooth.h | 10 +++ net/bluetooth/af_blueto

[PATCH] checking ADVICE of fadvice64_64 even if get_xip_page is given

2008-01-09 Thread Masatake YAMATO
IG_EXT2_FS_XIP is true from the user space. I propose the following patch which checks the advice parameter even if get_xip_page is given. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/mm/fadvise.c b/mm/fadvise.c index 0df4c89..3c0f1e9 100644 --- a/mm/fadvise.c +++ b/mm/f

[patch] remove description for non existing parameter in generic_set_mtrr

2007-11-21 Thread Masatake YAMATO
`do_safe' parameter is not in generic_set_mtrr but explained. Maybe someone forgot removing. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c index 992f08d..e0c0676 100644 --- a/arch/x86/kern

[patch-resend] Show ioremap and vmap in /proc/meminfo

2007-10-31 Thread Masatake YAMATO
eople who want to understand kernel memory usage to show the number of ioremap and vmap pages in /proc/meminfo. The following patch adds entries for ioremap and vmap to /proc/meminfo. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/fs/proc/internal.h b/fs/proc/internal.h in

[patch] fix typo about TBI in e1000 comment

2007-09-24 Thread Masatake YAMATO
I've found a typo in a comment of e1000 driver. I don't know the Signed-off-by for such a short and trivial patch. Any way I put it here. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 4a22595

[patch] Show ioremap and vmap in /proc/meminfo

2007-09-24 Thread Masatake YAMATO
r ioremap and vmap to /proc/meminfo. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/fs/proc/internal.h b/fs/proc/internal.h index b215c35..b888c59 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -19,6 +19,8 @@ static inline void proc_sys_init(void) { } struct vm

[PATCH] Fixing signness of parameters in scsi module

2007-09-19 Thread Masatake YAMATO
ld be between 1 and 2^32-1)". I'm not on the mailing list. so please put my address to cc: of your reply. Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 1bd92b9..f6d7552 100644 --- a/drivers/scsi

Re: [PATCH] never called printk statement in ide-taskfile.c::wait_drive_not_busy

2007-06-17 Thread Masatake YAMATO
> Please re-submit this fix in the form of a patch so I can merge it. Here it is. diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 30175c7..aa06daf 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c @@ -238,7 +238,7 @@ EXPORT_SYMBOL(task_no_data_in

Re: [PATCH] never called printk statement in ide-taskfile.c::wait_drive_not_busy

2007-06-05 Thread Masatake YAMATO
> On 06/04/2007 10:21 PM, Masatake YAMATO wrote: > > diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c > > index 30175c7..5e05311 100644 > > --- a/drivers/ide/ide-taskfile.c > > +++ b/drivers/ide/ide-taskfile.c > > @@ -249,7 +249,7 @@ static u

[PATCH] never called printk statement in ide-taskfile.c::wait_drive_not_busy

2007-06-04 Thread Masatake YAMATO
27; never holds zero at the outside of `while' loop: when `retries' holds zero at the while's loop condition, `retries' will hold -1 at the if condition. I'm not on this mailing list, so add my address to Cc: when you reply to me. Signed-off-by: Masatake YAMATO <[EMAIL P

[PATCH] Avoid to use kmalloc in usb/core/message.c

2005-07-05 Thread Masatake YAMATO
kmalloc are needed in these functions. Following patch is for avoiding invocations of kmalloc. Instead stacks are used. The patch is generated by co-diff against rsync://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]> Index: d