Re: [RFC 1/4] kevent: core files.
From: Zach Brown
Date: Fri Jul 28 2006 - 14:59:24 EST
> Things were like that at one point in time, but file descriptors turn out
> to introduce a huge gaping security hole with SUID programs. The problem
> is that any event context is closely tied to the address space of the
> thread issuing the syscalls, and file descriptors do not have this close
> binding.
Can you go into that hole in more detail?
> Except that you're not usually pulling a full ring worth of events at a
> time, more often just one.
OK, but then to wait for it you were already sleeping in the kernel, right?
Clearly we should port httpd to kevents and take some measurements :)
- z
-
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/