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
| ||
|
Date: Thu, 20 Feb 2020 12:11:28 +0100 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: Christian Brauner <christian.brauner@...ntu.com> Cc: "David S. Miller" <davem@...emloft.net>, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, "Rafael J. Wysocki" <rafael@...nel.org>, Pavel Machek <pavel@....cz>, Jakub Kicinski <kuba@...nel.org>, Eric Dumazet <edumazet@...gle.com>, Stephen Hemminger <stephen@...workplumber.org>, linux-pm@...r.kernel.org Subject: Re: [PATCH net-next v3 1/9] sysfs: add sysfs_file_change_owner{_by_name}() On Tue, Feb 18, 2020 at 05:29:35PM +0100, Christian Brauner wrote: > Add helpers to change the owner of a sysfs files. > This function will be used to correctly account for kobject ownership > changes, e.g. when moving network devices between network namespaces. > > Signed-off-by: Christian Brauner <christian.brauner@...ntu.com> > --- > /* v2 */ > - Greg Kroah-Hartman <gregkh@...uxfoundation.org>: > - Better naming for sysfs_file_change_owner() to reflect the fact that it > can be used to change the owner of the kobject itself by passing NULL as > argument. > - Christian Brauner <christian.brauner@...ntu.com>: > - Split sysfs_file_change_owner() into two helpers sysfs_change_owner() and > sysfs_change_owner_by_name(). The former changes the owner of the kobject > itself, the latter the owner of the kobject looked up via the name > argument. > > /* v3 */ > - Greg Kroah-Hartman <gregkh@...uxfoundation.org>: > - Add explicit uid/gid parameters. Looks much better, thanks for doing these changes. I'll review the whole series now... greg k-h
Powered by blists - more mailing lists