[compiler-rt] r205290 - Fix definition of the __sanitizer_passwd structure on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Tue Apr 1 03:29:43 PDT 2014
Author: vkutuzov
Date: Tue Apr 1 05:29:42 2014
New Revision: 205290
URL: http://llvm.org/viewvc/llvm-project?rev=205290&view=rev
Log:
Fix definition of the __sanitizer_passwd structure on FreeBSD
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=205290&r1=205289&r2=205290&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Tue Apr 1 05:29:42 2014
@@ -279,7 +279,7 @@ namespace __sanitizer {
char *pw_passwd;
int pw_uid;
int pw_gid;
-#if SANITIZER_MAC
+#if SANITIZER_MAC || SANITIZER_FREEBSD
long pw_change;
char *pw_class;
#endif
@@ -288,9 +288,12 @@ namespace __sanitizer {
#endif
char *pw_dir;
char *pw_shell;
-#if SANITIZER_MAC
+#if SANITIZER_MAC || SANITIZER_FREEBSD
long pw_expire;
#endif
+#if SANITIZER_FREEBSD
+ int pw_fields;
+#endif
};
struct __sanitizer_group {
More information about the llvm-commits
mailing list