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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46A50AF0.70305@colorfullife.com>
Date:	Mon, 23 Jul 2007 22:09:20 +0200
From:	Manfred Spraul <manfred@...orfullife.com>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
CC:	linux-kernel@...r.kernel.org,
	"Agarwal, Lomesh" <lomesh.agarwal@...el.com>,
	Nigel Cunningham <nigel@...el.suspend2.net>
Subject: Re: which signal is sent to freeze process?

Rafael J. Wysocki wrote:
> Well, look at the code in fs/select.c:do_poll() .  If signal_pending(current)
> is true, the main loop breaks and count is returned to do_sys_poll().  If
> zero is returned and signal_pending(current) is still true, do_sys_poll()
> returns -EINTR.
>
>   
Thanks - I looked at sys_ppoll().
sys_ppoll() and select() use ERESTARTNOHAND, sys_poll uses EINTR.

--
    Manfred
-
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/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ