svn commit: r300412 - head/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun May 22 12:28:56 UTC 2016


Author: dchagin
Date: Sun May 22 12:28:55 2016
New Revision: 300412
URL: https://svnweb.freebsd.org/changeset/base/300412

Log:
  Add my copyright as I rewrote most of the futex code. Minor style(9) cleanup
  while here.
  
  MFC after:	1 week

Modified:
  head/sys/compat/linux/linux_futex.c

Modified: head/sys/compat/linux/linux_futex.c
==============================================================================
--- head/sys/compat/linux/linux_futex.c	Sun May 22 12:26:03 2016	(r300411)
+++ head/sys/compat/linux/linux_futex.c	Sun May 22 12:28:55 2016	(r300412)
@@ -1,7 +1,9 @@
 /*	$NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $ */
 
 /*-
- * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
+ * Copyright (c) 2009-2016 Dmitry Chagin
+ * Copyright (c) 2005 Emmanuel Dreyfus
+ * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -604,7 +606,7 @@ futex_atomic_op(struct thread *td, int e
 
 	LIN_SDT_PROBE4(futex, futex_atomic_op, decoded_op, op, cmp, oparg,
 	    cmparg);
-	
+
 	/* XXX: Linux verifies access here and returns EFAULT */
 	LIN_SDT_PROBE0(futex, futex_atomic_op, missing_access_check);
 
@@ -996,7 +998,6 @@ linux_sys_futex(struct thread *td, struc
 		return (ENOSYS);
 
 	case LINUX_FUTEX_REQUEUE:
-
 		/*
 		 * Glibc does not use this operation since version 2.3.3,
 		 * as it is racy and replaced by FUTEX_CMP_REQUEUE operation.


More information about the svn-src-all mailing list