Skip to content

RFE: add Alpha support#481

Open
glaubitz wants to merge 1 commit intoseccomp:mainfrom
glaubitz:alpha-support
Open

RFE: add Alpha support#481
glaubitz wants to merge 1 commit intoseccomp:mainfrom
glaubitz:alpha-support

Conversation

@glaubitz
Copy link
Copy Markdown
Contributor

This adds architecture support for Alpha, the other architecture besides SPARC which is unsupported yet.

A patch to add support for SECCOMP_FILTER was just posted to LKML.

This PR is missing the update to src/syscalls.csv since I have no clue how that works now. See this issue.

CC @linmag7 who is working on the kernel part.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 88.986% (-0.04%) from 89.024%
when pulling a494011 on glaubitz:alpha-support
into 4b0bf50 on seccomp:main.

@linmag7
Copy link
Copy Markdown

linmag7 commented Feb 17, 2026

Hi all,

I've been running the libseccomp test suit (make check) on my Alpha UP2000+ with a kernel patched for libseccomp support, here are some results:

Regression Test Summary
tests run: 3891
tests skipped: 126
tests passed: 3715
tests failed: 176
tests errored: 149

So it mostly works I'd say! great work with libseccomp!. Below are some of the tests that fail:

Test 33-sim-socket_syscalls_be%%001-00001 result: ERROR 33-sim-socket_syscalls_be rc=14
test arch: s390
Test 33-sim-socket_syscalls_be%%002-00001 result: ERROR 33-sim-socket_syscalls_be rc=14
test arch: s390

Test 34-sim-basic_denylist%%003-00001 result: FAILURE bpf_sim resulted in ALLOW
Test 34-sim-basic_denylist%%003-00002 result: FAILURE bpf_sim resulted in ALLOW

Test 43-sim-a2_order%%031-00001 result: FAILURE bpf_sim resulted in KILL
Test 43-sim-a2_order%%032-00001 result: FAILURE bpf_sim resulted in KILL

Test 62-sim-arch_transactions%%001-00001 result: FAILURE bpf_sim resulted in ALLOW
Test 62-sim-arch_transactions%%002-00001 result: FAILURE bpf_sim resulted in ALLOW

Test 53-sim-binary_tree%%001-00001 result: ERROR 53-sim-binary_tree rc=14
test arch: x86_64

I haven't yet looked into the details as to why tests fail, seems like some of them just assumes the
wrong arch?

@glaubitz glaubitz force-pushed the alpha-support branch 3 times, most recently from d0bd0a4 to 0590350 Compare February 24, 2026 08:40
@pcmoore pcmoore changed the title RFE: Add Alpha support RFE: add Alpha support Apr 8, 2026
@pcmoore
Copy link
Copy Markdown
Member

pcmoore commented Apr 8, 2026

Without looking at the patch, I just want to remind everyone that we generally don't merge new architecture support until we have a released upstream kernel with seccomp support for that architecture.

@pcmoore
Copy link
Copy Markdown
Member

pcmoore commented Apr 8, 2026

Looking at Linus' tree, it doesn't appear that the seccomp support patch for Alpha has landed.

@glaubitz
Copy link
Copy Markdown
Contributor Author

glaubitz commented Apr 9, 2026

Looking at Linus' tree, it doesn't appear that the seccomp support patch for Alpha has landed.

It's part of Magnus Lindholm's tree in the for-next branch and will be submitted once the merge window opens again.

@pcmoore
Copy link
Copy Markdown
Member

pcmoore commented Apr 9, 2026

Great, we'll look forward to that. Hopefully that will give folks enough time to sort out the test failures.

On a personal note, my first job out of college was working on Tru64 UNIX for the Alpha, merging Alpha support into libseccomp would make me very happy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants