diff options
author | Fabien Dessenne <[email protected]> | 2022-05-02 17:31:14 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-05-05 00:04:04 +0200 |
commit | 3389b09878dddd58ef52bd0bf43cc42ea5a9ea2a (patch) | |
tree | 3b75435c204df23b7b94ea562745c72079252f39 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 3296c473d9aada9b8ca1f47d395727595c01cff7 (diff) |
pinctrl: stm32: prevent the use of the secure protected pins
The hardware denies any access from the Linux non-secure world to the
secure-protected pins. Hence, prevent any driver to request such a pin.
Mark the secure-protected GPIO lines as invalid (.init_valid_mask) and
prevent the pinmux request / pinconf setting operations.
Identify the secure pins with "NO ACCESS" in the pinconf sysfs.
Signed-off-by: Fabien Dessenne <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions