From owner-freebsd-afs@FreeBSD.ORG Sun Dec 14 02:24:38 2008 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B621C106564A for ; Sun, 14 Dec 2008 02:24:38 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF378FC0C for ; Sun, 14 Dec 2008 02:24:38 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2138943rvf.43 for ; Sat, 13 Dec 2008 18:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=lL2ijCoOpHL6MOCupCSJojRt1YbCgurSHOQLdmfvwb0=; b=CXYme3pzQ9zwNXoJtbsSFS5ucTklj/sUkdbiMSVdG2yf8VQ96+xhJo/ZgHU8l+gK+y U+lbjQ9Z/b4ay/4SVweyqSVe9kbcVxqbSeOlrx3ww0uvgM19ASSyWc/VxTMhMGxJM4mr Ln94SEn4pBZeLK7CCDBjwwTcbJizS77yF3BrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=Sms4gmzJDIWBTVmJFvgoKvqcCsJrHb9AACa0m8RM2FvnJmdjZNKQLRW2ieYdSmoZ7/ KeAltcSxB0TYmbmLcDi+Lai9Vp+KIaLB35drkLkxbF259/41WH1PBT+kS3jqNt+N+2lI MNTTmsGmek8Xb9dVZTk63Ouu+FIgzyrkdbSLY= Received: by 10.142.12.14 with SMTP id 14mr2114212wfl.64.1229221477823; Sat, 13 Dec 2008 18:24:37 -0800 (PST) Received: by 10.143.115.5 with HTTP; Sat, 13 Dec 2008 18:24:37 -0800 (PST) Message-ID: <47d0403c0812131824i489c50c6w456e62e43ecabdeb@mail.gmail.com> Date: Sat, 13 Dec 2008 21:24:37 -0500 From: "Ben Kaduk" To: "Boris Samorodov" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-afs@freebsd.org Subject: Changes to OpenAFS to support FreeBSD 8-CURRENT X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 02:24:38 -0000 Hi Boris, To get a OpenAFS compiling on a couple-day-old current, I needed to change (in addition to the vinvalbuf change mentioned elsewhere) VSUID to S_ISUID and VSGID to S_ISGID in VNOPS/afs_vnop_attrs.c from this change: trasz 2008-09-10 13:16:41 UTC (note that S_ISUID is from stat.h and VUID was from vnode.h) remove the curthread argument from VOP_GETATTR() (two occurrences) in FBSD/osi_file.c:143 (this is under AFS_FBSD50_ENV ???) from this change: attilio 2008-08-28 15:23:18 UTC The vinvalbuf change also affects FBSD/osi_vm.c in two lines. change ap->a_mode to ap->a_accmode in FBSD/osi_vnodeops.c:691 and in the comment above. Arguably, this might be rather a bug in the vnode_if.h header where the structure is defined (libafs/MODLOAD/vnode_if.h, apparently). Now, everything compiles, but kldload is claiming that libafs.ko doesn't exist ... -Ben Kaduk