On 7/10/25 05:31, Peter Maydell wrote:
The fchmodat2 syscall is new from Linux 6.6; it is like the
existing fchmodat syscall except that it takes a flags parameter.
Signed-off-by: Peter Maydell
---
v1->v2: don't bother with trying to fall back to libc fchmodat();
add missing braces for if()
Q
On 7/10/25 05:31, Peter Maydell wrote:
The fchmodat2 syscall is new from Linux 6.6; it is like the
existing fchmodat syscall except that it takes a flags parameter.
Signed-off-by: Peter Maydell
---
v1->v2: don't bother with trying to fall back to libc fchmodat();
add missing braces for if()
---
On 10/7/25 13:31, Peter Maydell wrote:
The fchmodat2 syscall is new from Linux 6.6; it is like the
existing fchmodat syscall except that it takes a flags parameter.
Signed-off-by: Peter Maydell
---
v1->v2: don't bother with trying to fall back to libc fchmodat();
add missing braces for if()
---
The fchmodat2 syscall is new from Linux 6.6; it is like the
existing fchmodat syscall except that it takes a flags parameter.
Signed-off-by: Peter Maydell
---
v1->v2: don't bother with trying to fall back to libc fchmodat();
add missing braces for if()
---
linux-user/syscall.c | 13 +
On 7/8/25 10:10, Peter Maydell wrote:
You could argue that the fallback-to-libc-fchmodat here isn't
worth bothering with, I guess.
Indeed not. Support for fchmodat2 is at least 2 years old already.
r~
The fchmodat2 syscall is new from Linux 6.6; it is like the
existing fchmodat syscall except that it takes a flags parameter.
If we have the host fchmodat2 syscall, we implement it as a
direct passthrough call; if we do not, then we can fall back
to using the libc fchmodat() function. The fallback