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)
Tue, Apr 16, 1:38 PM
Unknown Object (File)
Sat, Apr 6, 10:29 AM
Unknown Object (File)
Feb 13 2024, 9:44 PM
Unknown Object (File)
Feb 5 2024, 5:16 PM
Unknown Object (File)
Jan 25 2024, 12:39 AM
Unknown Object (File)
Dec 25 2023, 1:28 AM
Unknown Object (File)
Dec 22 2023, 11:02 PM
Unknown Object (File)
Dec 21 2023, 12:22 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.