Integrated: 8274721: UnixSystem fails to provide uid, gid or groups if no username is available

Weijun Wang weijun at openjdk.java.net
Mon Oct 18 13:28:58 UTC 2021


On Mon, 4 Oct 2021 17:40:22 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Two changes:
> 
> 1. Calculation of groups is put in a separate block.
> 2. Add fallback for uid and gid
> 
> No regression test. Hard to reproduce bud reporter's environment in jtreg.

This pull request has now been integrated.

Changeset: a619f890
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a619f8909bb074712db22746e785f7485795a8f5
Stats:     47 lines in 1 file changed: 15 ins; 6 del; 26 mod

8274721: UnixSystem fails to provide uid, gid or groups if no username is available

Reviewed-by: mullan

-------------

PR: https://git.openjdk.java.net/jdk/pull/5808



More information about the security-dev mailing list