Module Name:    src
Committed By:   christos
Date:           Sun Jan 29 00:16:19 UTC 2017

Modified Files:
        src/common/include/prop: prop_array.h prop_dictionary.h

Log Message:
add sized versions of the copyin ioctls.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/common/include/prop/prop_array.h
cvs rdiff -u -r1.15 -r1.16 src/common/include/prop/prop_dictionary.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/include/prop/prop_array.h
diff -u src/common/include/prop/prop_array.h:1.14 src/common/include/prop/prop_array.h:1.15
--- src/common/include/prop/prop_array.h:1.14	Tue May 31 05:29:25 2016
+++ src/common/include/prop/prop_array.h	Sat Jan 28 19:16:19 2017
@@ -1,4 +1,4 @@
-/*     $NetBSD: prop_array.h,v 1.14 2016/05/31 09:29:25 pgoyette Exp $    */
+/*     $NetBSD: prop_array.h,v 1.15 2017/01/29 00:16:19 christos Exp $    */
 
 /*-
  * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
@@ -79,9 +79,13 @@ int		prop_array_recv_syscall(const struc
 					prop_array_t *);
 #elif defined(_KERNEL)
 int		prop_array_copyin(const struct plistref *, prop_array_t *);
+int		prop_array_copyin_size(const struct plistref *, prop_array_t *);
 int		prop_array_copyout(struct plistref *, prop_array_t);
 int		prop_array_copyin_ioctl(const struct plistref *, const u_long,
 					prop_array_t *);
+int		prop_array_copyin_ioctl_size(const struct plistref *,
+					     const u_long, prop_array_t *,
+					     size_t);
 int		prop_array_copyout_ioctl(struct plistref *, const u_long,
 					 prop_array_t);
 #endif

Index: src/common/include/prop/prop_dictionary.h
diff -u src/common/include/prop/prop_dictionary.h:1.15 src/common/include/prop/prop_dictionary.h:1.16
--- src/common/include/prop/prop_dictionary.h:1.15	Fri Jan 22 18:03:46 2016
+++ src/common/include/prop/prop_dictionary.h	Sat Jan 28 19:16:19 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: prop_dictionary.h,v 1.15 2016/01/22 23:03:46 dholland Exp $	*/
+/*	$NetBSD: prop_dictionary.h,v 1.16 2017/01/29 00:16:19 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
@@ -103,11 +103,16 @@ int		prop_dictionary_recv_syscall(const 
 #elif defined(_KERNEL)
 int		prop_dictionary_copyin(const struct plistref *,
 				       prop_dictionary_t *);
+int		prop_dictionary_copyin_size(const struct plistref *,
+					    prop_dictionary_t *, size_t);
 int		prop_dictionary_copyout(struct plistref *,
 				       prop_dictionary_t);
 int		prop_dictionary_copyin_ioctl(const struct plistref *,
 					     const u_long,
 					     prop_dictionary_t *);
+int		prop_dictionary_copyin_ioctl_size(const struct plistref *,
+						  const u_long,
+						  prop_dictionary_t *, size_t);
 int		prop_dictionary_copyout_ioctl(struct plistref *,
 					      const u_long,
 					      prop_dictionary_t);

Reply via email to