]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/syscall_defs.h
linux-user: respect timezone for settimeofday
authorPaul Burton <paul@archlinuxmips.org>
Sun, 22 Jun 2014 10:25:40 +0000 (11:25 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Sun, 29 Jun 2014 11:19:59 +0000 (14:19 +0300)
commitef4467e911fc8a8a58c85877152a6ef7f46ed03a
treec279fe647ff33c62fa07fb8e15fe4f77e85ff3c0
parentfd7678324391d497b53afa40eeafe04cc05030df
linux-user: respect timezone for settimeofday

The settimeofday syscall accepts a tz argument indicating the desired
timezone to the kernel. QEMU previously ignored any argument provided
by the target program & always passed NULL to the kernel. Instead,
translate the argument & pass along the data userland provided.

Although this argument is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.

Signed-off-by: Paul Burton <paul@archlinuxmips.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c
linux-user/syscall_defs.h