fortify/helper/seccomp
Ophestra 099da78af5
All checks were successful
Test / Create distribution (push) Successful in 2m10s
Test / Run NixOS test (push) Successful in 4m50s
helper/seccomp: eliminate data race on pfd
Turns out the doc comment on os.File was lying about its methods being safe for concurrent use. The race detector picked up a data race from concurrent use of Fd and Close.

This change eliminates that by calling Fd in the prepare routine.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-02-13 10:40:51 +09:00
..
api.go helper/seccomp: implement reader interface via pipe 2025-02-03 19:43:03 +09:00
export_test.go helper/seccomp: implement reader interface via pipe 2025-02-03 19:43:03 +09:00
export.go helper/seccomp: eliminate data race on pfd 2025-02-13 10:40:51 +09:00
seccomp-export.c helper/seccomp: do not call F_println if not verbose 2025-01-25 13:19:38 +09:00
seccomp-export.h helper/seccomp: do not call F_println if not verbose 2025-01-25 13:19:38 +09:00
seccomp.go helper/seccomp: implement reader interface via pipe 2025-02-03 19:43:03 +09:00