lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YcmJdXEeKd29+4jD@kroah.com>
Date:   Mon, 27 Dec 2021 10:37:57 +0100
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Wedson Almeida Filho <wedsonaf@...gle.com>
Cc:     rafael@...nel.org, corbet@....net, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] driver core: make kobj_type constant.

On Fri, Dec 24, 2021 at 11:13:45PM +0000, Wedson Almeida Filho wrote:
> This way instances of kobj_type (which contain function pointers) can be
> stored in .rodata, which means that they cannot be [easily/accidentally]
> modified at runtime.
> 
> Signed-off-by: Wedson Almeida Filho <wedsonaf@...gle.com>

Ah, much nicer than the version I did last week but never sent out for
review yet:
	https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?h=kobject-const&id=3230b957cac5f596b36c7939fe81b4f54c6d1bb3

I'll go take this one now instead, thanks!

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ