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

Add support to get process name on FreeBSD #9980

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

bapt
Copy link
Contributor

@bapt bapt commented Nov 2, 2023

On FreeBSD there is no such thing as /proc/* so right now when a process request a the dialog UI show a cryptic /proc/pid/exe, with the change is shows the proper path of the process.

Testing strategy

I tested with nheko and nextcloud desktop client, when they start, they both request a password to the fdosecret store, which makes keepassxc popup a dialog saying /proc//exe is requesting a password, after the change it is replace with the proper path.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@HexF
Copy link
Contributor

HexF commented Nov 4, 2023

Would it possibly be worth pulling this into NixUtils?

@droidmonkey
Copy link
Member

I was thinking that same thing, but fdo secrets is already a 'nix only service. The only benefit would be repeatability, but we don't need other process names anywhere else atm.

@bapt
Copy link
Contributor Author

bapt commented Dec 21, 2023

Anything I can do so that someone have a look ?

@droidmonkey
Copy link
Member

You need to run clang-format on the file you changed then recommit

@bapt
Copy link
Contributor Author

bapt commented Dec 21, 2023

Done, sorry I should have done the clang-format before submitting in the first place

@droidmonkey droidmonkey merged commit af4bc3e into keepassxreboot:develop Dec 21, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants