(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

arm64: gcs: Return -EPERM not -EBUSY for prctl() locking failures

When we refuse to perform a GCS configuration change due to locking we currently return -EBUSY which is an odd error code to return. While the selftest does currently check for this it is unlikely that we have any practical users relying on the behaviour at this point so let's change to return the more descriptive -EPERM instead like x86. Reported-by: Bill Roberts <bill.roberts@foss.arm.com> Link: https://lore.kernel.org/r/a1946d93-370e-4ca9-85d6-60b4a20ffd47@arm.com/ Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>


Author Mark Brown Committer Catalin Marinas Date Commit Parent 93f51579
+1 -1
1 changed file
+1 -1
1 changed file