[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trousers-tech
Subject:    [TrouSerS-tech] tcsd.h patch
From:       Wyllys Ingersoll <wyllys.ingersoll () sun ! com>
Date:       2008-12-09 14:15:57
Message-ID: 493E7D9D.4020901 () sun ! com
[Download RAW message or body]


Changes:
* Move default location of tcsd.conf file and system.data files on Solaris

*** src/include/tcsd.h.old      Fri Dec  5 07:47:11 2008
--- src/include/tcsd.h  Fri Dec  5 07:48:44 2008
***************
*** 48,61 ****
--- 48,70 ----
                                                        of this TCS 
System */
  };

+ #ifdef __sun__
+ #define TCSD_CONFIG_FILE      "/etc/security/tcsd.conf"
+ #else
  #define TCSD_CONFIG_FILE      ETC_PREFIX "/tcsd.conf"
+ #endif

  #define TSS_USER_NAME         "tss"
  #define TSS_GROUP_NAME                "tss"

  #define TCSD_DEFAULT_MAX_THREADS      10
+ #ifdef __sun__
+ #define TCSD_DEFAULT_SYSTEM_PS_FILE   "/var/tpm/system/system.data"
+ #define TCSD_DEFAULT_SYSTEM_PS_DIR    "/var/tpm/system"
+ #else
  #define TCSD_DEFAULT_SYSTEM_PS_FILE   VAR_PREFIX "/lib/tpm/system.data"
  #define TCSD_DEFAULT_SYSTEM_PS_DIR    VAR_PREFIX "/lib/tpm"
+ #endif /* __sun__ */
  #define TCSD_DEFAULT_FIRMWARE_LOG_FILE        
"/sys/kernel/security/tpm0/binary_bios_measurements"
  #define TCSD_DEFAULT_KERNEL_LOG_FILE  
"/sys/kernel/security/ima/binary_runtime_measurements"
  #define TCSD_DEFAULT_FIRMWARE_PCRS    0x00000000


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
TrouSerS-tech mailing list
TrouSerS-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/trousers-tech
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic