Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASEcycle.Prune svn:mergeinfo from the new branch, and rename it to RC1.Update __FreeBSD_version.Use the quarterly branch for the default FreeBSD.conf pkg(8) repo andthe dvd1.iso packages population.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Significantly reduce the memory leak as noted in BUGS section forsetenv(3) by tracking the size of the memory allocated instead of usingstrlen() on the current value.Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT.Several patches to base utilities to handle the POSIX changes fromAndrey Chernov's previous commit. A few I re-wrote to use setenv()instead of putenv().New regression module for tools/regression/environ to test thesefunctions. It also can be used to test the performance.Bump __FreeBSD_version to 700050 due to API change.PR: kern/99826Approved by: wesApproved by: re (kensmith)