Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 11:37:02 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333876 - head/sys/kern
Message-ID:  <201805191137.w4JBb2hP054832@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sat May 19 11:37:02 2018
New Revision: 333876
URL: https://svnweb.freebsd.org/changeset/base/333876

Log:
  Remove duplicate cap_no_rights from r333874
  
  Archs using in-tree gcc were broken with `warning: redundant
  redeclaration of 'cap_no_rights' [-Wredundant-decls]`.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/kern/subr_capability.c

Modified: head/sys/kern/subr_capability.c
==============================================================================
--- head/sys/kern/subr_capability.c	Sat May 19 10:49:51 2018	(r333875)
+++ head/sys/kern/subr_capability.c	Sat May 19 11:37:02 2018	(r333876)
@@ -70,7 +70,6 @@ __read_mostly cap_rights_t cap_getsockname_rights;
 __read_mostly cap_rights_t cap_ioctl_rights;
 __read_mostly cap_rights_t cap_listen_rights;
 __read_mostly cap_rights_t cap_mmap_rights;
-__read_mostly cap_rights_t cap_no_rights;
 __read_mostly cap_rights_t cap_fsync_rights;
 __read_mostly cap_rights_t cap_pdgetpid_rights;
 __read_mostly cap_rights_t cap_pdkill_rights;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805191137.w4JBb2hP054832>