]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
include: Ensure security/audit/audit.h gets staged properly.
authorStephen J. Kiernan <stevek@FreeBSD.org>
Thu, 4 Apr 2024 00:22:29 +0000 (20:22 -0400)
committerStephen J. Kiernan <stevek@FreeBSD.org>
Thu, 4 Apr 2024 00:26:33 +0000 (20:26 -0400)
commit41956c13f95004882e2080862e3158e820c8db33
treee9b67835bf041c090bd60ece9d657b07196e0f73
parent112783ebbc313f0df73bbec8520a94aba4a4f33d
include: Ensure security/audit/audit.h gets staged properly.

There is a conflict between bsm/audit.h and security/audit/audit.h due
to the way that staging is being set up using .PATH to point to the
full directory and the leaf files being specified in the list. Due to
this, the bsm/audit.h was getting staged as both bsm/audit.h and
security/audit/audit.h since the sys/bsm directory is listed first in
the .PATH list.

Use sys/security in the .PATH instead of sys/security/audit and specify
the audit header files as audit/<name>.h. This ensures that we get the
correct audit.h stanged for security/audit/audit.h.

Reviewed by: sjg
Obtained from: Juniper Networks, Inc.
include/Makefile