Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2016 16:07:33 +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: r305980 - head/usr.sbin/uefisign
Message-ID:  <201609191607.u8JG7X6N033143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Sep 19 16:07:32 2016
New Revision: 305980
URL: https://svnweb.freebsd.org/changeset/base/305980

Log:
  uefisign: Remove backwards-compatibility sys/capability.h support
  
  uefisign previously included sys/capability.h or sys/capsicum.h based
  on __FreeBSD_version in order to facilitate development on the stable
  branch. The Capsicum header is now installed as sys/capsicum.h in
  stable/10 and FreeBSD 10.3, so there's no need for the backwards
  compatibility support.
  
  Reviewed by:	trasz
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.sbin/uefisign/child.c

Modified: head/usr.sbin/uefisign/child.c
==============================================================================
--- head/usr.sbin/uefisign/child.c	Mon Sep 19 16:05:10 2016	(r305979)
+++ head/usr.sbin/uefisign/child.c	Mon Sep 19 16:07:32 2016	(r305980)
@@ -32,11 +32,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
-#if __FreeBSD_version >= 1100000
 #include <sys/capsicum.h>
-#else
-#include <sys/capability.h>
-#endif
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <assert.h>



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