On 8/23/06, Evgeniy Polyakov <[email protected]> wrote:
No, it will change sizes of the structure in kernelspace and userspace, so they just can not communicate.
struct kevent { uintptr_t ident; /* identifier for this event */ short filter; /* filter for event */ u_short flags; /* action flags for kqueue */ u_int fflags; /* filter flag value */ union { u32 _data_padding[2]; intptr_t data; /* filter data value */ }; union { u32 _udata_padding[2]; void *udata; /* opaque user data identifier */ }; }; I'm not missing anything obvious here, I hope. Rakshasa - 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: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- References:
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Alexey Kuznetsov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: David Miller <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: "Jari Sundell" <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take12 0/3] kevent: Generic event handling mechanism.
- Prev by Date: Re: [PATCH 6/18] 2.6.17.9 perfmon2 patch for review: sampling format support
- Next by Date: Re: Improvement on memory subsystem
- Previous by thread: Re: [take12 0/3] kevent: Generic event handling mechanism.
- Next by thread: Re: [take12 0/3] kevent: Generic event handling mechanism.
- Index(es):