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, 16 Dec 2009 10:00:32 +0800 From: Li Zefan <lizf@...fujitsu.com> To: "Kirill A. Shutemov" <kirill@...temov.name> CC: containers@...ts.linux-foundation.org, linux-mm@...ck.org, Paul Menage <menage@...gle.com>, Andrew Morton <akpm@...ux-foundation.org>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>, Balbir Singh <balbir@...ux.vnet.ibm.com>, Pavel Emelyanov <xemul@...nvz.org>, Dan Malek <dan@...eddedalley.com>, Vladislav Buzov <vbuzov@...eddedalley.com>, Daisuke Nishimura <nishimura@....nes.nec.co.jp>, linux-kernel@...r.kernel.org Subject: Re: [PATCH RFC v2 1/4] cgroup: implement eventfd-based generic API for notifications >> +/* >> + * Check if a file is a control file >> + */ >> +static inline struct cftype *__file_cft(struct file *file) >> +{ >> + if (file->f_dentry->d_inode->i_fop != &cgroup_file_operations) >> + return ERR_PTR(-EINVAL); > > I don't think this check is needed. > Sorry, please ignore this comment -- 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