fcntl: Don't set si_code to SI_SIGIO when sig == SIGPOLL
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 19 Sep 2017 03:51:14 +0000 (22:51 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 19 Sep 2017 03:51:14 +0000 (22:51 -0500)
commit54640d238760a1a54dfebe039b49682522100186
tree6a2b2dd72e87da0226f0885c08b7fe9ab8a2141d
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
fcntl: Don't set si_code to SI_SIGIO when sig == SIGPOLL

When fixing things to avoid ambiguous cases I had a thinko
and included SIGPOLL/SIGIO in with all of the other signals
that have signal specific si_codes.  Which is completely wrong.

Fix that.

Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/fcntl.c