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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to