added posix resources, kernel module compiles in gnu99