lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <200807251141.14638.oliver@neukum.org> Date: Fri, 25 Jul 2008 11:41:14 +0200 From: Oliver Neukum <oliver@...kum.org> To: linux-kernel@...r.kernel.org Subject: question on error return if poll is interrupted Hi, is this code from the gspca driver correct: if (mutex_lock_interruptible(&gspca_dev->queue_lock) != 0) return POLLERR; Shouldn't poll() return -EINTR ? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/