Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2023 09:23:17 +0100
From:      Milan Obuch <freebsd-stable@dino.sk>
To:        freebsd-stable@freebsd.org
Subject:   ipcs regression 13 -> 14 (sysv shared memory)
Message-ID:  <20231219092317.0f065725@zeta.dino.sk>

next in thread | raw e-mail | index | archive | help
On 13-STABLE:

% ipcs
Message Queues:
T           ID          KEY MODE        OWNER    GROUP   

Shared Memory:
T           ID          KEY MODE        OWNER    GROUP   
m       524288            0 --rw------- milan    milan   
m       458753            0 --rw------- milan    milan   
m        65538            0 --rw------- milan    milan   
m        65539            0 --rw------- milan    milan   
m        65540            0 --rw------- milan    milan   
m        65541            0 --rw------- milan    milan   
m        65542            0 --rw------- milan    milan   

Semaphores:
T           ID          KEY MODE        OWNER    GROUP   

On 14-STABLE:

% ipcs
ipcs: sysctlbyname: kern.ipc.msgmax: No such file or directory

Is this known bug? Intentional? Known fix?

Additional info:

sysctl oid mentioned indeed does not exist on 14-STABLE, more oids
missing, compare on 13-STABLE

% sysctl kern.ipc | wc -l
      54

with that on 14-STABLE
% sysctl kern.ipc | wc -l
      40

One difference - on 13-STABLE, SysV shared memory support is in kernel,
in 14-STABLE, sysvshm.ko module is being loaded to provide support, it
just looks probably not relevant to the issue I see, I just can't
verify it now.

At the moment, I can't test it on 15-CURRENT.

Regards,
Milan



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