ipcs regression 13 -> 14 (sysv shared memory)

From: Milan Obuch <freebsd-stable_at_dino.sk>
Date: Tue, 19 Dec 2023 08:23:17 UTC
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