Author: brooks
Date: Wed Jun 22 21:15:59 2016
New Revision: 302094
URL: https://svnweb.freebsd.org/changeset/base/302094

Log:
  Mark the pipe() system call as COMPAT10.
  
  As of r302092 libc uses pipe2() with a zero flags value instead of pipe().
  
  Commit with regenerated files and implementation to follow.
  
  Approved by:  re (gjb)
  Sponsored by: DARPA, AFRL
  Differential Revision:        https://reviews.freebsd.org/D6816

Modified:
  head/sys/compat/freebsd32/syscalls.master
  head/sys/kern/syscalls.master

Modified: head/sys/compat/freebsd32/syscalls.master
==============================================================================
--- head/sys/compat/freebsd32/syscalls.master   Wed Jun 22 21:12:53 2016        
(r302093)
+++ head/sys/compat/freebsd32/syscalls.master   Wed Jun 22 21:15:59 2016        
(r302094)
@@ -29,6 +29,7 @@
 ;      COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
 ;      COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat)
 ;      COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat)
+;      COMPAT10 included on COMPAT10 #ifdef (FreeBSD 10 compat)
 ;      OBSOL   obsolete, not included in system, only specifies name
 ;      UNIMPL  not implemented, placeholder only
 ;      NOSTD   implemented but as a lkm that can be statically
@@ -124,7 +125,7 @@
 40     AUE_LSTAT       COMPAT  { int freebsd32_lstat(char *path, \
                                    struct ostat *ub); }
 41     AUE_DUP         NOPROTO { int dup(u_int fd); }
-42     AUE_PIPE        NOPROTO { int pipe(void); }
+42     AUE_PIPE        COMPAT10        { int freebsd32_pipe(void); }
 43     AUE_GETEGID     NOPROTO { gid_t getegid(void); }
 44     AUE_PROFILE     NOPROTO { int profil(caddr_t samples, size_t size, \
                                    size_t offset, u_int scale); }

Modified: head/sys/kern/syscalls.master
==============================================================================
--- head/sys/kern/syscalls.master       Wed Jun 22 21:12:53 2016        
(r302093)
+++ head/sys/kern/syscalls.master       Wed Jun 22 21:15:59 2016        
(r302094)
@@ -28,6 +28,7 @@
 ;      COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
 ;      COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat)
 ;      COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat)
+;      COMPAT10 included on COMPAT7 #ifdef (FreeBSD 10 compat)
 ;      OBSOL   obsolete, not included in system, only specifies name
 ;      UNIMPL  not implemented, placeholder only
 ;      NOSTD   implemented but as a lkm that can be statically
@@ -123,7 +124,7 @@
 39     AUE_GETPPID     STD     { pid_t getppid(void); }
 40     AUE_LSTAT       COMPAT  { int lstat(char *path, struct ostat *ub); }
 41     AUE_DUP         STD     { int dup(u_int fd); }
-42     AUE_PIPE        STD     { int pipe(void); }
+42     AUE_PIPE        COMPAT10        { int pipe(void); }
 43     AUE_GETEGID     STD     { gid_t getegid(void); }
 44     AUE_PROFILE     STD     { int profil(caddr_t samples, size_t size, \
                                    size_t offset, u_int scale); }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to