Copy stable/10@r272459 to releng/10.1 as part ofthe 10.1-RELEASE process.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Add dup3(), based on F_DUP2FD and F_DUP2FD_CLOEXEC fcntls.I removed functionality not proposed for POSIX in Austin group issue #411.A man page (my own) and test cases will follow in later commits.PR: 176233Submitted by: Jukka Ukkonen