diff options
author | Helge Deller | 2021-02-01 16:59:22 +0100 |
---|---|---|
committer | Laurent Vivier | 2021-02-13 22:50:49 +0100 |
commit | 23b311155078bdd5bacc016ff3b3ebb5462b10c0 (patch) | |
tree | 400eb4842107bfb91bf404a23a21818071cf1527 /linux-user/hppa | |
parent | linux-user/signal: Decode waitid si_code (diff) | |
download | qemu-23b311155078bdd5bacc016ff3b3ebb5462b10c0.tar.gz qemu-23b311155078bdd5bacc016ff3b3ebb5462b10c0.tar.xz qemu-23b311155078bdd5bacc016ff3b3ebb5462b10c0.zip |
linux-user: Add missing TARGET___O_TMPFILE for hppa and alpha
The hppa and alpha targets miss the #define of the TARGET___O_TMPFILE
and as such fail to run a trivial symlink command like
ln -s /bin/bash /tmp
which results in an -EINVAL return code.
Adding the define fixes the problem.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210201155922.GA18291@ls3530.fritz.box>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r-- | linux-user/hppa/target_fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/hppa/target_fcntl.h b/linux-user/hppa/target_fcntl.h index bd966a59b8..9eaeef9d8e 100644 --- a/linux-user/hppa/target_fcntl.h +++ b/linux-user/hppa/target_fcntl.h @@ -21,6 +21,7 @@ #define TARGET_O_CLOEXEC 010000000 #define TARGET___O_SYNC 000100000 #define TARGET_O_PATH 020000000 +#define TARGET___O_TMPFILE 040000000 #define TARGET_F_RDLCK 1 #define TARGET_F_WRLCK 2 |