patches/strace/4.5.16/450-strace-undef-CTL_PROC.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Fri Apr 18 22:16:28 2008 +0000 (2008-04-18) |
changeset 451 |
8a72f9bcf675 |
permissions |
-rw-r--r-- |
Using SOCKS 4/5 proxy is no easy task:
- a machine may well be able to reach the proxy, even if it is not on the same sub-net(s) as the machine itself (absolutely legitimate)
- tsocks.conf needs a list of so-called 'local' networks that can be reached without the need for a SOCKS connection
- SOCKS proxies are expected to be in 'local' networks
- there is absolutely NO way to tell what networks are local, besides the sub-net(s) the machine is in
Therefore, appropriate configuration of SOCKS 4/5 configuration is really complex, and attempts to correctly overcome this issue are doomed.
/trunk/scripts/crosstool.sh | 52 46 6 0 ++++++++++++++++++++++++++++++++++----
/trunk/config/global/download_extract.in | 39 31 8 0 +++++++++++++++++++++++------
2 files changed, 77 insertions(+), 14 deletions(-)
yann@428
|
1 |
diff -dur strace-4.5.16.orig/system.c strace-4.5.16/system.c
|
yann@428
|
2 |
--- strace-4.5.16.orig/system.c 2007-01-17 00:22:36.000000000 +0100
|
yann@428
|
3 |
+++ strace-4.5.16/system.c 2007-07-14 19:28:41.000000000 +0200
|
yann@428
|
4 |
@@ -1612,7 +1612,9 @@
|
yann@428
|
5 |
{ CTL_KERN, "CTL_KERN" },
|
yann@428
|
6 |
{ CTL_VM, "CTL_VM" },
|
yann@428
|
7 |
{ CTL_NET, "CTL_NET" },
|
yann@428
|
8 |
+#ifdef CTL_PROC
|
yann@428
|
9 |
{ CTL_PROC, "CTL_PROC" },
|
yann@428
|
10 |
+#endif
|
yann@428
|
11 |
{ CTL_FS, "CTL_FS" },
|
yann@428
|
12 |
{ CTL_DEBUG, "CTL_DEBUG" },
|
yann@428
|
13 |
{ CTL_DEV, "CTL_DEV" },
|