libmd, kern, stand: consolidate md5 implementations (NFC)Reduce the number of md5c.c between the three of these from two to oneby just reaching into the kernel build for both userland builds. The
libmd, kern, stand: consolidate md5 implementations (NFC)Reduce the number of md5c.c between the three of these from two to oneby just reaching into the kernel build for both userland builds. Theprecedent for this already exists for sha2 in both cases._libmd_ symbol privatization bits have been moved to sys/md5.h andmd5.h remains to #include <sys/md5.h> for compatibility.This stops exporting MD5Pad() in the process because the kernel stoppedexporting it in 502a35d60f4c. soversion is bumped accordingly.This also renames the libc version of stack_protector.c; it previouslyonly worked by coincidence because .PATH ordering worked out such thatwe got the right one, but this is not the case anymore. Remove thelandmine.PR: 280784 (exp-run)Reviewed by: allanjude, delphijDifferential Revision: https://reviews.freebsd.org/D34497
show more ...
Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the
Replace dot-dot relative pathing with SRCTOP-relative paths where possibleThis reduces build output, need for recalculating paths, and makes it clearerwhich paths are relative to what areas in the source tree. The change inperformance over a locally mounted UFS filesystem was negligible in my testing,but this may more positively impact other filesystems like NFS.LIBC_SRCTOP was left alone so Juniper (and other users) can continue tomanipulate lib/libc/Makefile (and other Makefile.inc's under lib/libc) asinclude Makefiles with custom options.Discussed with: marcel, sjgMFC after: 1 weekReviewed by: emasteSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D9207
Bring the md5 functions into libc for internal use only.It is required to support ID randomization for our stubresolver.