Re: [RFC PATCH for-next 2/4] epoll: epoll() syscall declaration

From: Eric Wong
Date: Mon Feb 24 2014 - 00:32:42 EST


Nathaniel Yazdani <n1ght.4nd.d4y@xxxxxxxxx> wrote:
> +asmlinkage long sys_epoll(int ep, struct epoll __user *in,
> + unsigned int inc, struct epoll __user *out,
> + unsigned int outc, int timeout);

I can understand using the new struct for 'in', but 'out' could just be
"struct epoll_event *" like sys_epoll_wait, right?

> asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/