Re: [PATCH 1/3] integrity: TPM internel kernel interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rajiv Andrade
Date: Wednesday, October 22, 2008 - 5:47 am

On Tue, 2008-10-14 at 17:23 -0500, Serge E. Hallyn wrote:
No problem, I'll submit a patch containing a proper comment section to
be applied on top of these, maybe after they get accepted.


They aren't called through sysfs, but are still protected. These new
functions get chip data consistently by using rcu_read. Then, after
computing what's intended to be written back to the chip, tpm_transmit
sends the new data while using tpm_mutex, so both operations are
performed without the risk of a race condition.


-- 
Rajiv Andrade <srajiv@br.ibm.com>
Security Development
IBM Linux Technology Center

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] integrity , Mimi Zohar, (Mon Oct 13, 10:17 am)
[PATCH 1/3] integrity: TPM internel kernel interface, Mimi Zohar, (Mon Oct 13, 10:17 am)
[PATCH 2/3] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Mon Oct 13, 10:17 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Christoph Hellwig, (Tue Oct 14, 6:28 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), david safford, (Tue Oct 14, 8:27 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Tue Oct 14, 8:53 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), david safford, (Tue Oct 14, 10:06 am)
Re: [PATCH 1/3] integrity: TPM internel kernel interface, Serge E. Hallyn, (Tue Oct 14, 3:23 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Tue Oct 14, 4:27 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Mon Oct 20, 8:12 am)
Re: [PATCH 1/3] integrity: TPM internel kernel interface, Rajiv Andrade, (Wed Oct 22, 5:47 am)
Re: [PATCH 1/3] integrity: TPM internel kernel interface, Serge E. Hallyn, (Wed Oct 22, 7:49 am)
Re: [PATCH 1/3] integrity: TPM internel kernel interface, Rajiv Andrade, (Fri Oct 24, 1:16 pm)
Re: [PATCH 1/3] integrity: TPM internel kernel interface, Serge E. Hallyn, (Fri Oct 24, 1:31 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Fri Oct 31, 9:22 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Dave Hansen, (Fri Oct 31, 9:40 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Dave Hansen, (Fri Oct 31, 9:51 am)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Fri Oct 31, 12:35 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Fri Oct 31, 12:48 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Dave Hansen, (Fri Oct 31, 2:02 pm)
Re: [PATCH 2/3] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Sun Nov 2, 3:57 pm)