fcntl.c (3eb66e91a25497065c5322b1268cbc3953642227) fcntl.c (0a4c92657f2543bb8fd480c5af90c6bb87f18e00)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/fcntl.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/syscalls.h>

--- 755 unchanged lines hidden (view full) ---

764 BUG_ON((reason < POLL_IN) || ((reason - POLL_IN) >= NSIGPOLL));
765 if (reason - POLL_IN >= NSIGPOLL)
766 si.si_band = ~0L;
767 else
768 si.si_band = mangle_poll(band_table[reason - POLL_IN]);
769 si.si_fd = fd;
770 if (!do_send_sig_info(signum, &si, p, type))
771 break;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/fcntl.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/syscalls.h>

--- 755 unchanged lines hidden (view full) ---

764 BUG_ON((reason < POLL_IN) || ((reason - POLL_IN) >= NSIGPOLL));
765 if (reason - POLL_IN >= NSIGPOLL)
766 si.si_band = ~0L;
767 else
768 si.si_band = mangle_poll(band_table[reason - POLL_IN]);
769 si.si_fd = fd;
770 if (!do_send_sig_info(signum, &si, p, type))
771 break;
772 /* fall-through: fall back on the old plain SIGIO signal */
772 /* fall-through - fall back on the old plain SIGIO signal */
773 case 0:
774 do_send_sig_info(SIGIO, SEND_SIG_PRIV, p, type);
775 }
776}
777
778void send_sigio(struct fown_struct *fown, int fd, int band)
779{
780 struct task_struct *p;

--- 264 unchanged lines hidden ---
773 case 0:
774 do_send_sig_info(SIGIO, SEND_SIG_PRIV, p, type);
775 }
776}
777
778void send_sigio(struct fown_struct *fown, int fd, int band)
779{
780 struct task_struct *p;

--- 264 unchanged lines hidden ---