Files
visor/test/syscalls/linux
Shailend ChandandgVisor bot 67c08dc139 Show nodev in /proc/[pid]/{mounts,mountinfo} and fix noatime rendering.
gVisor stored, locked, and enforced MS_NODEV, but never rendered it. A
remount replaces a mount's whole flag set, so to add a flag userspace
must read the mount's current flags from mountinfo and pass them back.
With nodev missing from that read-back, systemd's sandboxing code
unknowingly requested a remount that would clear nodev — which the
kernel rightly refuses (EPERM) in user namespaces, where preexisting
flags are locked.

Also fix noatime rendering, which overwrote the rw/ro field instead of
appending to it, and match Linux's flag order. Add a syscall test for
both files.

PiperOrigin-RevId: 970083172
2026-08-24 14:32:43 -07:00
..
2026-01-07 15:17:41 -08:00
2023-01-19 12:07:31 -08:00
2024-12-02 20:23:18 -08:00
2020-04-09 16:41:27 -07:00
2023-09-21 11:42:16 -07:00
2020-01-27 22:28:43 -08:00
2023-09-26 17:35:33 -07:00
2022-10-14 12:11:32 -07:00
2019-08-29 14:01:47 -07:00
2021-07-22 16:37:15 -07:00
2026-07-29 10:35:13 -07:00
2026-07-06 15:17:54 -07:00
2021-04-28 16:22:24 -07:00
2022-05-12 17:48:38 -07:00
2020-01-21 17:28:57 -08:00
2023-11-08 23:41:32 -08:00
2026-05-27 01:04:27 -07:00
2023-01-19 12:07:31 -08:00
2025-01-29 21:16:51 -08:00
2026-06-01 20:13:23 -07:00
2026-06-01 20:13:23 -07:00
2020-04-08 17:58:13 -07:00
2025-01-29 21:16:51 -08:00
2026-06-01 20:13:23 -07:00
2026-08-03 15:38:06 -07:00
2025-09-25 16:24:29 -07:00
2026-08-01 12:58:40 -07:00
2026-05-27 01:04:27 -07:00
2023-08-11 07:54:10 -07:00
2026-05-27 01:04:27 -07:00
2026-06-01 20:13:23 -07:00
2026-06-25 14:37:17 -07:00
2022-10-14 12:11:32 -07:00
2022-09-22 11:47:08 -07:00
2021-04-28 16:22:24 -07:00
2024-06-14 13:27:13 -07:00
2025-01-29 21:16:51 -08:00
2023-09-21 11:42:16 -07:00
2025-01-29 21:16:51 -08:00
2026-05-27 01:04:27 -07:00
2021-04-13 15:42:41 -07:00
2025-01-29 21:16:51 -08:00
2022-10-14 12:11:32 -07:00
2022-04-15 10:19:01 -07:00
2025-01-29 21:16:51 -08:00
2026-07-01 18:30:16 +05:30
2022-12-05 10:57:16 -08:00
2026-08-24 11:28:28 -07:00
2021-04-13 15:42:41 -07:00
2026-08-01 12:58:40 -07:00
2026-08-01 12:58:40 -07:00
2019-06-28 15:32:29 -07:00
2026-03-17 13:43:32 -07:00
2025-12-15 11:14:18 -08:00
2026-08-01 12:58:40 -07:00
2021-04-13 15:42:41 -07:00
2026-08-01 12:58:40 -07:00
2025-01-29 21:16:51 -08:00
2023-04-11 10:56:40 -07:00
2025-12-12 18:17:35 -08:00
2026-06-04 13:28:38 -07:00
2020-01-28 11:26:09 -08:00
2026-06-01 20:13:23 -07:00
2026-05-27 01:04:27 -07:00
2025-01-29 21:16:51 -08:00
2023-01-19 12:07:31 -08:00
2026-06-01 20:13:23 -07:00
2025-01-29 21:16:51 -08:00
2026-03-12 14:59:37 -07:00
2025-01-29 21:16:51 -08:00
2024-09-17 11:37:47 -07:00
2025-04-28 12:21:07 -07:00
2026-08-13 19:23:41 -07:00
2026-08-01 12:58:40 -07:00
2024-02-26 13:56:42 -08:00
2026-04-01 13:51:31 -07:00
2026-06-01 20:13:23 -07:00
2022-02-16 11:41:51 -08:00
2024-05-13 06:27:17 -07:00
2026-08-01 12:58:40 -07:00
2020-02-28 14:47:50 +08:00
2020-02-05 22:46:35 -08:00
2026-08-01 12:58:40 -07:00
2026-06-12 08:10:58 -07:00
2026-05-27 01:04:27 -07:00
2026-03-27 14:15:08 -07:00
2020-02-28 14:47:50 +08:00
2026-06-01 20:13:23 -07:00
2026-08-01 12:58:40 -07:00
2026-05-13 15:42:32 -07:00