mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
linux-user: implement F_[GS]ETOWN_EX
F_GETOWN is replaced by F_GETOWN_EX inside the glibc fcntl wrapper Signed-off-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
3b899ea7d4
commit
8d5d30046b
2 changed files with 43 additions and 0 deletions
|
|
@ -2123,6 +2123,8 @@ struct target_statfs64 {
|
|||
#define TARGET_F_SETOWN 8 /* for sockets. */
|
||||
#define TARGET_F_GETOWN 9 /* for sockets. */
|
||||
#endif
|
||||
#define TARGET_F_SETOWN_EX 15
|
||||
#define TARGET_F_GETOWN_EX 16
|
||||
|
||||
#ifndef TARGET_F_RDLCK
|
||||
#define TARGET_F_RDLCK 0
|
||||
|
|
@ -2305,6 +2307,11 @@ struct target_eabi_flock64 {
|
|||
} QEMU_PACKED;
|
||||
#endif
|
||||
|
||||
struct target_f_owner_ex {
|
||||
int type; /* Owner type of ID. */
|
||||
int pid; /* ID of owner. */
|
||||
};
|
||||
|
||||
/* soundcard defines */
|
||||
/* XXX: convert them all to arch indepedent entries */
|
||||
#define TARGET_SNDCTL_COPR_HALT TARGET_IOWR('C', 7, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue