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: Mon, 12 Jun 2017 14:44:07 -0400 From: Tejun Heo <tj@...nel.org> To: Shaohua Li <shli@...nel.org> Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org, gregkh@...uxfoundation.org, hch@....de, axboe@...com, rostedt@...dmis.org, lizefan@...wei.com, Kernel-team@...com, Shaohua Li <shli@...com> Subject: Re: [PATCH 06/11] cgroup: export fhandle info for a cgroup On Fri, Jun 02, 2017 at 02:53:59PM -0700, Shaohua Li wrote: > From: Shaohua Li <shli@...com> > > Add an API to export cgroup fhandle info. We don't export a full 'struct > file_handle', there are unrequired info. Sepcifically, cgroup is always > a directory, so we don't need a 'FILEID_INO32_GEN_PARENT' type fhandle, > we only need export the inode number and generation number just like > what generic_fh_to_parent does. And we can avoid the overhead of getting > an inode too, since kernfs_node has all the info required. Can't we just make it an integral (optional) part of kernfs? So that cgroup just needs to indicate that it wants to expose fhandles when creating its kernfs instance? Thanks. -- tejun
Powered by blists - more mailing lists