9cbbc4aebe
The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.