Skip to content

Instantly share code, notes, and snippets.

zakzak1:~/work/runu/rootfs% docker run --rm -i --runtime=runu thehajime/runu-test:latest hello full.iso
Running as root user, must set -u
Can change uid to root, aborting
[ 0.000000] Linux version 4.16.0+ (tazaki@zakzak1.iijlab.net) (gcc version 8.1.1 20180712 (Red Hat 8.1.1-5) (GCC)) #2 Tue Jul 31 13:42:40 JST 2018
[ 0.000000] bootmem address range: 0x7f07a7624000 - 0x7f07ada23000
[ 0.000000] random: fast init done
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 25249
[ 0.000000] Kernel command line: mem=100M virtio-pci.force_legacy=1 virtio_mmio.device=292@0x1000000:1
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
{
"ociVersion": "1.0.0",
"process": {
"terminal": true,
"user": {
"uid": 500,
"gid": 500
},
"args": [
"hello",
zakzak1:~/work/lkl-js/tools/lkl% ./tests/boot
1..35 # boot
* 1 mutex
ok 1 mutex
---
time_us: 2
log: |
...
* 2 semaphore
ok 2 semaphore
diff --git a/arch/lkl/defconfig b/arch/lkl/defconfig
index f91380beee7c..060016840df4 100644
--- a/arch/lkl/defconfig
+++ b/arch/lkl/defconfig
@@ -31,8 +31,8 @@ CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_XFS_FS=y
CONFIG_XFS_POSIX_ACL=y
-CONFIG_BTRFS_FS=y
-CONFIG_BTRFS_FS_POSIX_ACL=y
diff --git a/tools/lkl/Makefile.autoconf b/tools/lkl/Makefile.autoconf
index eeab41f74a86..ff4b0ad79e37 100644
--- a/tools/lkl/Makefile.autoconf
+++ b/tools/lkl/Makefile.autoconf
@@ -9,7 +9,7 @@ define set_autoconf_var
endef
define find_include
- $(eval include_paths=$(shell $(CC) -E -Wp,-v -xc /dev/null 2>&1 | grep '^ '))
+ $(eval include_paths=$(shell touch /tmp/a.c ; $(CC) -E -Wp,-v /tmp/a.c 2>&1 | grep '^ '))
diff --git a/linux b/linux
--- a/linux
+++ b/linux
@@ -1 +1 @@
-Subproject commit e55b06950b3664625d1839d2f65fde2f5ae629ce
+Subproject commit e55b06950b3664625d1839d2f65fde2f5ae629ce-dirty
diff --git a/platform/qemu-arm/platform.sh b/platform/qemu-arm/platform.sh
index 206d518..48663b2 100644
--- a/platform/qemu-arm/platform.sh
+++ b/platform/qemu-arm/platform.sh
diff --git a/Documentation/lkl.txt b/Documentation/lkl.txt
index 221ea8905f02..ca199e5e6e63 100644
--- a/Documentation/lkl.txt
+++ b/Documentation/lkl.txt
@@ -134,16 +134,46 @@ LKL hijack library
LKL hijack library (liblkl-hijack.so) is used to replace system calls used by an
application on the fly so that the application can use LKL instead of the kernel
-of host operating system. LD_PRELOAD is used to dynamically override system calls
-with this library when you execute a program.
#!/usr/bin/ruby -Ke
# Script to Remove comments and tags from TeX file
SimpleTextOption = '-s'
NewParagraph = '<NEW_PARAGRAPH>'
Environment = '<Environment>'
Usage = 'tex2text.rb [-s] [TeX FileName]'
Verb = '\verb'
Footnote = '\footnote'
#!/bin/sh
##
## This is a file for matrix build configuration on Circle CI.
## Since circle.yml is hard to write down multi-line case statement,
## we use this external file for this
##
case $CIRCLE_NODE_INDEX in
0)
@thehajime
thehajime / -
Created February 2, 2017 07:32
commit 9d5a73f5a5bdfe06f9b9fff14aa1cecaa476c5a4
Author: Hajime Tazaki <thehajime@gmail.com>
Date: Thu Feb 2 16:32:10 2017 +0900
linux: make tuntap offload configuarable by LKL_OFFLOAD
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
diff --git a/tools/linux.c b/tools/linux.c
index 7fa1d6731f8c..fac151b22303 100644