Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Feb 10, 2026

Rather than doing this in MINIT.

This remove access to the globals that could very much change during the execution of the script and prior to opening the session handler.

…n MINIT

This remove access to the globals that could very much change during the execution of the script and prior to opening the session handler
@ndossche
Copy link
Member

Will this not cause race conditions in zts?

@Girgias
Copy link
Member Author

Girgias commented Feb 10, 2026

Will this not cause race conditions in zts?

The MM module does not support ZTS and has a preprocessor error defined:

#ifdef ZTS
# error mm is not thread-safe
#endif

@devnexen
Copy link
Member

that s one of the reason I wanted to move away from libmm ... this and how very obsolete it is.

@devnexen
Copy link
Member

do you plan any more change @Girgias ?

}

char euid[30];
size_t euid_len = slprintf(euid, sizeof(euid), "%d", geteuid());
Copy link
Member

Choose a reason for hiding this comment

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

one little nit not related to your change, uid_t is unsigned int on linux.

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