From owner-freebsd-current@FreeBSD.ORG Wed Apr 9 01:59:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF2B637B401; Wed, 9 Apr 2003 01:59:21 -0700 (PDT) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22F9043F85; Wed, 9 Apr 2003 01:59:20 -0700 (PDT) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h398xG72717231; Wed, 9 Apr 2003 12:59:16 +0400 (MSD) Date: Wed, 9 Apr 2003 12:59:16 +0400 (MSD) From: Maxim Konovalov To: Vaidas Damosevicius In-Reply-To: <20030409073400.7EC1635C95@mail.if.lt> Message-ID: <20030409125824.T40442@news1.macomnet.ru> References: <20030409073400.7EC1635C95@mail.if.lt> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: kernel build fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 08:59:22 -0000 On 10:34+0300, Apr 9, 2003, Vaidas Damosevicius wrote: > Last cvsup was made few minutes ago ... > > cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=pentiumpro -Wall > -Wredundan > t-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-ari > th -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. > -I../../. > . -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter > -D_KE > RNEL -include opt_global.h -fno-common -mno-align-long-strings > -mpreferred-stac > k-boundary=2 -ffreestanding -Werror ../../../i386/i386/locore.s > cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstri > ct-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fform > at-extensions -ansi -nostdinc -I- -I. -I../../.. -I../../../dev > -I../../../con > trib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include > opt_global.h -fno > -common -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -We > rror ../../../kern/kern_jail.c > cc1: warnings being treated as errors > ../../../kern/kern_jail.c: In function `jail_attach': > ../../../kern/kern_jail.c:199: warning: implicit declaration of function > `change > _dir' > ../../../kern/kern_jail.c:206: warning: implicit declaration of function > `change > _root' Index: jail.h =================================================================== RCS file: /home/ncvs/src/sys/sys/jail.h,v retrieving revision 1.18 diff -u -r1.18 jail.h --- jail.h 9 Apr 2003 02:55:18 -0000 1.18 +++ jail.h 9 Apr 2003 08:57:31 -0000 @@ -88,6 +88,8 @@ */ struct ucred; struct sockaddr; +int change_dir(struct vnode *vn, struct thread *td); +int change_root(struct vnode *vn, struct thread *td); int jailed(struct ucred *cred); void getcredhostname(struct ucred *cred, char *, size_t); int prison_check(struct ucred *cred1, struct ucred *cred2); %%% -- Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org