14 Commits
Author SHA1 Message Date
Jamie LiuandgVisor bot 4ff2648839 test: fix rseq test bugs
- Unregister stack-allocated rseq before returning from test cases.

- Add compiler barrier in RseqTest.InvalidAbortClearsCS.

PiperOrigin-RevId: 853431610
2026-01-07 15:17:41 -08:00
Jimmy TranandgVisor bot 73e8823bfb Fix: Pass stack pointer to __init in rseq arm64 test start.
PiperOrigin-RevId: 829162444
2025-11-06 17:06:19 -08:00
Jamie LiuandgVisor bot f5f4c2e420 Downgrade rseq test TODOs to NOTEs.
PiperOrigin-RevId: 621626382
2024-04-03 13:46:13 -07:00
Jamie LiuandgVisor bot 636b2b13ba Copy out rseq::cpu_id_start and rseq::cpu_id even if they don't change.
Userspace can mutate them, and this is consistent with Linux.

PiperOrigin-RevId: 610902711
2024-02-27 16:00:13 -08:00
Adin ScannellandgVisor bot 2911d8c3b8 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Adin ScannellandgVisor bot 5dd4a95711 Process nogo targets across all architectures.
PiperOrigin-RevId: 511343590
2023-02-21 17:06:02 -08:00
Zach KoopmansandgVisor bot 493eb43691 Fix return for rseq_test.
Accept 128 + SIGNAL as well as SIGNAL as valid
returns for fork/exec tests.

Also, make changes so that test compiles in opensource. Test
had compile errors on latest Ubuntu 16.04 image with updated bazel to
3.4.0 (as well as base 2.0) used for Kokoro tests.

PiperOrigin-RevId: 327510310
2020-08-19 14:46:55 -07:00
gVisor bot 2ec7d0d3df Merge pull request #2060 from xiaobo55x:rseq
PiperOrigin-RevId: 307453436
2020-04-20 12:31:22 -07:00
Haibo Xu 33c859474d Enable rseq syscall test on arm64.
Signed-off-by: Haibo Xu <[email protected]>
Change-Id: If30154a2d73e98f211cfe589853b232019b9e130
2020-04-01 09:50:49 +08:00
Andrei Vagin 5623148f72 arm64: add a travis build ci
Build runsc and run "runsc do ls".

Signed-off-by: Andrei Vagin <[email protected]>
2020-02-21 22:44:19 -08:00
Adin ScannellandgVisor bot 5cd5c2536a Standardize on tools directory.
PiperOrigin-RevId: 291745021
2020-01-27 12:21:00 -08:00
Adin ScannellandgVisor bot 1b8ff2ce79 Change to standard types.
PiperOrigin-RevId: 290846481
2020-01-21 17:28:57 -08:00
gVisor bot 33f3ef287f Merge pull request #1492 from majek:err_typo_in_netstack_tests
PiperOrigin-RevId: 290840370
2020-01-21 16:32:49 -08:00
Michael PrattandgVisor bot c0156557b6 Add tests for rseq(2)
Add a decent set of syscall tests for rseq(2). These are a bit awkward because
of issues with library integration. libc may register rseq on thread start
(including before main on the initial thread), precluding much testing. Thus we
run tests in a libc-free subprocess.

Support for rseq(2) in gVisor will come in a later commit.

PiperOrigin-RevId: 284595994
2019-12-09 11:22:31 -08:00