svn commit: r330691 - stable/11/sys/sys

Konstantin Belousov kib at FreeBSD.org
Fri Mar 9 14:34:43 UTC 2018


Author: kib
Date: Fri Mar  9 14:34:42 2018
New Revision: 330691
URL: https://svnweb.freebsd.org/changeset/base/330691

Log:
  MFC r330285:
  Remove _Nonnull attributes from user addresses arguments for
  copyout(9) family.

Modified:
  stable/11/sys/sys/systm.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/sys/systm.h
==============================================================================
--- stable/11/sys/sys/systm.h	Fri Mar  9 14:16:33 2018	(r330690)
+++ stable/11/sys/sys/systm.h	Fri Mar  9 14:34:42 2018	(r330691)
@@ -269,14 +269,14 @@ int	copystr(const void * _Nonnull __restrict kfaddr,
 int	copyinstr(const void * __restrict udaddr,
 	    void * _Nonnull __restrict kaddr, size_t len,
 	    size_t * __restrict lencopied);
-int	copyin(const void * _Nonnull __restrict udaddr,
+int	copyin(const void * __restrict udaddr,
 	    void * _Nonnull __restrict kaddr, size_t len);
-int	copyin_nofault(const void * _Nonnull __restrict udaddr,
+int	copyin_nofault(const void * __restrict udaddr,
 	    void * _Nonnull __restrict kaddr, size_t len);
 int	copyout(const void * _Nonnull __restrict kaddr,
-	    void * _Nonnull __restrict udaddr, size_t len);
+	    void * __restrict udaddr, size_t len);
 int	copyout_nofault(const void * _Nonnull __restrict kaddr,
-	    void * _Nonnull __restrict udaddr, size_t len);
+	    void * __restrict udaddr, size_t len);
 
 int	fubyte(volatile const void *base);
 long	fuword(volatile const void *base);


More information about the svn-src-stable mailing list