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] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024082459-neatly-screen-9d29@gregkh>
Date: Sat, 24 Aug 2024 10:26:09 +0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Alexander Aring <aahringo@...hat.com>
Cc: teigland@...hat.com, gfs2@...ts.linux.dev, song@...nel.org,
	yukuai3@...wei.com, agruenba@...hat.com, mark@...heh.com,
	jlbec@...lplan.org, joseph.qi@...ux.alibaba.com, rafael@...nel.org,
	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
	linux-raid@...r.kernel.org, ocfs2-devel@...ts.linux.dev,
	lucien.xin@...il.com
Subject: Re: [RFC dlm/next 08/12] kobject: add kset_type_create_and_add()
 helper

On Wed, Aug 14, 2024 at 10:34:10AM -0400, Alexander Aring wrote:
> Currently there exists the kset_create_and_add() helper that does not
> allow to have a different ktype for the created kset kobject. To allow
> a different ktype this patch will introduce the function
> kset_type_create_and_add() that allows to set a different ktype instead
> of using the global default kset_ktype variable.
> 
> In my example I need to separate the created kobject inside the kset by
> net-namespaces. This patch allows me to do that by providing a user
> defined kobj_type structure that implements the necessary namespace
> functionality.
> 
> Signed-off-by: Alexander Aring <aahringo@...hat.com>

Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ