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

Clean up lustre user/kernel pointer types.

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

            [LU-7623] Clean up lustre user/kernel pointer types.
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-558 [ LDEV-558 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.9.0 [ 11891 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.8.0 [ 11113 ]
            simmonsja James A Simmons made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Oleg Drokin [ green ]
            simmonsja James A Simmons made changes -
            Link New: This issue is related to LU-6215 [ LU-6215 ]
            green Oleg Drokin made changes -
            Link New: This issue is related to LU-7624 [ LU-7624 ]
            green Oleg Drokin created issue -

            People

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

              Dates

                Created:
                Updated:
                Resolved: