about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-01 06:35:29 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-01 06:35:29 +0000
commite782a927c24430100bf2008c96cd421a70285a7e (patch)
treeca91c08070e38fa5c2c9ed085f4835eb5ab3704b /sysdeps/unix
parent3a7ac8a0f596bb73093212cd1109c1413777e1f8 (diff)
downloadglibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.gz
glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.xz
glibc-e782a927c24430100bf2008c96cd421a70285a7e.zip
Remove BOUNDED_N and BOUNDED_1.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/shmat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/shmat.c b/sysdeps/unix/sysv/linux/shmat.c
index cb5aa50bd1..91d9443767 100644
--- a/sysdeps/unix/sysv/linux/shmat.c
+++ b/sysdeps/unix/sysv/linux/shmat.c
@@ -23,7 +23,6 @@
 #include <sysdep.h>
 #include <unistd.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 /* Attach the shared memory segment associated with SHMID to the data
    segment of the calling process.  SHMADDR and SHMFLG determine how
@@ -58,5 +57,5 @@ shmat (shmid, shmaddr, shmflg)
       return (void *) -1l;
     }
 
-  return BOUNDED_N (raddr, length);
+  return raddr;
 }