xref: /kernel/linux/common_modules/container_escape_detection/Makefile (revision 419b0af8)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/common_modules/container_escape_detection/
1419b0af8Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
2419b0af8Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
3419b0af8Sopenharmony_ci#
4419b0af8Sopenharmony_ciobj-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) += core/ced_detection.o
5419b0af8Sopenharmony_ciobj-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) += core/ced_permission.o
6419b0af8Sopenharmony_ciobj-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) += core/ced_module.o
7419b0af8Sopenharmony_ci
8419b0af8Sopenharmony_ciccflags-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) := \
9419b0af8Sopenharmony_ci	-I$(srctree)/security/container_escape_detection/include \
10419b0af8Sopenharmony_ci	-I$(srctree)/security/selinux/include
11419b0af8Sopenharmony_ci
12419b0af8Sopenharmony_ci$(addprefix $(obj)/,$(obj-y)): $(obj)/flask.h
13419b0af8Sopenharmony_ci
14419b0af8Sopenharmony_ciquiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
15419b0af8Sopenharmony_ci      cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
16419b0af8Sopenharmony_ci
17419b0af8Sopenharmony_citargets += flask.h av_permissions.h
18419b0af8Sopenharmony_ci$(obj)/flask.h: $(srctree)/security/selinux/include/classmap.h FORCE
19419b0af8Sopenharmony_ci	$(call if_changed,flask)
20

Indexes created Thu Nov 07 10:32:03 CST 2024