diff options
author | Peter Maydell | 2013-07-02 15:04:12 +0200 |
---|---|---|
committer | Riku Voipio | 2013-07-05 14:45:40 +0200 |
commit | 1acae9f22380a03b468a29a3cc035b280610b5e4 (patch) | |
tree | e7fb48e1fdf341ac398b6d73c3806095a232ea0f /linux-user/socket.h | |
parent | linux-user: fix signal number range check (diff) | |
download | qemu-1acae9f22380a03b468a29a3cc035b280610b5e4.tar.gz qemu-1acae9f22380a03b468a29a3cc035b280610b5e4.tar.xz qemu-1acae9f22380a03b468a29a3cc035b280610b5e4.zip |
linux-user: Fix sys_utimensat (would not compile on old glibc)
Commit c0d472b12e accidentally dropped the definition of
__NR_SYS_utimensat even though its use is guarded by
CONFIG_UTIMENSAT, not CONFIG_ATFILE. Some older glibc don't
have utimensat() (even if they have the other *at() functions).
Fix this by correctly cleaning up the sys_utimensat()
implementation and #defines, so that we always provide the
syscall if needed whether we're doing it via glibc or not.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 1371743841-26110-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/socket.h')
0 files changed, 0 insertions, 0 deletions