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: Wed, 03 Mar 2010 10:34:48 +0900 From: Tejun Heo <tj@...nel.org> To: Greg Kroah-Hartman <gregkh@...e.de> CC: linux-kernel@...r.kernel.org, "Eric W. Biederman" <ebiederm@...ssion.com> Subject: Re: [PATCH 42/62] sysfs: Remove sysfs_get/put_active_two Hello, Eric. On 03/03/2010 08:28 AM, Greg Kroah-Hartman wrote: > From: Eric W. Biederman <ebiederm@...ssion.com> > > It turns out that holding an active reference on a directory is > pointless. The purpose of the active references are to allows us to > block when removing sysfs entries that have custom methods so we don't > remove modules while running modular code and to keep those custom > methods from accessing data structures after the files have been > removed. It's not only the method code but dynamic data structures or even the actual hardware. > Further sysfs_remove_dir remove all elements in the > directory before removing the directory itself, so there is no chance > we will remove a directory with active children. > > Signed-off-by: Eric W. Biederman <ebiederm@...ssion.com> > Cc: Tejun Heo <tj@...nel.org> > Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de> Sans the patch description, Acked-by: Tejun Heo <tj@...nel.org> -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists