]>
Commit | Line | Data |
---|---|---|
afffa7d5 AM |
1 | From misiek@pld.org.pl Tue Sep 19 23:59:05 2000 |
2 | Date: Tue, 19 Sep 2000 23:59:05 +0200 | |
3 | From: Arkadiusz Miskiewicz <misiek@pld.org.pl> | |
4 | To: Wichert Akkerman <wakkerma@debian.org> | |
5 | Cc: strace@lists.wiggy.net | |
6 | Subject: modified v6 support in strace again | |
7 | Message-ID: <20000919235905.B15844@ikar.t17.ds.pwr.wroc.pl> | |
8 | Mime-Version: 1.0 | |
9 | Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" | |
10 | Content-Disposition: inline | |
11 | Content-Transfer-Encoding: 8bit | |
12 | User-Agent: Mutt/1.2.4i | |
13 | X-URL: http://www.misiek.eu.org/ipv6/ | |
14 | X-Operating-System: Linux sunsite 4.0.20 #119 Tue Jan 16 12:21:53 MET 2001 i986 pld | |
15 | Status: RO | |
16 | Content-Length: 4493 | |
17 | Lines: 115 | |
18 | ||
19 | ||
20 | --4Ckj6UjgE2iN1+kY | |
21 | Content-Type: text/plain; charset=iso-8859-2 | |
22 | Content-Disposition: inline | |
23 | Content-Transfer-Encoding: 8bit | |
24 | ||
25 | ||
26 | Hi, | |
27 | ||
28 | I modified ipv6 patch for strace again. Now it supports | |
29 | link-local scope id as interface name: | |
30 | 20761 connect(8, {sin_family=AF_INET6, sin6_port=htons(79), | |
31 | inet_pton(AF_INET6, "fe80::260:52ff:fe0b:ff81", &sin6_addr), | |
32 | sin6_flowinfo=0, sin6_scope_id=if_nametoindex("lo")}, 28) = 0 | |
33 | (see attachmnt); and small patch: | |
34 | ||
35 | diff -urN strace-4.2.org/Makefile.in strace-4.2/Makefile.in | |
36 | --- strace-4.2.org/Makefile.in Tue Sep 19 12:55:54 2000 | |
37 | +++ strace-4.2/Makefile.in Tue Sep 19 12:56:03 2000 | |
38 | @@ -39,8 +39,9 @@ | |
39 | prefix = @prefix@ | |
40 | exec_prefix = @exec_prefix@ | |
41 | ||
42 | -bindir = $(exec_prefix)/bin | |
43 | -man1dir = $(prefix)/man/man1 | |
44 | +bindir = @bindir@ | |
45 | +mandir = @mandir@ | |
46 | +man1dir = $(mandir)/man1 | |
47 | man1ext = .1 | |
48 | ||
49 | SHELL = /bin/sh | |
50 | diff -urN strace-4.2.org/file.c strace-4.2/file.c | |
51 | --- strace-4.2.org/file.c Tue Sep 19 12:55:54 2000 | |
52 | +++ strace-4.2/file.c Tue Sep 19 12:56:15 2000 | |
53 | @@ -35,11 +35,14 @@ | |
54 | #include <dirent.h> | |
55 | #ifdef linux | |
56 | #define dirent kernel_dirent | |
57 | +#define dirent64 kernel_dirent64 | |
58 | #include <linux/types.h> | |
59 | #include <linux/dirent.h> | |
60 | #undef dirent | |
61 | +#undef dirent64 | |
62 | #else | |
63 | #define kernel_dirent dirent | |
64 | +#define kernel_dirent64 dirent64 | |
c34ae0b4 AM |
65 | #endif |
66 | ||
afffa7d5 AM |
67 | #ifdef linux |
68 | @@ -611,7 +614,7 @@ | |
69 | realprintstat(tcp, &statbuf); | |
70 | } | |
71 | ||
72 | -#ifdef STAT64 | |
73 | +#ifdef HAVE_STAT64 | |
74 | static void | |
75 | printstat64(tcp, addr) | |
76 | struct tcb *tcp; | |
77 | diff -urN strace-4.2.org/system.c strace-4.2/system.c | |
78 | --- strace-4.2.org/system.c Tue Sep 19 12:55:54 2000 | |
79 | +++ strace-4.2/system.c Tue Sep 19 12:56:03 2000 | |
80 | @@ -1435,6 +1435,9 @@ | |
c34ae0b4 AM |
81 | { KERN_PROF, "KERN_PROF" }, |
82 | { KERN_NODENAME, "KERN_NODENAME" }, | |
83 | { KERN_DOMAINNAME, "KERN_DOMAINNAME" }, | |
afffa7d5 | 84 | +#ifdef KERN_CAP_BSET |
c34ae0b4 | 85 | + { KERN_CAP_BSET, "KERN_CAP_BSET" }, |
c34ae0b4 | 86 | +#endif |
842d718f JR |
87 | #ifdef KERN_SECURELVL |
88 | { KERN_SECURELVL, "KERN_SECURELVL" }, | |
89 | #endif | |
afffa7d5 AM |
90 | |
91 | -- | |
92 |