HomeFreeBSD

Compare kernel dump header magic with textdump magic using strncmp()
rS174944Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Compare kernel dump header magic with textdump magic using strncmp()
rather than the memcmp() which is used for regular dumps: the
textdump string is one character shorter, so we need to stop
comparing at the end of the string.

Use independent version checking logic for architecture-specific
version number vs. textdump version number, as the version sequences
may (someday) differ.

Run into by: rrs

Details

Provenance
rwatsonAuthored on
Parents
rS174943: As LK_EXCLUPGRADE is used in conjuction with LK_NOWAIT, LK_UPGRADE becames
Branches
Unknown
Tags
Unknown

Event Timeline