5939N/A# Add or change Solaris-specific file and directory names.
5939N/A# This change was implemented in-house and is not suitable for upstream use.
5939N/A#
5939N/A--- src/include/tcsd.h 2014-04-24 11:05:44.000000000 -0700
5939N/A+++ src/include/tcsd.h 2016-04-22 11:29:09.043084190 -0700
5939N/A@@ -50,15 +50,27 @@
5939N/A int disable_ipv6;
817N/A };
817N/A
817N/A+#ifdef SOLARIS
5939N/A+#define TCSD_DEFAULT_CONFIG_FILE "/etc/security/tcsd.conf"
817N/A+#else
5939N/A #define TCSD_DEFAULT_CONFIG_FILE ETC_PREFIX "/tcsd.conf"
817N/A+#endif
5939N/A extern char *tcsd_config_file;
817N/A
817N/A #define TSS_USER_NAME "tss"
817N/A #define TSS_GROUP_NAME "tss"
817N/A
817N/A #define TCSD_DEFAULT_MAX_THREADS 10
817N/A+#ifdef SOLARIS
817N/A+#define TCSD_DEFAULT_SYSTEM_PS_DIR "/var/tpm/system"
817N/A+#define TCSD_DEFAULT_SYSTEM_PS_FILE "/var/tpm/system/system.data"
820N/A+#define TCSD_DEFAULT_SOCKET "/var/tpm/tcsd-socket"
817N/A+#else
817N/A #define TCSD_DEFAULT_SYSTEM_PS_FILE VAR_PREFIX "/lib/tpm/system.data"
817N/A #define TCSD_DEFAULT_SYSTEM_PS_DIR VAR_PREFIX "/lib/tpm"
5939N/A+#define TCSD_DEFAULT_SOCKET VAR_PREFIX "/run/tpm/tpmd_socket:0"
5939N/A+
5939N/A+#endif /* SOLARIS */
817N/A #define TCSD_DEFAULT_FIRMWARE_LOG_FILE "/sys/kernel/security/tpm0/binary_bios_measurements"
817N/A #define TCSD_DEFAULT_KERNEL_LOG_FILE "/sys/kernel/security/ima/binary_runtime_measurements"
817N/A #define TCSD_DEFAULT_FIRMWARE_PCRS 0x00000000