From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 4 18:22:10 2011 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 B3FE9106566C for ; Sat, 4 Jun 2011 18:22:10 +0000 (UTC) (envelope-from mashtizadeh@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 718538FC0A for ; Sat, 4 Jun 2011 18:22:10 +0000 (UTC) Received: by qyk27 with SMTP id 27so1647416qyk.13 for ; Sat, 04 Jun 2011 11:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=e0Fqmm70OozrhKN95Yk4plbaIDg7of6fnzLyptTukgk=; b=rGYLIdtKozpS4I2FwVyu8a4/2geGT4ZXfSlQO/YiUIfGOZZRpnCuJq9lsLs+ZeI66u CiWk7CcFUCmauqeac0AzWXc/qgS85iO4vVIIOvWSVefpp3juWG+M5oF5ZCCxOUm48Pd5 T+2W3e8tZRvzVxGPR+L3KCcojyZi+spfWlgR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tulq4f5LE5H5krjY/kYJF5AivgVIVxCKFLSzMZFoMOtJ4QzGsZ+KAhpZJbcsMMIiw1 GuEvPgk61wnXd+GXuYTXO/gktuAc+/WgxjVn6N6AEZ4EYEFGIQdaxFQFLvLrqlAGYwlE CNSK7fAE/t+foNvUq0exK6ngCHbGj6WCnEEr4= MIME-Version: 1.0 Received: by 10.224.189.20 with SMTP id dc20mr771971qab.287.1307211729590; Sat, 04 Jun 2011 11:22:09 -0700 (PDT) Received: by 10.229.10.10 with HTTP; Sat, 4 Jun 2011 11:22:09 -0700 (PDT) Date: Sat, 4 Jun 2011 18:22:09 +0000 Message-ID: From: Ali Mashtizadeh To: FreeBSD Hackers Content-Type: text/plain; charset=UTF-8 Subject: Opening files from within geom filters 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: Sat, 04 Jun 2011 18:22:10 -0000 Hi Folks, I'm working on a small geom filter where I need to open a file with vn_open_cred, but this causes an assert because of a null pointer because g_run_event proc structure has null pointer for the current working directory. Thanks, -- Ali Mashtizadeh