Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7623

Clean up lustre user/kernel pointer types.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.8.0, Lustre 2.9.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Currently there's a significant mess in Lustre code in regards to kernel/user pointers.
      Structures are not separated and could be used from both which is bad for multiple reasons.
      This also makes it hard for various static tools to properly enforce access rules.

      Things like IOC_LIBCFS_DEBUG_PEER "ioctl" should be cleaned out and the __user modifiers added all around in the structures to make everything work nice and well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                green Oleg Drokin
                Reporter:
                green Oleg Drokin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: