diff --git a/repos/libports/src/lib/libc/sysctl.cc b/repos/libports/src/lib/libc/sysctl.cc
index 0b93408cf1..133a8e1572 100644
--- a/repos/libports/src/lib/libc/sysctl.cc
+++ b/repos/libports/src/lib/libc/sysctl.cc
@@ -90,6 +90,8 @@ extern "C" int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
if (namelen != 2) return Libc::Errno(ENOENT);
if (index_a >= CTL_MAXID) return Libc::Errno(EINVAL);
+ Genode::memset(buf, 0x00, *oldlenp);
+
switch(index_a) {
case CTL_KERN:
if (index_b >= KERN_MAXID) return Libc::Errno(EINVAL);
diff --git a/repos/ports/run/noux_uname.run b/repos/ports/run/noux_uname.run
index d8c130ebe3..404f44d28a 100644
--- a/repos/ports/run/noux_uname.run
+++ b/repos/ports/run/noux_uname.run
@@ -1,5 +1,11 @@
-build { core init drivers/timer noux/minimal
- lib/libc_noux noux-pkg/coreutils }
+build {
+ core init
+ app/sequence
+ drivers/timer
+ lib/libc_noux
+ noux/minimal
+ noux-pkg/coreutils
+}
create_boot_directory
@@ -18,47 +24,58 @@ install_config {
+
-
-
+
-
-
-
-
-
- Muck OS XIII
- localhost
-
-
- norisc
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ Muck OS XIII
+ localhost
+
+
+ norisc
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}
build_boot_image {
- core init timer ld.lib.so noux libc.lib.so libm.lib.so posix.lib.so
- libc_noux.lib.so coreutils.tar
+ core init ld.lib.so
+ coreutils.tar
+ libc_noux.lib.so
+ libm.lib.so
+ noux libc.lib.so
+ posix.lib.so
+ sequence
+ timer
}
append qemu_args " -nographic -serial mon:stdio "
# coreutils.tar is really huge when built for x86_64
-run_genode_until {child "noux" exited with exit value 0.*\n} 30
+run_genode_until {child "sequence" exited with exit value 0.*\n} 30