1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Remove miscellaneous bounded-pointers relics in C code.

This commit is contained in:
Joseph Myers
2013-02-15 00:51:53 +00:00
parent dd395cf110
commit 2bdd4ca6b6
9 changed files with 28 additions and 16 deletions

View File

@ -38,15 +38,6 @@ shmat (shmid, shmaddr, shmflg)
unsigned long resultvar;
void *raddr;
#if __BOUNDED_POINTERS__
size_t length = ~0;
struct shmid_ds shmds;
/* It's unfortunate that we need to make another system call to get
the shared memory segment length... */
if (shmctl (shmid, IPC_STAT, &shmds) == 0)
length = shmds.shm_segsz;
#endif
resultvar = INTERNAL_SYSCALL (ipc, err, 5, IPCOP_shmat,
shmid, shmflg,
(long int) &raddr,