diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 12:15:35 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-03-17 15:26:58 +0200 |
commit | e0eb210ec0c1cd262e3f642133ee93acdaf60aa0 (patch) | |
tree | 0030ca41f16dba7268cc6d288663b843d074c0c5 /linux-user/syscall_defs.h | |
parent | a7ec0f98e3a37a4d31c832cfa14dc2c1c0890421 (diff) | |
download | qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.zip qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.tar.gz qemu-e0eb210ec0c1cd262e3f642133ee93acdaf60aa0.tar.bz2 |
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 2a7d1db..fdf9a47 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; +}; |