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
| ||
|
Message-ID: <Pine.LNX.4.44L0.0905191251170.10557-100000@iolanthe.rowland.org> Date: Tue, 19 May 2009 12:57:21 -0400 (EDT) From: Alan Stern <stern@...land.harvard.edu> To: Kernel development list <linux-kernel@...r.kernel.org> Subject: How to tell whether a struct file is held by a process? What's the best way to tell whether the current process has a particular struct file among its open files? Is there any better way to find out than blindly calling fget() for each possible fd? Is this a totally insane thing to do? Alan Stern -- 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/