 Nicolas LacasseandgVisor bot
|
db94561a0a
|
Fix validation of close_range last fd argument.
The `last` fd argument can be up to max uint32, and some applications call it
with this maximum:
https://github.com/GNOME/glib/blob/26bc1d08ec574b387ff4bcd919a020a586727bbf/glib/glib-unix.c#L890
PiperOrigin-RevId: 718526878
|
2025-01-22 14:25:24 -08:00 |
|
 Konstantin BogomolovandgVisor bot
|
599facdeae
|
Fix close_range syscall tests for Linux kernels <5.11
The CLOEXEC flag for close_range was added in 5.11; if CLOEXEC tests are run on
earlier versions they will return EINVAL.
PiperOrigin-RevId: 537160906
|
2023-06-01 16:37:00 -07:00 |
|
 Konstantin BogomolovandgVisor bot
|
be6bfe5598
|
Fix data race when using UNSHARE in close_range.
Also add test that fails under gotsan without the fix.
PiperOrigin-RevId: 433857741
|
2022-03-10 14:53:45 -08:00 |
|
 Konstantin BogomolovandgVisor bot
|
03113543e2
|
Implement close_range.
Fixes #5500
PiperOrigin-RevId: 431454836
|
2022-02-28 09:37:03 -08:00 |
|