{"push_id":722035157,"size":1,"distinct_size":1,"ref":"refs/heads/svn_head","head":"c593730b53008fb64bd54d6a4892bacc7383369b","before":"7ab510ea1bf76c6f29cb23af48f1634de7011130","commits":[{"sha":"c593730b53008fb64bd54d6a4892bacc7383369b","author":{"email":"4cf8d479716eba9bc68e0146d95320fcb138b96b@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f","name":"mjg"},"message":"fd: further cleanup of kern_dup\n\n- make mode enum start from 0 so that the assertion covers all cases [1]\n- rename prefix _CLOEXEC flag with _FLAG\n- postpone fhold on the old file descriptor, which eliminates the need to fdrop\n  in error cases.\n- fixup FDDUP_FCNTL check missed in the previous commit\n\nThis removes 'fp == oldfde->fde_file' assertion which had little value. kern_dup\nonly calls fd-related functions which cannot drop the lock or a whole lot of\nraces would be introduced.\n\nNoted by: kib [1]\n\n\ngit-svn-id: svn+ssh://svn.freebsd.org/base/head@285357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f","distinct":true,"url":"https://api.github.com/repos/freebsd/freebsd/commits/c593730b53008fb64bd54d6a4892bacc7383369b"}]}