Page MenuHomeFreeBSD

posixshm: Report output truncation from kern.ipc.posix_shm_list
ClosedPublic

Authored by markj on Jan 16 2022, 10:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2025, 4:23 PM
Unknown Object (File)
Nov 10 2025, 10:37 AM
Unknown Object (File)
Nov 7 2025, 1:17 PM
Unknown Object (File)
Nov 2 2025, 1:32 AM
Unknown Object (File)
Oct 28 2025, 4:32 AM
Unknown Object (File)
Oct 28 2025, 4:31 AM
Unknown Object (File)
Oct 13 2025, 11:09 AM
Unknown Object (File)
Oct 6 2025, 1:29 AM
Subscribers

Details

Summary

PR: 240573
MFC after: 1 week

Test Plan

posixshmcontrol ls still seems to work.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43945
Build 40833: arc lint + arc unit

Event Timeline

kib added inline comments.
sys/kern/uipc_shm.c
2057

Or you could assign ENOMEN to error and break still. For oldptr != NULL you would do unneeded work, but this arguably does not matter.

This revision is now accepted and ready to land.Jan 16 2022, 10:41 PM
sys/kern/uipc_shm.c
2057

I wrote it that way first, but it seems nicer to keep the common case simple.