diff options
| author | Peter Maydell | 2014-03-17 13:15:35 +0100 |
|---|---|---|
| committer | Riku Voipio | 2014-03-17 14:26:58 +0100 |
| commit | e0eb210ec0c1cd262e3f642133ee93acdaf60aa0 (patch) | |
| tree | 0030ca41f16dba7268cc6d288663b843d074c0c5 /linux-user/syscall_defs.h | |
| parent | linux-user: Don't allow guest to block SIGSEGV (diff) | |
| download | qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.tar.gz qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.tar.xz qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.zip | |
linux-user: Implement capget, capset
Implement the capget and capset syscalls. This is useful because
simple programs like 'ls' try to use it in AArch64, and otherwise
we emit a lot of noise about it being unimplemented.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall_defs.h')
| -rw-r--r-- | linux-user/syscall_defs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 2a7d1db10b..fdf9a47595 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -2566,3 +2566,14 @@ struct target_sigevent { } _sigev_thread; } _sigev_un; }; + +struct target_user_cap_header { + uint32_t version; + int pid; +}; + +struct target_user_cap_data { + uint32_t effective; + uint32_t permitted; + uint32_t inheritable; +}; |
