]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4de4e77428d26640f9782edc6386e4fcd9b57d62
tree6a2b2dd72e87da0226f0885c08b7fe9ab8a2141d
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
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