Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2020 16:35:53 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362993 - head/sys/conf
Message-ID:  <202007071635.067GZrpa080473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Jul  7 16:35:52 2020
New Revision: 362993
URL: https://svnweb.freebsd.org/changeset/base/362993

Log:
  Rebuild sysent when capabilities.conf is updated.
  
  Reviewed by:	brooks
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D25571

Modified:
  head/sys/conf/sysent.mk

Modified: head/sys/conf/sysent.mk
==============================================================================
--- head/sys/conf/sysent.mk	Tue Jul  7 16:07:39 2020	(r362992)
+++ head/sys/conf/sysent.mk	Tue Jul  7 16:35:52 2020	(r362993)
@@ -22,6 +22,13 @@ SYSENT_CONF?=	syscalls.conf
 SRCS+=	${SYSENT_FILE}
 SRCS+=	${SYSENT_CONF}
 
+# Ensure that the target gets updated if the capabilities file is modified,
+# even though it is not an explicit input to makesyscalls.lua.  For some
+# targets, like Linux system calls, this is unnecessary, but a spurious rebuild
+# is both rare and harmless.
+CAPABILITIES_CONF?= ${SYSDIR}/kern/capabilities.conf
+SRCS+=	${CAPABILITIES_CONF}
+
 MAKESYSCALLS_INTERP?=	${LUA}
 MAKESYSCALLS_SCRIPT?=	${SYSDIR}/tools/makesyscalls.lua
 MAKESYSCALLS=	${MAKESYSCALLS_INTERP} ${MAKESYSCALLS_SCRIPT}



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