Re: [PATCH 0/5] s390: Constify 'struct bin_attribute'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 11, 2024 at 06:54:38PM +0100, Thomas Weißschuh wrote:
> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
> 
> drivers/s390/cio/chp.c is handled in [0].
> 
> [0] https://lore.kernel.org/lkml/20241205-sysfs-const-bin_attr-groups_macro-v1-1-ac5e855031e8@xxxxxxxxxxxxxx/
> 
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> Thomas Weißschuh (5):
>       s390/crypto/cpacf: Constify 'struct bin_attribute'
>       s390/ipl: Constify 'struct bin_attribute'
>       s390/pci: Constify 'struct bin_attribute'
>       s390/sclp: Constify 'struct bin_attribute'
>       s390/pkey: Constify 'struct bin_attribute'
> 
>  arch/s390/kernel/cpacf.c         |  36 +++++-----
>  arch/s390/kernel/ipl.c           | 142 +++++++++++++++++++--------------------
>  arch/s390/pci/pci_sysfs.c        |  12 ++--
>  drivers/s390/char/sclp_config.c  |   4 +-
>  drivers/s390/char/sclp_sd.c      |   4 +-
>  drivers/s390/crypto/pkey_sysfs.c | 128 +++++++++++++++++------------------
>  6 files changed, 163 insertions(+), 163 deletions(-)
> ---
> base-commit: f92f4749861b06fed908d336b4dee1326003291b
> change-id: 20241211-sysfs-const-bin_attr-s390-f8949a9e39cb
> 
> Best regards,
> -- 
> Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Applied, thanks!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux