17 Commits

Author SHA1 Message Date
Fabricio Voznika c041d9bd58 Add missing binary_sha256 field
Fixes #11466

PiperOrigin-RevId: 734209881
2025-03-06 11:01:58 -08:00
Andrei Vagin f010ae01ac Fix a few typos 2025-01-29 21:16:51 -08:00
Adin Scannell 1ceb814544 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Shambhavi Srivastava 4e11daccf0 Adding more trace point integration tests for the following syscalls:
- signalfd
  - signalfd4
  - fcntl
  - pipe
  - pipe2
  - timerfd_create
  - timerfd_settime
  - timerfd_gettime
  - fork
  - vfork
  - inotify_init
  - inotify_init1
  - inotify_add_watch
  - inotify_rm_watch
  - clone

Updates #4805

PiperOrigin-RevId: 492297673
2022-12-01 14:19:28 -08:00
Shambhavi Srivastava 536a924f1a Adding more trace point integration tests for the following syscalls:
- chroot
 - dup
 - dup2
 - dup3
 - prlimit64
 - eventfd
 - eventfd2
 - bind
 - accept
 - accept4

Updates #4805

PiperOrigin-RevId: 489526376
2022-11-18 11:48:42 -08:00
Shambhavi Srivastava dec1aed143 Adding more trace point integration tests for the following syscalls:
- Chdir
- Fchdir
- Setgid
- Setuid
- Setsid
- Setresuid
- Setresgid

Updates #4805

PiperOrigin-RevId: 489076929
2022-11-16 17:06:35 -08:00
Fabricio Voznika e6f019594e Add read/write syscalls to trace points
Closes #8092

PiperOrigin-RevId: 488719448
2022-11-15 11:54:23 -08:00
Shambhavi Srivastava 68c47a2f88 Fixing checkSentryExec to account for symlinks as the test runs locally.
Updates #4805

PiperOrigin-RevId: 487374028
2022-11-09 16:14:05 -08:00
Kevin Krakauer d8aa09e04c convert uses of interface{} to any
Done via:
  find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'

PiperOrigin-RevId: 487033228
2022-11-08 13:14:06 -08:00
Fabricio Voznika 943eb50b0a Allow trace tests to run remotely
PiperOrigin-RevId: 485999272
2022-11-03 16:12:08 -07:00
Fabricio Voznika e8c45a17cf Enable test/trace:trace_test
It was mistakenly marked as manual.

Updates #4805

PiperOrigin-RevId: 465163546
2022-08-03 15:29:07 -07:00
Fabricio Voznika dc4cd669fc Add sinks to runsc trace metadata output
Updates #4805

PiperOrigin-RevId: 465150097
2022-08-03 14:32:46 -07:00
Fabricio Voznika da267f435f Rename seccheck.checkers to seccheck.sinks
Makes the naming consistent with the public configuration. There is no
behavior change.

Updates #4805

PiperOrigin-RevId: 462448505
2022-07-21 12:47:06 -07:00
Fabricio Voznika 5dc4c42f8f Add more trace point integration tests
Updates #4805

PiperOrigin-RevId: 455408137
2022-06-16 10:05:13 -07:00
Fabricio Voznika 21c757b60f Enable all trace points for syscall tests
Enable all trace points while running syscall tests to catch possible
crashes and bugs that may exist. These are not verifying that the data
in the points are correct though. Since all trace points are platform
agnostic for now, only enable them for ptrace.

Updates #4805

PiperOrigin-RevId: 455232093
2022-06-15 15:22:12 -07:00
Fabricio Voznika ab4f6830bc Add tool to save remote trace sessions
This tool allows testing of trace servers without the need to setup
runsc and workloads during testing. More details in the readme file.

Updates #4805

PiperOrigin-RevId: 454641010
2022-06-13 10:24:06 -07:00
Fabricio Voznika 11a9f17b9a Trace points integration test
Updates #4805

PiperOrigin-RevId: 451007875
2022-05-25 14:00:39 -07:00