Chris Lu and GitHub
5112da98a2
mount: skip redundant permission checks under default_permissions ( #10089 )
...
With default_permissions (the mount default) the kernel enforces unix
permission bits from the getattr/lookup attributes before it ever calls
Open, Create, or Mknod. The mount was re-checking permissions in
AcquireHandle and createRegularFile anyway, which duplicated the kernel's
work and kept the supplementary-group lookup on the per-file hot path.
Gate only the mode-bit access check on default_permissions being off, so
a non-root copy does no permission work on open/create. createRegularFile
still loads the parent to validate it exists, since the create RPC skips
the filer-side parent check. With default_permissions off the mount
remains the sole enforcer, so the full check still runs.
2026-06-24 14:24:51 -07:00
..
2026-06-15 13:25:06 -07:00
2026-06-17 11:34:38 -07:00
2026-01-07 13:06:08 -08:00
2026-06-16 11:47:32 -07:00
2026-05-06 15:19:43 -07:00
2026-06-22 20:33:22 -07:00
2026-05-28 15:00:18 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-05-03 21:46:21 -07:00
2026-04-17 21:21:32 -07:00
2026-06-07 23:35:53 -07:00
2026-05-03 21:46:21 -07:00
2026-06-01 15:11:02 -07:00
2026-06-04 10:53:23 -07:00
2026-04-23 11:54:08 -07:00
2026-04-22 09:44:43 -07:00
2026-01-07 13:06:08 -08:00
2026-03-30 18:25:11 -07:00
2026-01-07 13:06:08 -08:00
2026-03-19 21:18:52 -07:00
2026-03-30 18:25:11 -07:00
2026-01-07 13:06:08 -08:00
2024-07-16 09:15:55 -07:00
2026-05-28 23:29:59 -07:00
2026-04-14 18:34:05 -07:00
2026-06-09 12:54:28 -07:00
2026-03-26 23:55:42 -07:00
2026-05-14 20:55:37 -07:00
2026-06-01 15:11:02 -07:00
2026-06-09 12:54:28 -07:00
2026-06-05 12:44:21 -07:00
2026-05-31 18:52:44 -07:00
2026-05-28 18:04:31 -07:00
2026-05-31 18:52:44 -07:00
2026-02-20 18:42:00 -08:00
2026-06-15 13:11:35 -07:00
2026-06-15 13:11:35 -07:00
2025-12-25 11:36:38 -08:00
2025-12-14 16:02:06 -08:00
2026-01-26 11:28:23 -08:00
2026-02-18 13:42:41 -08:00
2025-12-17 12:27:43 -08:00
2026-03-18 23:28:07 -07:00
2026-06-05 12:44:21 -07:00
2026-03-30 18:25:11 -07:00
2026-03-30 18:25:11 -07:00
2026-06-19 13:04:04 -07:00
2026-05-02 21:02:21 -07:00
2026-05-08 11:03:03 -07:00
2026-06-24 10:47:11 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-03-18 12:18:40 -07:00
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00
2026-06-24 14:24:51 -07:00
2026-05-24 23:56:37 -07:00
2026-04-23 22:15:05 -07:00
2026-05-03 21:46:21 -07:00
2025-10-13 18:05:17 -07:00
2026-05-02 18:03:13 -07:00
2026-04-16 15:51:43 -07:00
2026-06-07 10:20:58 -07:00
2026-06-11 11:04:52 -07:00
2026-06-05 12:44:21 -07:00
2026-06-05 12:44:21 -07:00
2026-04-10 17:31:14 -07:00
2026-02-20 18:42:00 -08:00
2026-05-03 21:46:21 -07:00
2026-06-01 15:11:02 -07:00
2026-05-30 09:29:06 -07:00
2022-07-29 00:17:28 -07:00
2026-06-17 00:07:38 -07:00
2026-06-05 12:44:21 -07:00
2026-03-07 18:30:58 -08:00
2026-05-08 17:29:47 -07:00
2026-05-03 21:46:21 -07:00