Evgeniy Polyakov wrote:
We need to pass the data in the sigev_value meember of the struct sigevent structure passed to timer_create to the caller. I don't see it being done here nor when the timer is created. Do I miss something? The sigev_value value should be stored in the user/ptr member of struct ukevent.sigev_value was stored in k_itimer structure, I just do not know where to put it in the ukevent provided to userspace - it can be placed in pointer value if you like.
sigev_value is a union and the largest element is a pointer. So, transporting the pointer value is sufficient and it should be passed up to the user in the ptr member of struct ukevent.
-- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Kevent POSIX timers support.
- From: Evgeniy Polyakov <[email protected]>
- Re: Kevent POSIX timers support.
- From: David Miller <[email protected]>
- Re: Kevent POSIX timers support.
- References:
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Kevent POSIX timers support.
- From: Evgeniy Polyakov <[email protected]>
- Re: Kevent POSIX timers support.
- From: Ulrich Drepper <[email protected]>
- Re: Kevent POSIX timers support.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- Prev by Date: sky2, tx timeout
- Next by Date: Re: [Patch1/4]: fake numa for x86_64 patch
- Previous by thread: Re: Kevent POSIX timers support.
- Next by thread: Re: Kevent POSIX timers support.
- Index(es):