From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 11 22:07:53 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF300ACF for ; Fri, 11 Apr 2014 22:07:53 +0000 (UTC) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADA701451 for ; Fri, 11 Apr 2014 22:07:53 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id m20so6526529qcx.7 for ; Fri, 11 Apr 2014 15:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=AzmAF7/1cs9Hp1qWZOqxSu+sk3zKe4Ld5cREKdZ/GZE=; b=QdJ6/Kd9uBIhr/0hi0Sl8ha6xgW+5DMGHKyW9f4T0A2xeEfZm+Hd2dPu45UY3B3H01 MtDHswBeRGnOSjtN2+FGd4dNreDGFjv1iQVRFEeArbBrIa9sNtEkd0AOhXVrz63A7Mb+ l+eXJ5RBYHfG4coBA+06ShaNqHPwaPkAJC/ZqvuMsaexJ9RBhULhu7cLG5JOqJyPHxE2 ALg2VUZBrZkCdLypPQwZ+IR8amQrq84aN2HBo8UV6woWUf8JAEb8/GBRsNqFgvY/UUNO xJBTTA65nle6cBnwCvePjo8wLUigvOhimEHdnrJSQjCRVmKk1iEZofx0gVxPoBgoElnC uINQ== X-Received: by 10.224.114.130 with SMTP id e2mr2352917qaq.53.1397254072889; Fri, 11 Apr 2014 15:07:52 -0700 (PDT) Received: from pwnie.vrt.sourcefire.com (moist.vrt.sourcefire.com. [198.148.79.134]) by mx.google.com with ESMTPSA id x5sm15955515qaj.9.2014.04.11.15.07.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Apr 2014 15:07:50 -0700 (PDT) Date: Fri, 11 Apr 2014 18:07:48 -0400 From: Shawn Webb To: freebsd-hackers@freebsd.org Subject: inode modification notification in kernel Message-ID: <20140411220747.GA7305@pwnie.vrt.sourcefire.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 22:07:54 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hey All, I'm a newb at the kernel API. What's the best way to receive notification of a deletion event of a given inode in the kernel? In userland, I'd use kqueue/kevent. Is that same API available in the kernel? Or is there something different? Thanks, Shawn Webb --17pEHd4RhPHOinZp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTSGeyAAoJEGqEZY9SRW7uNJYQAI2kTbxhfOt6hHzGoJB4i8ed 4Zm4/RNS1FyiVO1NUKcVpwMWMooIDFtDHLzX6/xl+ibFpN8IXtPxXPcR6XB+lfLr 3avZP59oNwxS51bVu7B9E8DJOWRSvF8htfF/zIJZVUpFP7tfH1tV7oYYvErMgqzr /szC67ltFS54kTogakVD4XlDKZi5QgrEt8G5RBIEEeVLCYKvo9CShHo0CBUrRtRk FJR41I4fto7OIE7ERYJFLoQXV3m9wbAh88cbPOTmsmSqsvOeNQN+96fYHRjZlm0B 4EPKxxKlacMa1d3mRjb47Lo5vufYjHiBy/6d4Xl4KLru3kedZS02pR+G98M/bRu5 R+BvzD4yj028hPhmUMv9GkGRQCpZdM4bfUBz2HexJLHURrLnw51Rea+yDsnGQXXv QDK67mVFNJVX3HpfEOQH58iqZM3KcAlkFLQj+zZx00T/rXdP+faU5gwa/lVQYhjH 6C1dX28Og/c2UoIudo1qiCjg0WFF9lO7AISxwjGRaP7OUfepf9meCg9CS2BCVOhi wIRc3xeBy1HNpJmctxBHWgIHOS1MZPc6OYpJiKKaoS0LwE9dw8NMbTKHVgWsdRRZ QV4zTwm9RfwVDA1gLOVm8Gbp8zYOPl9dTAuhrcyx4NqyYP+3xaSPYKiN6YpSzn5C jghpOpIMxC9xBbsyU0+q =dOZk -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--