[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/5] linux-user: Add support for the SIOCSPGR
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/5] linux-user: Add support for the SIOCSPGRP ioctl |
Date: |
Thu, 25 Apr 2019 22:14:23 -0700 |
On Wed, Apr 24, 2019 at 5:58 AM Aleksandar Markovic
<address@hidden> wrote:
>
> From: Aleksandar Markovic <address@hidden>
>
> Add support for setting the process (or process group) to receive SIGIO
> or SIGURG signals when I/O becomes possible or urgent data is available,
> using SIOCSPGRP ioctl.
>
> The ioctl numeric values for SIOCSPGRP are platform-dependent and are
> determined by following files in Linux kernel source tree:
>
> arch/ia64/include/uapi/asm/sockios.h:#define SIOCSPGRP 0x8902
> arch/mips/include/uapi/asm/sockios.h:#define SIOCSPGRP _IOW('s', 8, pid_t)
> arch/parisc/include/uapi/asm/sockios.h:#define SIOCSPGRP 0x8902
> arch/sh/include/uapi/asm/sockios.h:#define SIOCSPGRP _IOW('s', 8, pid_t)
> arch/xtensa/include/uapi/asm/sockios.h:#define SIOCSPGRP _IOW('s', 8, pid_t)
> arch/alpha/include/uapi/asm/sockios.h:#define SIOCSPGRP _IOW('s', 8, pid_t)
> arch/sparc/include/uapi/asm/sockios.h:#define SIOCSPGRP 0x8902
> include/uapi/asm-generic/sockios.h:#define SIOCSPGRP 0x8902
>
> Hence the different definition for alpha, mips, sh4, and extensa.
Typo: xtensa.
> Signed-off-by: Aleksandar Markovic <address@hidden>
> ---
> linux-user/ioctls.h | 1 +
> linux-user/syscall_defs.h | 3 +++
> 2 files changed, 4 insertions(+)
Reviewed-by: Max Filippov <address@hidden>
--
Thanks.
-- Max
- [Qemu-devel] [PATCH v2 0/5] linux-user: A set of misc patches for 4.1, Aleksandar Markovic, 2019/04/24
- [Qemu-devel] [PATCH v2 5/5] linux-user: Sanitize interp_info and, for mips only, init field fp_abi, Aleksandar Markovic, 2019/04/24
- [Qemu-devel] [PATCH v2 4/5] linux-user: setsockopt(): Add support for the option IPV6_ADD_MEMBERSHIP, Aleksandar Markovic, 2019/04/24
- [Qemu-devel] [PATCH v2 3/5] linux-user: Add support the SIOCSIFPFLAGS and SIOCGIFPFLAGS ioctls, Aleksandar Markovic, 2019/04/24
- [Qemu-devel] [PATCH v2 1/5] linux-user: Fix support for the SIOCATMARK and SIOCGPGRP ioctls for eXtensa, Aleksandar Markovic, 2019/04/24
- [Qemu-devel] [PATCH v2 2/5] linux-user: Add support for the SIOCSPGRP ioctl, Aleksandar Markovic, 2019/04/24
- Re: [Qemu-devel] [PATCH v2 2/5] linux-user: Add support for the SIOCSPGRP ioctl,
Max Filippov <=