From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 1 00:28:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C6F106564A for ; Wed, 1 Feb 2012 00:28:31 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id E27A18FC0A for ; Wed, 1 Feb 2012 00:28:30 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so698357wib.13 for ; Tue, 31 Jan 2012 16:28:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=b4/X6ygbAF91UuS7sXWWg+omwKqRhcEC99TzP4IvjFw=; b=XasdmzeWs5SuzVRnOeSwgQjIOaG8Pqxn5/j7/T1vlIZ/QWagvs5Wz1G1aR4YwkBonu l0XxvjuaB7JAoK7DNmzri8tAdeiZWNYOyhbGHvwTxUwOY4aUj4t/bXnyRh7JhKG5mbus kKVthRkq7Gy4ggUCF0GrAsZ8S1jIM0+P4M/s8= Received: by 10.180.101.161 with SMTP id fh1mr37839042wib.0.1328054748628; Tue, 31 Jan 2012 16:05:48 -0800 (PST) Received: from dft-labs.eu (dft-labs.eu. [80.87.128.179]) by mx.google.com with ESMTPS id x7sm15984625wif.10.2012.01.31.16.05.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jan 2012 16:05:47 -0800 (PST) Date: Wed, 1 Feb 2012 01:05:41 +0100 From: Mateusz Guzik To: freebsd-hackers@freebsd.org Message-ID: <20120201000541.GA31440@dft-labs.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Balazs Scheidler Subject: [patch] kqueue support for /dev/klog X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 00:28:31 -0000 Hello, one pr ( http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/156423 ) contains request to add kqueue support to /dev/klog. Assuming that this is a desirable feature, how about this patch (based on audit pipe's code): http://student.agh.edu.pl/~mjguzik/patches/dev_klog-kqueue.patch Tested with this trivial program: http://student.agh.edu.pl/~mjguzik/kqread.c Thanks, -- Mateusz Guzik