This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A sample program of KCM. | |
* | |
* $ gcc -lbcc kcm-sample.c | |
* $ ./a.out 10000 | |
*/ | |
#include <err.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <linux/module.h> | |
#include <linux/zlib.h> | |
#include <net/tcp.h> | |
#include <net/inet_common.h> | |
MODULE_AUTHOR("peo3"); | |
MODULE_DESCRIPTION("compression ULP"); | |
MODULE_LICENSE("GPL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Setup a rootfs of Fedora 15 for libvirt lxc | |
# | |
# The rootfs is based on http://download.openvz.org/template/precreated/fedora-15-x86_64.tar.gz | |
# | |
# See also | |
# - http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01707/lxc-fedora.in | |
if [ $# != 1 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | |
$ cd linux/ | |
$ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: include/uapi/linux/netfilter/xt_CONNMARK.h | |
# modified: include/uapi/linux/netfilter/xt_DSCP.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 4.6.0 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_PERF_EVENTS_INTEL_UNCORE=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bootfs.manifest b/bootfs.manifest | |
index c04c161..b3e6479 100644 | |
--- a/bootfs.manifest | |
+++ b/bootfs.manifest | |
@@ -76,4 +76,5 @@ | |
/libzfs.so: libzfs.so | |
/zfs.so: zfs.so | |
/tools/mkfs.so: tools/mkfs/mkfs.so | |
+/hello.so: hello.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemd 208 released [LWN.net] http://lwn.net/Articles/569235/ | |
* This release removes high-level support for the | |
MemorySoftLimit= cgroup setting. The underlying kernel | |
cgroup attribute memory.soft_limit= is currently badly | |
designed and likely to be removed from the kernel API in its | |
current form, hence we shouldn't expose it for now. | |
* The memory.use_hierarchy cgroup attribute is now enabled for | |
all cgroups systemd creates in the memory cgroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# x86_64 | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 3.10.0-0.rc5.git0.1.nohzfull.fc20.x86_64 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" | |
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vmware-tools] | |
name=VMware Tools for Red Hat Enterprise Linux $releasever – $basearch | |
baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/$basearch | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- vboxsf/utils.c.orig 2013-03-19 01:32:18.189109241 +0900 | |
+++ vboxsf/utils.c 2013-03-19 01:38:19.403778661 +0900 | |
@@ -144,8 +144,13 @@ | |
#endif | |
} | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) && defined(CONFIG_UIDGID_CONVERTED) | |
+ inode->i_uid = make_kuid(&init_user_ns, sf_g->uid); | |
+ inode->i_gid = make_kgid(&init_user_ns, sf_g->gid); | |
+#else |
NewerOlder