Repository navigation
ci: room_calls.cpp's process-wide objects on the writable-data scan's allowlist - #1133
Merged
Merged
Conversation
… allowlist #1122 (room-call) added src/cvc/ariadne/conference/room_calls.cpp to libcvc. Its CI ran on a base from before #1107, so the scan never saw it, and every PR based on master now fails the package-linux scan step on its seven objects: the per-app client map clients() and its mutex, the once-per-app list in register_room_call_intrinsics and its mutex, and the message counter g_messages (like room_lane.cpp's g_lane_messages).
transfix
added a commit
that referenced
this pull request
Nov 11, 2026
Picks up #1133, which puts room_calls.cpp's seven objects on the writable-data scan's allowlist; the scan failed package-linux / libcvc-release-grpc on them.
transfix
added a commit
that referenced
this pull request
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Puts #1122's new process-wide objects on the writable-data scan's allowlist, so
package-linux / libcvc-release-grpc's "Writable-data scan" step passes on master again. Allowlist only: no library code changes.Why master fails
#1122 (room-call) added
src/cvc/ariadne/conference/room_calls.cppto libcvc. Its CI run (42762523982) was on a base from before #1107, so that run had no scan step, and the objects reached master unscanned. Every PR based on master since #1122 fails the step on them.The earlier failure (8 symbols from #1109 and #1126, plus grid_nav's 2 stale
edt_scratchlines; e.g. job 129893786890 on e65c17e) is already fixed on master: #1119 carries those edits, and its last PR run (42817120432) passed the scan on a tree identical to master's b9de118. This PR touches none of #1119's lines.The new lines (cvc 455 → 462), all
src/cvc/ariadne/conference/room_calls.cpp(anonymous namespace)::clients()::cstd::map<const cvc::app *, std::shared_ptr<room_call_client>>: the client each app's relay session installed (room_call_client::install, read byfor_appwhen aroom-callruns).(anonymous namespace)::g_clients_mustd::mutexaround that map.(anonymous namespace)::g_messagesstd::atomic<std::uint64_t>: the counter that makes each room-call message'smessage_idunique (call-<pid>-<n>). It's the same pattern asroom_lane.cpp'sg_lane_messages, which is already on the list.register_room_call_intrinsics(cvc::app&)::donestd::vector<const cvc::app *>: the apps that already registered room-call's intrinsics.register_room_intrinsicsandattach_relayboth call it, and it registers only once per app.register_room_call_intrinsics(cvc::app&)::mustd::mutexarounddone(constant-initialised, so it has no guard, likeengines_mutex()::m).Why they stay for now: these objects belong to the process-wide action-intrinsics registry.
register_room_call_intrinsicsadds a provider that captures&apptoregister_action_intrinsics's registry (ariadne.cpp'saction_intrinsics_registry(), already on the list), anddoneexists to keep that provider from being added twice. They should move onto the app when that registry does. Until then the client map is the only way a provider in that registry can find its app's client.Not listed:
kWireis a constant-initialisedconstaggregate (.rodata).relay_session.cpp, the movedvalue_cbor.cppand #1122's other libcvc edits define no writable data.How the lines were made
I wrote these lines from the source, because there's no Linux build here to scan. This PR's own
package-linux / libcvc-release-grpcrun is the check. If a symbol's text turns out different, I'll take it from that run'ssingleton-scan-libcvcartifact. Locally, the file parses withscan.parse_allowlistandscan.render_allowlistreproduces it byte for byte, which checks the sort order and the section count.