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

feat: Manage executable path in darlingserver #1150

Merged
merged 3 commits into from
Apr 5, 2022

Conversation

trungnt2910
Copy link
Contributor

With darlingserver managing executable paths, _proc_pidinfo_pathinfo can get the path from darlingserver instead of procfs (which points to mldr instead of the real path).

Also, mldr now announces the executable path after loading and before starting the thread.

Copy link
Member

@facekapow facekapow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but also requires some changes discussed in the darlingserver PR.

src/startup/mldr/mldr.c Outdated Show resolved Hide resolved
src/kernel/emulation/linux/misc/proc_info.c Outdated Show resolved Hide resolved
@facekapow
Copy link
Member

Like I said in the darlingserver PR, there are things you wouldn't know to do because I simply haven't documented them (e.g. the meaning of negative error codes from RPC calls).

@trungnt2910
Copy link
Contributor Author

Fixed.

@trungnt2910 trungnt2910 requested a review from facekapow April 5, 2022 16:56
Copy link
Member

@facekapow facekapow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just need to update the darlingserver commit to point to the merge.

@facekapow facekapow merged commit 7da8f61 into darlinghq:darlingserver Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants