glibc fails in tst-timer4, __SI_TIMER needs its own case
Olaf Hering
olh at suse.de
Mon Aug 16 07:51:42 EST 2004
Ben,
can you have a look at this one? glibc make check fails since the
tst-timer4 test was added in April this year. I think __ST_TIMER needs
its own case. This patch against 2.6.8.1 fixes it for me.
@@ -472,10 +527,14 @@ static long copy_siginfo_to_user32(compa
&d->si_addr);
break;
case __SI_POLL >> 16:
- case __SI_TIMER >> 16:
err |= __put_user(s->si_band, &d->si_band);
err |= __put_user(s->si_fd, &d->si_fd);
break;
+ case __SI_TIMER >> 16:
+ err |= __put_user(s->_sifields._rt._pid, &d->_sifields._rt._pid);
+ err |= __put_user(s->_sifields._rt._uid, &d->_sifields._rt._uid);
+ err |= __put_user((u32)(u64)s->_sifields._rt._sigval.sival_int, &d->_sifields._rt._sigval.sival_int);
+ break;
case __SI_RT >> 16: /* This is not generated by the kernel as of now. */
case __SI_MESGQ >> 16:
err |= __put_user(s->si_int, &d->si_int);
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list