Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 13:22:25 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Matt Dillon <dillon@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys resource.h src/sys/vm vm_mmap.c vm_unix.c
Message-ID:  <3D1995E1.CA6488DC@FreeBSD.org>
References:  <200206260029.g5Q0TSf33554@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Dillon wrote:
> 
> dillon      2002/06/25 17:29:28 PDT
> 
>   Modified files:
>     sys/sys              resource.h
>     sys/vm               vm_mmap.c vm_unix.c
>   Log:
>   Part I of RLIMIT_VMEM implementation.  Implement core functionality for
>   a new resource limit that covers a process's entire VM space, including
>   mmap()'d space.
> 
>   (Part II will be additional code to check RLIMIT_VMEM during exec() but it
>   needs more fleshing out).
> 
>   PR:             kern/18209
>   Submitted by:   Andrey Alekseyev <uitm@zenon.net>, Dmitry Kim <jason@nichego.net>
>   MFC after:      7 days

This breaks the world:

[...]
>>> stage 4: building libraries
[...]
cc -pipe -O -Wall -DLIBC_SCCS -I/usr/src/lib/libutil
-I/usr/src/lib/libutil/../libc/gen/ -DINET6 -c
/usr/src/lib/libutil/login_class.c -o login_class.o
/usr/src/lib/libutil/login_class.c:60: `RLIMIT_VMEM' undeclared here
(not in a function)
/usr/src/lib/libutil/login_class.c:60: initializer element is not
constant
/usr/src/lib/libutil/login_class.c:60: (near initialization for
`resources[10].why')
/usr/src/lib/libutil/login_class.c:60: initializer element is not
constant
/usr/src/lib/libutil/login_class.c:60: (near initialization for
`resources[10]')
/usr/src/lib/libutil/login_class.c:61: initializer element is not
constant
/usr/src/lib/libutil/login_class.c:61: (near initialization for
`resources[11]')

*** Error code 1

Stop in /usr/src/lib/libutil
*** Error code 1

Stop in /usr/src
*** Error code 1

Please fix.

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D1995E1.CA6488DC>