negative inode number in /proc/net/udp

negative inode number in /proc/net/udp

Post by Arnaud Giersc » Wed, 20 Feb 2002 06:10:10



There is the same problem with unix sockets.

--- linux.orig/net/unix/af_unix.c       Fri Dec 21 18:42:06 2001

        {
                unix_state_rlock(s);

-               len+=sprintf(buffer+len,"%p: %08X %08X %08X %04X %02X %5ld",
+               len+=sprintf(buffer+len,"%p: %08X %08X %08X %04X %02X %5lu",
                        s,
                        atomic_read(&s->refcnt),
                        0,

--
Arnaud
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. /proc/net/tcp and /proc/net/udp

I'm trying to figure out how to debug these files outputs. I have already
made my own tripwire ids component, I would like to now make a program that
makes certain the kernel isn't patched (i.e.: lkm root kit) and make sure I
can see my program listening on a port from netstat, and this file, I will
also send/recv data but thats not really related to /proc heh. I was just
wondering does someone know where the por is? I get each connection is a
line... and it has a number... but like almost everything is in hex I think
and "man proc" isn't very helpful in telling you what the information in
the files mean. Any help will be appreciated.

2. NO WONDER U don't like GUI!!

3. move /proc/net/udp support back to net/ipv4/udp.c

4. Netcfg activate problem

5. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c

6. scanner SCSi for Linux

7. /proc/net/route, /proc/net/rt_cach, sysctl ??

8. Fax Question

9. linux 2.[45].x: negative inode numbers in /proc/net/*

10. Releasing /proc inode numbers

11. ipv4: convert /proc/net/udp to seq_file

12. "/proc/net/tcp|udp"

13. Tuning net parameters for sending a maximum number of UDP packets