Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • rust
  • kernel
  • lib.rs
Find file BlameHistoryPermalink
  • Asahi Lina's avatar
    rust: uapi: Add UAPI crate · 4e174665
    Asahi Lina authored Apr 03, 2023
    
    
    This crate mirrors the `bindings` crate, but will contain only UAPI
    bindings. Unlike the bindings crate, drivers may directly use this crate
    if they have to interface with userspace.
    
    Initially, just bind the generic ioctl stuff.
    
    In the future, we would also like to add additional checks to ensure
    that all types exposed by this crate satisfy UAPI-safety guarantees
    (that is, they are safely castable to/from a "bag of bits").
    
    [ Miguel: added support for the `rustdoc` and `rusttest` targets,
      since otherwise they fail, and we want to keep them working. ]
    
    Reviewed-by: default avatarMartin Rodriguez Reboredo <yakoyoku@gmail.com>
    Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>
    Link: https://lore.kernel.org/r/20230329-rust-uapi-v2-1-bca5fb4d4a12@asahilina.net
    
    
    Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    4e174665
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7