lock file question

Olof Johansson olof at austin.ibm.com
Tue Nov 4 12:11:33 EST 2003


linas at austin.ibm.com wrote:

> Its not clear to me if security is a concern here.  A cracker could write
> code that does this access and ignores the contents of /var/lock...
> (or, more easily, starts client A, mv /var/lock/LCK..librtas /var/lock/bogus,
> and then starts client b...)

Anyone who has access to /dev/mem can do much worse damage than that which ever way you look at it.

John's solution seems to help serialize access to parts of the RTAS buffers between the legitimate
and well-behaved users of it. Right?


-Olof

--
Olof Johansson                                        Office: 4E002/905
pSeries Linux Development                             IBM Systems Group
Email: olof at austin.ibm.com                          Phone: 512-838-9858
All opinions are my own and not those of IBM


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list