Re: [PATCH] security_ops locking

From: David Wheeler (dwheelerat_private)
Date: Thu Jul 25 2002 - 06:36:01 PDT

  • Next message: Jesse Pollard: "Re: [PATCH] security_ops locking"

    Chris Wright wrote:
    
    > * James Morris (jmorrisat_private) wrote:
    > 
    > 
    > Ok, this is the same thing I dug up.  Register size assignments are
    > guaranteed atomic.
    
    Well praise God for that; I originally wrote my code
    assuming that. Greg KH's comment that they _aren't_
    threw me for a loop (although it's very plausible -
    so many things ARE different between architectures).
    
    I'd like to document the assumption ("aligned pointer assignments
    are atomic") as a comment in the code, with an
    "authoritative as possible" source for this assertion.
    Can anyone tell me WHERE they got that information, preferably
    a very authoritative source?  Or at least, identify platforms
    where they can be SURE it's true?
    
    Conversely, can anyone (ESPECIALLY Greg KH!) tell me any
    architecture this assumption is NOT true on, or where I could go
    to find such?
    
    Googling last night didn't really get me anywhere.
    I could download every processor and bus spec, but that would
    be a multi-year research project :-(.
    
    
    --- David A. Wheeler
         dwheelerat_private
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Thu Jul 25 2002 - 06:43:54 PDT