Skip to content

Conversation

@qianxichen233
Copy link
Contributor

This PR is splited from PR #164

This PR focuses on spliting out the fix for getpwuid functions

getpwuid in glibc is used for retrieveing some system information. This function does not work for some reason. Here is a temporary workaround to make some applications happy

Copy link
Contributor

@rennergade rennergade left a comment

Choose a reason for hiding this comment

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

I think this probably is due to not having the correct conf files in the file system?

I think I saw something like this with lind-nacl that was resolved by having the /etc/passwd file

I think its also worth looking into solving this the correct way before merging this, we can have someone else look at that in a week or so.

@JustinCappos
Copy link
Member

In theory we could have a generic grate that handles all of this config stuff and the simple syscalls like getpid, etc. It could also handle any directory / chroot functionality that we really shouldn't be doing in RawPOSIX.

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.

4 participants