Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show capabilities of auxargs #1

Open
InterestedInTechAndCake opened this issue Oct 4, 2023 · 1 comment
Open

Show capabilities of auxargs #1

InterestedInTechAndCake opened this issue Oct 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@InterestedInTechAndCake
Copy link
Collaborator

InterestedInTechAndCake commented Oct 4, 2023

From @brooksdavis :
It occurs to me that we could get more information about argument, etc capabilities by reading ps_strings or elf auxargs in chericat. I started to suggest reading ps_strings via kern.proc.KERN_PROC_PS_STRINGS.<pid>, but it is probably better to use kern.proc.KERN_PROC_AUXV.<pid> and chase pointers from there since that’s how _start() does it.

@InterestedInTechAndCake InterestedInTechAndCake added the enhancement New feature or request label Oct 4, 2023
@brooksdavis
Copy link
Member

CTSRD-CHERI/cheribsd#1890 adds support for printing capabilities in auxv and might be inspirational.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants