Skip to content

Capabilities functions names are super inconsistent #493

Description

@SUPERCILEX

I know deprecating stuff just for renames sucks, but the current names are way too inconsistent IMO. I'd propose the following renames (with unchanged APIs included for comparison):

  • get_keep_capabilities
  • set_keep_capabilities
  • capabilities_secure_bits -> get_capabilities_secure_bits
  • set_capabilities_secure_bits
  • capability_is_in_ambient_capability_set -> is_in_ambient_capability_set
  • configure_capability_in_ambient_capability_set -> configure_ambient_capability_set
  • remove_capability_from_capability_bounding_set -> remove_from_capability_bounding_set
  • is_in_capability_bounding_set
  • clear_ambient_capability_set

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions