Danny wrote. --- orig/jdk-3cc80be736f2/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java 1970-01-01 01:00:01.000000000 +0100 +++ jdk-3cc80be736f2/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java 2022-04-13 17:30:37.242775977 +0200 @@ -43,6 +43,7 @@ import java.util.Objects; import java.util.Optional; import java.util.Set; +import java.util.TreeSet; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -2155,9 +2156,9 @@ * @return The module descriptor */ public ModuleDescriptor build() { - Set requires = new HashSet<>(this.requires.values()); - Set exports = new HashSet<>(this.exports.values()); - Set opens = new HashSet<>(this.opens.values()); + Set requires = new TreeSet<>(this.requires.values()); + Set exports = new TreeSet<>(this.exports.values()); + Set opens = new TreeSet<>(this.opens.values()); // add dependency on java.base if (strict @@ -2169,7 +2170,7 @@ null)); } - Set provides = new HashSet<>(this.provides.values()); + Set provides = new TreeSet<>(this.provides.values()); return new ModuleDescriptor(name, version, vices/authentication.scm?id=8f22b547ef7bf0a0c3ca5712589c8c02731431ca'>diff
AgeCommit message (Expand)Author
2021-03-10services: Prevent following symlinks during activation....This addresses a potential security issue, where a compromised service could trick the activation code in changing the permissions, owner and group of arbitrary files. However, this patch is currently only a partial fix, due to a TOCTTOU (time-of-check to time-of-use) race, which can be fixed once guile has bindings to openat and friends. Fixes: <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00388.html> * gnu/build/activation.scm: new procedure 'mkdir-p/perms'. * gnu/services/authentication.scm (%nslcd-activation, nslcd-service-type): use new procedure. * gnu/services/cups.scm (%cups-activation): likewise. * gnu/services/dbus.scm (dbus-activation): likewise. * gnu/services/dns.scm (knot-activation): likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos
2019-04-24services: fprintd: Provide polkit policy....* gnu/services/authentication.scm (fprintd-service-type)[extensions]: Add polkit-service-type. Danny Milosavljevic
2019-04-21services: fprintd: Use define-configuration....* gnu/services/authentication.scm: Use define-configuration in fprintd. Danny Milosavljevic
2019-04-17services: fprintd: Fix service....* gnu/services/authentication.scm (<fprintd-configuration>)[ntp]: Rename to... [fprintd]: ...this. (fprintd-dbus-service): New procedure. (fprintd-service-type): Use it. [default-value]: Add value. Danny Milosavljevic