Add fchdir(), dirfd()
Original patch by olh, modified by me to make dirfd() inline

6 files changed