Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2020 22:13:42 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r357180 - in stable: 11/include 12/include
Message-ID:  <202001272213.00RMDgUR085706@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Mon Jan 27 22:13:42 2020
New Revision: 357180
URL: https://svnweb.freebsd.org/changeset/base/357180

Log:
  MFC r356994: Mark rfork(2) as __returns_twice
  
  rfork is not generally a built-in that would be recognized as behaving like
  vfork/fork; provide the hint.

Modified:
  stable/11/include/unistd.h
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/include/unistd.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/include/unistd.h
==============================================================================
--- stable/11/include/unistd.h	Mon Jan 27 20:47:18 2020	(r357179)
+++ stable/11/include/unistd.h	Mon Jan 27 22:13:42 2020	(r357180)
@@ -545,7 +545,7 @@ char	*re_comp(const char *);
 int	 re_exec(const char *);
 int	 reboot(int);
 int	 revoke(const char *);
-pid_t	 rfork(int);
+pid_t	 rfork(int) __returns_twice;
 pid_t	 rfork_thread(int, void *, int (*)(void *), void *);
 int	 rresvport(int *);
 int	 rresvport_af(int *, int);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001272213.00RMDgUR085706>