aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorAkos PASZTORY <akos.pasztory@gmail.com>2011-11-14 15:09:49 +0200
committerRiku Voipio <riku.voipio@linaro.org>2012-02-02 17:51:20 +0200
commit583359a68922fb91b793a5ad3a2dd4536bf9b99e (patch)
treedca8f47fd7c756c9dba65ba3b519b6c556e5d3c2 /linux-user/syscall_defs.h
parent50171d42071d492b916f737b227bc6f3751fee7c (diff)
downloadqemu-583359a68922fb91b793a5ad3a2dd4536bf9b99e.zip
qemu-583359a68922fb91b793a5ad3a2dd4536bf9b99e.tar.gz
qemu-583359a68922fb91b793a5ad3a2dd4536bf9b99e.tar.bz2
linux-user: add SO_PEERCRED support for getsockopt
Signed-off-by: Akos PASZTORY <akos.pasztory@gmail.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 2857805..41f0ff8 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -2336,3 +2336,9 @@ struct target_rlimit64 {
uint64_t rlim_cur;
uint64_t rlim_max;
};
+
+struct target_ucred {
+ uint32_t pid;
+ uint32_t uid;
+ uint32_t gid;
+};