summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-03-03 16:52:27 +0000
committerJakub Jelinek <jakub@redhat.com>2005-03-03 16:52:27 +0000
commit1f53f6f82f2165e421d94a83a731c1308097849f (patch)
treec264f23f46c0f440348f75093e59cacfc9c60dba /debug
parenta3f1b27bd61b4bd1645e90953eb09ae2aa3ef9e9 (diff)
2.3.4-11
Diffstat (limited to 'debug')
-rw-r--r--debug/Versions6
-rw-r--r--debug/fgets_chk.c2
-rw-r--r--debug/fgets_u_chk.c2
-rw-r--r--debug/getcwd_chk.c3
-rw-r--r--debug/getwd_chk.c3
-rw-r--r--debug/pread64_chk.c3
-rw-r--r--debug/pread_chk.c3
-rw-r--r--debug/read_chk.c3
-rw-r--r--debug/readlink_chk.c3
-rw-r--r--debug/recv_chk.c3
-rw-r--r--debug/recvfrom_chk.c3
11 files changed, 20 insertions, 14 deletions
diff --git a/debug/Versions b/debug/Versions
index fd97834171..07d6fbb830 100644
--- a/debug/Versions
+++ b/debug/Versions
@@ -18,10 +18,4 @@ libc {
__printf_chk; __fprintf_chk; __vprintf_chk; __vfprintf_chk;
__gets_chk;
}
- GLIBC_2.4 {
- __fgets_chk; __fgets_unlocked_chk;
- __read_chk; __pread_chk; __pread64_chk;
- __readlink_chk; __getcwd_chk; __getwd_chk;
- __recv_chk; __recvfrom_chk;
- }
}
diff --git a/debug/fgets_chk.c b/debug/fgets_chk.c
index 27fbede7f0..813d0dce64 100644
--- a/debug/fgets_chk.c
+++ b/debug/fgets_chk.c
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <sys/param.h>
+#if 0
char *
__fgets_chk (buf, size, n, fp)
char *buf;
@@ -65,3 +66,4 @@ __fgets_chk (buf, size, n, fp)
_IO_release_lock (fp);
return result;
}
+#endif
diff --git a/debug/fgets_u_chk.c b/debug/fgets_u_chk.c
index 324d7e371b..50d4405533 100644
--- a/debug/fgets_u_chk.c
+++ b/debug/fgets_u_chk.c
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <sys/param.h>
+#if 0
char *
__fgets_unlocked_chk (buf, size, n, fp)
char *buf;
@@ -63,3 +64,4 @@ __fgets_unlocked_chk (buf, size, n, fp)
fp->_IO_file_flags |= old_error;
return result;
}
+#endif
diff --git a/debug/getcwd_chk.c b/debug/getcwd_chk.c
index cb864c858e..8d33b77826 100644
--- a/debug/getcwd_chk.c
+++ b/debug/getcwd_chk.c
@@ -20,7 +20,7 @@
#include <unistd.h>
#include <sys/param.h>
-
+#if 0
char *
__getcwd_chk (char *buf, size_t size, size_t buflen)
{
@@ -29,3 +29,4 @@ __getcwd_chk (char *buf, size_t size, size_t buflen)
return __getcwd (buf, size);
}
+#endif
diff --git a/debug/getwd_chk.c b/debug/getwd_chk.c
index 898af28d3f..3a224d94a4 100644
--- a/debug/getwd_chk.c
+++ b/debug/getwd_chk.c
@@ -20,7 +20,7 @@
#include <unistd.h>
#include <sys/param.h>
-
+#if 0
char *
__getwd_chk (char *buf, size_t buflen)
{
@@ -32,3 +32,4 @@ __getwd_chk (char *buf, size_t buflen)
link_warning (getwd,
"the `getwd' function is dangerous and should not be used.")
+#endif
diff --git a/debug/pread64_chk.c b/debug/pread64_chk.c
index 93e5151ddc..d281ad54af 100644
--- a/debug/pread64_chk.c
+++ b/debug/pread64_chk.c
@@ -19,7 +19,7 @@
#include <unistd.h>
#include <sys/param.h>
-
+#if 0
ssize_t
__pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
{
@@ -28,3 +28,4 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
return __pread64 (fd, buf, offset, nbytes);
}
+#endif
diff --git a/debug/pread_chk.c b/debug/pread_chk.c
index 24c13103dd..cf4f9f203c 100644
--- a/debug/pread_chk.c
+++ b/debug/pread_chk.c
@@ -19,7 +19,7 @@
#include <unistd.h>
#include <sys/param.h>
-
+#if 0
ssize_t
__pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen)
{
@@ -28,3 +28,4 @@ __pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen)
return __pread (fd, buf, offset, nbytes);
}
+#endif
diff --git a/debug/read_chk.c b/debug/read_chk.c
index da2bc945b7..0c36aaed4f 100644
--- a/debug/read_chk.c
+++ b/debug/read_chk.c
@@ -23,7 +23,7 @@
# include <sysdep.h>
#endif
-
+#if 0
ssize_t
__read_chk (int fd, void *buf, size_t nbytes, size_t buflen)
{
@@ -36,3 +36,4 @@ __read_chk (int fd, void *buf, size_t nbytes, size_t buflen)
return __read (fd, buf, nbytes);
#endif
}
+#endif
diff --git a/debug/readlink_chk.c b/debug/readlink_chk.c
index ac18ee2c29..8aabe0af25 100644
--- a/debug/readlink_chk.c
+++ b/debug/readlink_chk.c
@@ -23,7 +23,7 @@
# include <sysdep.h>
#endif
-
+#if 0
ssize_t
__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
{
@@ -36,3 +36,4 @@ __readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
return __readlink (path, buf, len);
#endif
}
+#endif
diff --git a/debug/recv_chk.c b/debug/recv_chk.c
index 7a49d17234..f83bd3ed2f 100644
--- a/debug/recv_chk.c
+++ b/debug/recv_chk.c
@@ -19,7 +19,7 @@
#include <sys/param.h>
#include <sys/socket.h>
-
+#if 0
ssize_t
__recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags)
{
@@ -31,3 +31,4 @@ __recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags)
__chk_fail ();
return nrecv;
}
+#endif
diff --git a/debug/recvfrom_chk.c b/debug/recvfrom_chk.c
index e1b1da7f6b..9403479c00 100644
--- a/debug/recvfrom_chk.c
+++ b/debug/recvfrom_chk.c
@@ -19,7 +19,7 @@
#include <sys/param.h>
#include <sys/socket.h>
-
+#if 0
ssize_t
__recvfrom_chk (int fd, void *buf, size_t n, size_t buflen, int flags,
__SOCKADDR_ARG addr, socklen_t *addr_len)
@@ -33,3 +33,4 @@ __recvfrom_chk (int fd, void *buf, size_t n, size_t buflen, int flags,
__chk_fail ();
return nrecv;
}
+#endif