From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 5 16:50:31 2009 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 451711065702 for ; Thu, 5 Mar 2009 16:50:31 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id CB15B8FC12 for ; Thu, 5 Mar 2009 16:50:30 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so345635fgb.35 for ; Thu, 05 Mar 2009 08:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0ClgkPU+jtgU21MtjbuYt4L0QvBCEdoE/BkfrdJSHLg=; b=wWK36vxnnU6xC6g1w45/fhmuwaGX0NtOQmqNrle7vc/tkPWzSL+roavxfGC0+D0Dzh c1EoRS7wGET7Fl7DnMGbYM0Ansnd5gZcbPARlJTS1CMY7mwF8MsIOQrceh47fzPP9VhG FOUpZmB1tZAbKBdwl1q+idEBlIfAWJ6QwQmH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=de1jVKQ+GQqh2bq2z6LuGTah3SY7FnqzVY08h4czo6Wxdo81p59TWn6hf7EqmBOp3Z WxkA4ao7/N5Gi+jOA3v7jsf6J7TZEJ8Xzv151aQvFktHOMTaohhU5L4gL2JnfqTJiu89 G2gP/X8YcnETKyW/gcWSr+HtW5VVVMG+FXKfA= MIME-Version: 1.0 Received: by 10.86.3.4 with SMTP id 4mr1130310fgc.41.1236270512781; Thu, 05 Mar 2009 08:28:32 -0800 (PST) In-Reply-To: <200903051533.n25FXovU031535@freefall.freebsd.org> References: <200903051533.n25FXovU031535@freefall.freebsd.org> Date: Thu, 5 Mar 2009 19:28:32 +0300 Message-ID: From: pluknet To: freebsd-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 16:50:33 -0000 2009/3/5 : > Old Synopsis: kernel panic in zfs_fuid_create_cred > New Synopsis: [zfs] [panic] kernel panic in zfs_fuid_create_cred > > Responsible-Changed-From-To: freebsd-bugs->freebsd-fs > Responsible-Changed-By: linimon > Responsible-Changed-When: Thu Mar 5 15:33:31 UTC 2009 > Responsible-Changed-Why: > Over to maintainer(s). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=132337 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > btw, something was changed there in opensolaris (per bug_id=6754013). 477,480c477,485 < if (type == ZFS_OWNER) < id = crgetuid(cr); < else < id = crgetgid(cr); --- > ksid = crgetsid(cr, (type == ZFS_OWNER) ? KSID_OWNER : KSID_GROUP); > if (ksid) { > id = ksid_getid(ksid); > } else { > if (type == ZFS_OWNER) > id = crgetuid(cr); > else > id = crgetgid(cr); > } 482c487 < if (!zfsvfs->z_use_fuids || !IS_EPHEMERAL(id)) --- > if (!zfsvfs->z_use_fuids || (!IS_EPHEMERAL(id))) 485,487d489 < ksid = crgetsid(cr, (type == ZFS_OWNER) ? KSID_OWNER : KSID_GROUP); < < VERIFY(ksid != NULL); -- wbr, pluknet