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
  • kernel
  • bpf
  • syscall.c
Find file BlameHistoryPermalink
  • Jiri Olsa's avatar
    bpf: Add gpl_compatible flag to struct bpf_prog_info · b85fab0e
    Jiri Olsa authored Apr 25, 2018
    
    
    Adding gpl_compatible flag to struct bpf_prog_info
    so it can be dumped via bpf_prog_get_info_by_fd and
    displayed via bpftool progs dump.
    
    Alexei noticed 4-byte hole in struct bpf_prog_info,
    so we put the u32 flags field in there, and we can
    keep adding bit fields in there without breaking
    user space.
    
    Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    b85fab0e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7