Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys expose copyout_sockname_sb



details:   https://anonhg.NetBSD.org/src/rev/e0d853bf8d3f
branches:  trunk
changeset: 821356:e0d853bf8d3f
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 02 15:37:42 2017 +0000

description:
expose copyout_sockname_sb

diffstat:

 sys/kern/uipc_syscalls.c |  6 ++----
 sys/sys/socketvar.h      |  4 +++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r dea6e0261fba -r e0d853bf8d3f sys/kern/uipc_syscalls.c
--- a/sys/kern/uipc_syscalls.c  Thu Feb 02 15:36:55 2017 +0000
+++ b/sys/kern/uipc_syscalls.c  Thu Feb 02 15:37:42 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_syscalls.c,v 1.184 2016/12/03 22:28:16 christos Exp $     */
+/*     $NetBSD: uipc_syscalls.c,v 1.185 2017/02/02 15:37:42 christos Exp $     */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls.c,v 1.184 2016/12/03 22:28:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls.c,v 1.185 2017/02/02 15:37:42 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pipe.h"
@@ -94,8 +94,6 @@
 extern const struct fileops socketops;
 
 static int     sockargs_sb(struct sockaddr_big *, const void *, socklen_t);
-static int     copyout_sockname_sb(struct sockaddr *, unsigned int *,
-                   int , struct sockaddr_big *);
 
 int
 sys___socket30(struct lwp *l, const struct sys___socket30_args *uap,
diff -r dea6e0261fba -r e0d853bf8d3f sys/sys/socketvar.h
--- a/sys/sys/socketvar.h       Thu Feb 02 15:36:55 2017 +0000
+++ b/sys/sys/socketvar.h       Thu Feb 02 15:37:42 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socketvar.h,v 1.141 2016/09/13 07:01:08 martin Exp $   */
+/*     $NetBSD: socketvar.h,v 1.142 2017/02/02 15:37:42 christos Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -346,6 +346,8 @@
 struct mbuf *sockopt_getmbuf(const struct sockopt *);
 
 int    copyout_sockname(struct sockaddr *, unsigned int *, int, struct mbuf *);
+int    copyout_sockname_sb(struct sockaddr *, unsigned int *,
+    int , struct sockaddr_big *);
 int    copyout_msg_control(struct lwp *, struct msghdr *, struct mbuf *);
 void   free_control_mbuf(struct lwp *, struct mbuf *, struct mbuf *);
 



Home | Main Index | Thread Index | Old Index