8007 want sys/stddef.h for offsetof and container_of macros (fix container_of visibility)

Review Request #443 — Created April 24, 2017 and submitted

tsoome
illumos-gate
43aa2b6...
general

8007 want sys/stddef.h for offsetof and container_of macros (fix container_of visibility)



  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
tsoome
jclulow
  1. 
      
  2. usr/src/uts/common/sys/stddef.h (Diff revision 2)
     
     

    I would rephrase this slightly:

    /*
     * We must not expose container_of() to userland, but we
     * want it to be available for early boot and for the kernel.
     */
    
  3. 
      
tsoome
jclulow
  1. Ship It!
  2. 
      
marcel
  1. I probably miss something, but bug #8007 is already closed and the fix is pushed to the gate (with different subject).

    1. yes, I havent yet set it up properly, was trying to get an grip how to deal with fallout first. in short - the problem is that with moving container_of out of sysmacros.h I did expose it to the userland, and C++ does not like it for sure, and probably some more. Will fix soon:)

  2. 
      
tsoome
xenol
  1. Ship It!
  2. 
      
igork
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...