[PATCH -next 1/3] powerpc: Constify struct kobj_type
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Sep 6 21:52:52 AEST 2024
On Mon, 26 Aug 2024 23:09:55 +0800, Huang Xiaojia wrote:
> 'struct kobj_type' is not modified. It is only used in
> kobject_init_and_add()/kobject_init() which takes
> a 'const struct kobj_type *ktype' parameter.
>
> Constifying this structure moves some data to a read-only section,
> so increase over all security.
>
> [...]
Applied to powerpc/next.
[1/3] powerpc: Constify struct kobj_type
https://git.kernel.org/powerpc/c/7509c23770054fdaffd966926462248d44a323c1
[2/3] powerpc: powernv: Constify struct kobj_type
https://git.kernel.org/powerpc/c/7492ca369e98a45b55592456dc1b24d58b3392f5
[3/3] powerpc: pseries: Constify struct kobj_type
https://git.kernel.org/powerpc/c/6f2683274d0d0b51a986f73c2afb9058156f1641
cheers
More information about the Linuxppc-dev
mailing list