diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:05:27 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:05:27 +0000 |
commit | 7612f38ced29eb14aa8c63480da1733c56d714aa (patch) | |
tree | a5c28dd8af068213f99b7b54305fd93dac4eb106 /security/trousers/files/patch-src-tcs-tcs_auth_mgr.c | |
parent | - Update to 0.87. (diff) |
Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack. It is mostly compliant with the TSS 1.2
specification.
Obtained from: http://bsssd.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=264182
Diffstat (limited to 'security/trousers/files/patch-src-tcs-tcs_auth_mgr.c')
-rw-r--r-- | security/trousers/files/patch-src-tcs-tcs_auth_mgr.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src-tcs-tcs_auth_mgr.c b/security/trousers/files/patch-src-tcs-tcs_auth_mgr.c new file mode 100644 index 000000000000..558f26ce5eaf --- /dev/null +++ b/security/trousers/files/patch-src-tcs-tcs_auth_mgr.c @@ -0,0 +1,29 @@ +--- src/tcs/tcs_auth_mgr.c.orig 2010-06-10 05:21:32.000000000 +0900 ++++ src/tcs/tcs_auth_mgr.c 2010-10-24 21:04:04.836560084 +0900 +@@ -108,7 +108,7 @@ + auth_mgr_swap_in() + { + if (auth_mgr.overflow[auth_mgr.of_tail] != NULL) { +- LogDebug("waking up thread %lddd, auth slot has opened", THREAD_ID); ++ LogDebug("waking up thread %ld, auth slot has opened", THREAD_ID); + /* wake up the next sleeping thread in order and increment tail */ + COND_SIGNAL(auth_mgr.overflow[auth_mgr.of_tail]); + auth_mgr.overflow[auth_mgr.of_tail] = NULL; +@@ -149,7 +149,7 @@ + auth_mgr.overflow[auth_mgr.of_head] = cond; + auth_mgr.of_head = (auth_mgr.of_head + 1) % auth_mgr.overflow_size; + /* go to sleep */ +- LogDebug("thread %lddd going to sleep until auth slot opens", THREAD_ID); ++ LogDebug("thread %ld going to sleep until auth slot opens", THREAD_ID); + auth_mgr.sleeping_threads++; + COND_WAIT(cond, &tcsp_lock); + auth_mgr.sleeping_threads--; +@@ -180,7 +180,7 @@ + auth_mgr.of_tail = 0; + auth_mgr.overflow[auth_mgr.of_head] = cond; + auth_mgr.of_head = (auth_mgr.of_head + 1) % auth_mgr.overflow_size; +- LogDebug("thread %lddd going to sleep until auth slot opens", THREAD_ID); ++ LogDebug("thread %ld going to sleep until auth slot opens", THREAD_ID); + auth_mgr.sleeping_threads++; + COND_WAIT(cond, &tcsp_lock); + auth_mgr.sleeping_threads--; |