Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P pkg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • HardenedBSD
  • pkg
  • Issues
  • #1

Closed
Open
Created Jun 27, 2020 by Shawn Webb@shawn.webbOwner

Integrate filesystem extended attribute support

Since HardenedBSD uses filesystem extended attributes to toggle exploit mitigations on a per-application basis, teach pkg how to work with filesystem extended attributes.

Multiple solutions can solve this problem. The tar file format, which pkg uses, supports filesystem extended attributes. If libarchive has that same support, pkg could probably tell libarchive to include filesystem extended attributes in the build artifact (.txz).

Another method would be to include metadata in the package's +MANIFEST file that would instruct pkg to set filesystem extended attributes post-extraction.

Ideally, I would prefer the first solution (libarchive integration) as that seems the most straight-forward. The second option is acceptable iff the first solution doesn't pan out.

Assignee
Assign to
Time tracking