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

Clean up lustre user/kernel pointer types.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0, Lustre 2.9.0
    • None
    • None
    • 3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: