Date: Thu, 21 Feb 2013 05:57:52 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247080 - stable/9/lib/libc/sys Message-ID: <201302210557.r1L5vqqg093812@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Feb 21 05:57:51 2013 New Revision: 247080 URL: http://svnweb.freebsd.org/changeset/base/247080 Log: MFC r246476: Document the ERESTART translation to EINTR for devfs nodes. Modified: stable/9/lib/libc/sys/open.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/sys/ (props changed) Modified: stable/9/lib/libc/sys/open.2 ============================================================================== --- stable/9/lib/libc/sys/open.2 Thu Feb 21 05:55:52 2013 (r247079) +++ stable/9/lib/libc/sys/open.2 Thu Feb 21 05:57:51 2013 (r247080) @@ -28,7 +28,7 @@ .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" $FreeBSD$ .\" -.Dd March 25, 2011 +.Dd February 7, 2013 .Dt OPEN 2 .Os .Sh NAME @@ -244,6 +244,17 @@ It returns \-1 on failure. The file pointer used to mark the current position within the file is set to the beginning of the file. .Pp +If a sleeping open of a device node from +.Xr devfs 5 +is interrupted by a signal, the call always fails with +.Er EINTR , +even if the +.Dv SA_RESTART +flag is set for the signal. +A sleeping open of a fifo (see +.Xr mkfifo 2 ) +is restarted as normal. +.Pp When a new file is created it is given the group of the directory which contains it. .Pp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302210557.r1L5vqqg093812>