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
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Kill MFILES and find things automatically. It turned out to be onlylightly used. Find the proper .m file when we depend on *_if.[ch] inthe srcs line, with seat-belts for false positive matches. Th
Kill MFILES and find things automatically. It turned out to be onlylightly used. Find the proper .m file when we depend on *_if.[ch] inthe srcs line, with seat-belts for false positive matches. This usesmake's path mechanism. A further refinement would be to calculate thisonce, and then pass the resulting _MPATH to modules submakes.Differential Revision: https://reviews.freebsd.org/D2327
show more ...
Add the ksyms(4) pseudo driver. The ksyms driver allows a process toget a quick snapshot of the kernel's symbol table including the symbolsfrom any loaded modules (the symbols are all merged into
Add the ksyms(4) pseudo driver. The ksyms driver allows a process toget a quick snapshot of the kernel's symbol table including the symbolsfrom any loaded modules (the symbols are all merged into one symboltable). Unlike like other implementations, this ksyms driver mapsmemory in the process memory space to store the snapshot at the time/dev/ksyms is opened. It also checks to see if the process has alreadya snapshot open and won't allow it to open /dev/ksyms it again until itcloses first. This prevents kernel and process memory from beingexhausted. Note that /dev/ksyms is used by the lockstat(1) command.Reviewed by: gallatin kib (freebsd-arch)Approved by: gnn (mentor)