Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 11:44:24 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        dinoex@freebsd.org, umq@ueo.co.jp, current@freebsd.org
Subject:   Re: sysv_ipc.c broken in v1.30 (was Re: sysvshm appearse broken in -current)
Message-ID:  <20061216114349.Q72986@fledge.watson.org>
In-Reply-To: <20061216111656.GA7501@nagual.pp.ru>
References:  <20061216055903.GA2712@nagual.pp.ru> <20061216111656.GA7501@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 16 Dec 2006, Andrey Chernov wrote:

> The only place where EACCES may come is ipcperm() which was
> significally touched last time at:
>
> revision 1.30
> date: 2006/11/06 13:42:01;  author: rwatson;  state: Exp;  lines: +65 -37
> Sweep kernel replacing suser(9) calls with priv(9) calls, assigning
> specific privilege names to a broad range of privileges.  These may
> require some future tweaking.
>
> Sponsored by:           nCircle Network Security, Inc.
> Obtained from:          TrustedBSD Project
> Discussed on:           arch@
> Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri,
>                        Alex Lyashkov <umka at sevcity dot net>,
>                        Skip Ford <skip dot ford at verizon dot net>,
>                        Antoine Brodin <antoine dot brodin at laposte dot net>

I've backed out 1.30 for now (change 1.31), until I have time to revisit this.

Thanks,

Robert N M Watson
Computer Laboratory
University of Cambridge

>
>
> On Sat, Dec 16, 2006 at 08:59:03AM +0300, Andrey Chernov wrote:
>> It seems shm is broken in very recent -current.
>> Trying to build dkim-milter or dk-milter port (from root, of course) I
>> got:
>>
>> ./t-shm
>> shmget: Permission denied
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> shminit failed: Permission denied
>> 1..bad! t-shm.c:260 r == 0
>> add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
>> and start over.
>> 0 of 1 tests completed successfully
>> *** 1 error in test! ***
>> 2..bad! t-shm.c:177 cnt <= MAX_CNT
>> add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
>> and start over.
>> 4 of 5 tests completed successfully
>> *** 1 error in test! ***
>
>
> -- 
> http://ache.pp.ru/
>



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