Skip to content

Rework elf_aux_info for c18n #2609

@bsdjhb

Description

@bsdjhb

Not all auxv entries are privileged (e.g. it probably is fine to permit reading scalar values like AT_HWCAP), so it might be nice to have separate functions for scalar vs pointer values (e.g. Linux-style getauxval() for scalars, and a getauxptr() for pointers). For the FreeBSD API, perhaps elf_aux_info(3) could only return scalar values, and a new elf_aux_info_tcb(3) or the like could return privileged values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Independent

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions