This small program causes kernel oops:
#include <fcntl.h>
#include <poll.h>
int main() {
int fd;
struct pollfd pfd;
fd = open("/dev/net/tun", O_RDWR);
pfd.fd = fd;
pfd.events = POLLIN | POLLOUT;
poll(&pfd, 1, 0);
}
Software versions:
Gnu C 4.4.0
Gnu make 3.81
binutils 2.19.51.20090622
util-linux 2.15.1-rc1
mount support
module-init-tools 3.8
e2fsprogs 1....