Skip to content

runsc: allow readv for direct TAP links - #14452

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl971992510
Open

runsc: allow readv for direct TAP links#14452
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl971992510

Conversation

@copybara-service

Copy link
Copy Markdown

runsc: allow readv for direct TAP links

Allow the sentry to use readv when an fdbased endpoint receives a non-socket file descriptor such as a TAP or TUN device. The dispatcher already selects readv for these supported descriptors, but the common seccomp policy previously terminated the sentry on its first packet.

This keeps the seccomp policy aligned with the existing fdbased receive path used by direct TAP links.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14232 from tianyuzhou95:albert/readv-seccomp bb9b1dd

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Aug 27, 2026
Allow the sentry to use readv when an fdbased endpoint receives a non-socket file descriptor such as a TAP or TUN device. The dispatcher already selects readv for these supported descriptors, but the common seccomp policy previously terminated the sentry on its first packet.

This keeps the seccomp policy aligned with the existing fdbased receive path used by direct TAP links.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14232 from tianyuzhou95:albert/readv-seccomp bb9b1dd
PiperOrigin-RevId: 971992510
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant