arm64/signal: Document our convention for choosing magic numbers
authorMark Brown <broonie@kernel.org>
Mon, 31 Oct 2022 19:24:50 +0000 (19:24 +0000)
committerWill Deacon <will@kernel.org>
Mon, 14 Nov 2022 15:08:15 +0000 (15:08 +0000)
commit9e75e74b07ab17e6407b567eb4a8b3d0c93de5f1
treee1fa9d8e25c41ade3d2e8bf437263dd838cc8850
parent657eef0a5420a02c02945ed8c87f2ddcbd255772
arm64/signal: Document our convention for choosing magic numbers

Szabolcs Nagy has pointed out that most of our signal frame magic numbers
are chosen to be meaningful ASCII when dumped to aid manual parsing. This
seems sensible since it might help someone parsing things out, let's
document it so people implementing new signal contexts are aware of it and
are more likely to follow it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221031192450.826159-1-broonie@kernel.org
[will: Fixed typo and tweaked wording]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/uapi/asm/sigcontext.h