Home
last modified time | relevance | path

Searched refs:usp32 (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/x86_64/ia32/
Dipc32.c215 struct semid_ds32 *usp32 = (struct semid_ds32 *) user_semid; in put_semid() local
217 if (!access_ok(VERIFY_WRITE, usp32, sizeof(*usp32))) { in put_semid()
221 err2 = __put_user(s->sem_perm.key, &usp32->sem_perm.key); in put_semid()
222 err2 |= __put_user(s->sem_perm.uid, &usp32->sem_perm.uid); in put_semid()
223 err2 |= __put_user(s->sem_perm.gid, &usp32->sem_perm.gid); in put_semid()
224 err2 |= __put_user(s->sem_perm.cuid, &usp32->sem_perm.cuid); in put_semid()
225 err2 |= __put_user(s->sem_perm.cgid, &usp32->sem_perm.cgid); in put_semid()
226 err2 |= __put_user(s->sem_perm.mode, &usp32->sem_perm.mode); in put_semid()
227 err2 |= __put_user(s->sem_perm.seq, &usp32->sem_perm.seq); in put_semid()
228 err2 |= __put_user(s->sem_otime, &usp32->sem_otime); in put_semid()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c1826 struct semid_ds32 *usp32 = (struct semid_ds32 *) A(pad); in do_sys32_semctl() local
1828 if (!access_ok(VERIFY_WRITE, usp32, sizeof(*usp32))) { in do_sys32_semctl()
1832 err2 = __put_user(s.sem_perm.key, &usp32->sem_perm.key); in do_sys32_semctl()
1833 err2 |= __put_user(s.sem_perm.uid, &usp32->sem_perm.uid); in do_sys32_semctl()
1834 err2 |= __put_user(s.sem_perm.gid, &usp32->sem_perm.gid); in do_sys32_semctl()
1835 err2 |= __put_user(s.sem_perm.cuid, &usp32->sem_perm.cuid); in do_sys32_semctl()
1836 err2 |= __put_user(s.sem_perm.cgid, &usp32->sem_perm.cgid); in do_sys32_semctl()
1837 err2 |= __put_user(s.sem_perm.mode, &usp32->sem_perm.mode); in do_sys32_semctl()
1838 err2 |= __put_user(s.sem_perm.seq, &usp32->sem_perm.seq); in do_sys32_semctl()
1839 err2 |= __put_user(s.sem_otime, &usp32->sem_otime); in do_sys32_semctl()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c2267 struct semid_ds32 *usp32 = (struct semid_ds32 *) A(pad); in semctl32() local
2269 if (!access_ok(VERIFY_WRITE, usp32, sizeof(*usp32))) { in semctl32()
2273 err2 = __put_user(s.sem_perm.key, &usp32->sem_perm.key); in semctl32()
2274 err2 |= __put_user(s.sem_perm.uid, &usp32->sem_perm.uid); in semctl32()
2275 err2 |= __put_user(s.sem_perm.gid, &usp32->sem_perm.gid); in semctl32()
2276 err2 |= __put_user(s.sem_perm.cuid, &usp32->sem_perm.cuid); in semctl32()
2277 err2 |= __put_user(s.sem_perm.cgid, &usp32->sem_perm.cgid); in semctl32()
2278 err2 |= __put_user(s.sem_perm.mode, &usp32->sem_perm.mode); in semctl32()
2279 err2 |= __put_user(s.sem_perm.seq, &usp32->sem_perm.seq); in semctl32()
2280 err2 |= __put_user(s.sem_otime, &usp32->sem_otime); in semctl32()
[all …]