lxc: internal change

Signed-off-by: LiFeng <lifeng68@huawei.com>
This commit is contained in:
LiFeng 2020-03-01 22:54:01 -05:00
parent 0935590377
commit 1e407c11a9
141 changed files with 394 additions and 279 deletions

View File

@ -1,7 +1,7 @@
From fe3f5f02802c2447c7c7cc003b1f408c7360b1dc Mon Sep 17 00:00:00 2001
From dd7c0b3cc5f4ce91f81dcb4f02bc8c4aaa023024 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 10 Jan 2019 06:54:37 -0500
Subject: [PATCH 001/139] confile: add lxc.isulad.init.args config interface
Subject: [PATCH 001/140] confile: add lxc.isulad.init.args config interface
lxc.isulad.init.args config interface is used to specify the args for
the container.

View File

@ -1,7 +1,7 @@
From 0c195b1b6493fbb036e3eb9218f6a173e16a2123 Mon Sep 17 00:00:00 2001
From bcc0965a02a571c39713056536d63f3378dcba3a Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 10 Jan 2019 08:42:19 -0500
Subject: [PATCH 002/139] namespace: add support share namespace by path
Subject: [PATCH 002/140] namespace: add support share namespace by path
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 444ad05515c41c41313a97a08e91cc4d9e890d9f Mon Sep 17 00:00:00 2001
From b4e5d9e162a17f50367aad1ea92df7dc09fa34e9 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Fri, 11 Jan 2019 01:51:25 -0500
Subject: [PATCH 003/139] confile: add lxc.isulad.populate.device interface
Subject: [PATCH 003/140] confile: add lxc.isulad.populate.device interface
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 28e96202dfe639add68c68fd31447031675fddbe Mon Sep 17 00:00:00 2001
From f83ae83808419f6742265b8bafc3441fdca65cbb Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Fri, 11 Jan 2019 16:11:34 +0800
Subject: [PATCH 004/139] support isulad fifo log
Subject: [PATCH 004/140] support isulad fifo log
support isulad fifo log in lxc3.0

View File

@ -1,7 +1,7 @@
From 2f720e57a3982ca18e271ec96de68e10d6f6bc20 Mon Sep 17 00:00:00 2001
From 7cb675179d84838d751312fb675c442325413270 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 10 Jan 2019 20:40:19 +0800
Subject: [PATCH 005/139] auto mount cgroup sys and proc
Subject: [PATCH 005/140] auto mount cgroup sys and proc
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From fc244b0d105bf7519bba11cbc1c1e65ff2b9eaaa Mon Sep 17 00:00:00 2001
From 80fcf03d746825fcf809f7b415782a410d9d87d3 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Fri, 11 Jan 2019 16:55:01 +0800
Subject: [PATCH 006/139] conf.c: fix bug when set no ro mount, mount
Subject: [PATCH 006/140] conf.c: fix bug when set no ro mount, mount
propagation will be skipped
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 7195a22f6717a3f34d1c0fccedb4a015dba50eb8 Mon Sep 17 00:00:00 2001
From 371dc5d5822cd629b86313c6b6cb39f02e7164e8 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Fri, 11 Jan 2019 17:00:48 +0800
Subject: [PATCH 007/139] use isulad log format
Subject: [PATCH 007/140] use isulad log format
use isulad log format

View File

@ -1,7 +1,7 @@
From 02f351d441398861416e8101d491b4cdd6b4988b Mon Sep 17 00:00:00 2001
From 98dbcb7dacbf18393295a9dcf054a65f9033ea5d Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Fri, 11 Jan 2019 17:44:53 +0800
Subject: [PATCH 008/139] isulad: modify exit code and stop signal
Subject: [PATCH 008/140] isulad: modify exit code and stop signal
1. modify default stop signal and disable reboot by signal.
2. send '128 + signal' if container is killed by signal.

View File

@ -1,7 +1,7 @@
From d96fee01aeb6f95f5b017f5d8828e1994c549dc5 Mon Sep 17 00:00:00 2001
From 3adac5cde53927f37a666fa8bda4ff06489ec694 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Fri, 11 Jan 2019 21:52:11 -0500
Subject: [PATCH 009/139] lxc_start: add default terminal fifos
Subject: [PATCH 009/140] lxc_start: add default terminal fifos
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 10aa38b436cde63126d70b943fd6533b95e89673 Mon Sep 17 00:00:00 2001
From 523b705fb269a9463b9412aa3a814a9c71a743cc Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Fri, 11 Jan 2019 22:53:56 -0500
Subject: [PATCH 010/139] Save pid/ppid info into file for isulad
Subject: [PATCH 010/140] Save pid/ppid info into file for isulad
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 229ca2972fd7baf608873432cd4065d5f72a895d Mon Sep 17 00:00:00 2001
From 70b6cb3c2a07f49af1f7dd251eac39e20c539f7e Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Sat, 12 Jan 2019 02:07:15 -0500
Subject: [PATCH 011/139] Add exit FIFO to monitor state of [lxc monitor]
Subject: [PATCH 011/140] Add exit FIFO to monitor state of [lxc monitor]
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 7c5602c6601ed2af22b20958b738c4723221e606 Mon Sep 17 00:00:00 2001
From 0c5c03e94eb4beb4d55275bef52b14f1eef09d66 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Sat, 12 Jan 2019 03:23:53 -0500
Subject: [PATCH 012/139] Init fifos in lxc_attach_terminal
Subject: [PATCH 012/140] Init fifos in lxc_attach_terminal
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From a5846da29496fa7fbc540fd277f89860eec38d94 Mon Sep 17 00:00:00 2001
From 3e630813a53666d5cdb8db81addcb86e9fe3c341 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sat, 12 Jan 2019 14:42:27 +0800
Subject: [PATCH 013/139] isulad: set env home in container
Subject: [PATCH 013/140] isulad: set env home in container
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 90727142a0c6ac463f79e5eb55038e88ce919c23 Mon Sep 17 00:00:00 2001
From 42efaa5362d755d9f9bf028c283ca24bc6a03cbb Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Sat, 12 Jan 2019 15:29:56 +0800
Subject: [PATCH 014/139] support rotate for container log file
Subject: [PATCH 014/140] support rotate for container log file
support rotate for container log file

View File

@ -1,7 +1,7 @@
From 8c95d80b70033abcedfecdb6220926a824266b69 Mon Sep 17 00:00:00 2001
From 5b07aee14b1c49e11cdf42fb2b9c8887751cedb7 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Sat, 12 Jan 2019 16:28:41 +0800
Subject: [PATCH 015/139] fix high gcc compile bug
Subject: [PATCH 015/140] fix high gcc compile bug
fix high gcc compile bug

View File

@ -1,7 +1,7 @@
From ac67190a1318bf9d7ed6c0e16834849137bcaabd Mon Sep 17 00:00:00 2001
From 6abc6c02684ec9d48033969399352050789da2d6 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sat, 12 Jan 2019 15:55:52 +0800
Subject: [PATCH 016/139] add masked paths and ro paths
Subject: [PATCH 016/140] add masked paths and ro paths
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 14804433edf6c4d5732d109181f6ca1b0c19b0df Mon Sep 17 00:00:00 2001
From 068331c965f3011f03e31b67d9791b2f81fd69b0 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 11:03:03 +0800
Subject: [PATCH 017/139] isulad: check cgroup cpu.shares after setted
Subject: [PATCH 017/140] isulad: check cgroup cpu.shares after setted
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 0f0b1f6315e95c958a56c5409b006efeabbf3d30 Mon Sep 17 00:00:00 2001
From 0c11550c088cca12b6900623240799dc911da458 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 14 Jan 2019 02:18:26 -0500
Subject: [PATCH 018/139] lxc-attach: add support terminal fifos
Subject: [PATCH 018/140] lxc-attach: add support terminal fifos
1. support terminal fifos to redirect terminal
2. support lxc-attach run in background

View File

@ -1,7 +1,7 @@
From 0e128190d1080af6a472619248a3f40e313759c6 Mon Sep 17 00:00:00 2001
From 16616f224d5577594548b2ce1ee50f51a449e20d Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 13:51:01 +0800
Subject: [PATCH 019/139] remount cgroup readonly and make soft link of
Subject: [PATCH 019/140] remount cgroup readonly and make soft link of
subcgroup
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From ff9ed21b59f16aae369895612a9036f112daa035 Mon Sep 17 00:00:00 2001
From a4a3b0c8f6a33676c62729ab7fc1e7d6f54536b8 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 15:33:12 +0800
Subject: [PATCH 020/139] fix log error when symlink subcgroup
Subject: [PATCH 020/140] fix log error when symlink subcgroup
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 6cdbeff1ad844ff52863a6e1488ed928f1c4fbb6 Mon Sep 17 00:00:00 2001
From c26c254376f73d9b43dd1747746a2bc265a85bb3 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 14 Jan 2019 04:29:40 -0500
Subject: [PATCH 021/139] lxc-attch: add error message
Subject: [PATCH 021/140] lxc-attch: add error message
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 20ff2957e4a3d49604c4fa29dac7b752746307a6 Mon Sep 17 00:00:00 2001
From 26046eb2a18d2a7668dc213c86806efeca7d87a8 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 17:02:02 +0800
Subject: [PATCH 022/139] support rootfs mount propagation
Subject: [PATCH 022/140] support rootfs mount propagation
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From e07440f08f8e6f3e572a5159b004db8cb4a8db7b Mon Sep 17 00:00:00 2001
From ecd40a856d039f7bc67ac076041a07cb369eaa77 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 17:09:57 +0800
Subject: [PATCH 023/139] attach.c: change uid and gid from lxc container
Subject: [PATCH 023/140] attach.c: change uid and gid from lxc container
config
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From c008838abc34819705f1b2ad51b24b5d7bbd629c Mon Sep 17 00:00:00 2001
From cf669a5cfd241dc8ec9ce2571e73fc13d4266bce Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 20:12:06 +0800
Subject: [PATCH 024/139] isulad: support symlink in mount entry, and not
Subject: [PATCH 024/140] isulad: support symlink in mount entry, and not
permit mount to /proc
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 84c36bf2aa1aaee87352b711df495fdc0bbf6f55 Mon Sep 17 00:00:00 2001
From 38eef3f6000e2c4219007cf0f3638ef101fc67fb Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Mon, 14 Jan 2019 17:47:17 +0800
Subject: [PATCH 025/139] support oci hooks
Subject: [PATCH 025/140] support oci hooks
support oci hooks

View File

@ -1,7 +1,7 @@
From ae243f820c25655931a1c1c79662ab9852fd4781 Mon Sep 17 00:00:00 2001
From 238d4ac14b663aa5db904c55568c3710429d9bca Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 21:13:00 +0800
Subject: [PATCH 026/139] remove filelock and do not destroy directory when
Subject: [PATCH 026/140] remove filelock and do not destroy directory when
destroy container
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From e430c3656032d2f112b7ec7eb99e07f05c300e8b Mon Sep 17 00:00:00 2001
From 9b7c539dec8af7c01abbcba4333b5f14e23c3b3b Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 14 Jan 2019 21:24:25 +0800
Subject: [PATCH 027/139] fix bug of memory leak
Subject: [PATCH 027/140] fix bug of memory leak
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 4081310adbdf6b3baf13c5f8c40da2a01c7950e4 Mon Sep 17 00:00:00 2001
From 0d83272984a667bcd530553ad4fb7ca0805ceb59 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 15 Jan 2019 09:45:44 +0800
Subject: [PATCH 028/139] support rootfs / for container
Subject: [PATCH 028/140] support rootfs / for container
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 44e451ba9b7959a5e55dfe5213285da3c4e44290 Mon Sep 17 00:00:00 2001
From be744bf5f224a4a14790c8f6a37c5335590daaf6 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 14 Jan 2019 21:38:07 -0500
Subject: [PATCH 029/139] add start timeout to limit start time
Subject: [PATCH 029/140] add start timeout to limit start time
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From d56b1478fb6cad6a7430ffb3444b86787201a565 Mon Sep 17 00:00:00 2001
From c1b8d03c8911964c8323e4878ecfeca8162a7e08 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 15 Jan 2019 16:00:30 +0800
Subject: [PATCH 030/139] support block device as rootfs
Subject: [PATCH 030/140] support block device as rootfs
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From adfe5a04dabc871fb5cf3d4b505057ce8da02480 Mon Sep 17 00:00:00 2001
From 97a9081b91b573df9c381331fde2dc6ec7f257e6 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 15 Jan 2019 04:20:57 -0500
Subject: [PATCH 031/139] clean: add clean resources api
Subject: [PATCH 031/140] clean: add clean resources api
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From eaa99ec61f64d47443bc427ccd5b266bc9bb1ab6 Mon Sep 17 00:00:00 2001
From 9a8aa1961330227da81a6081db7254441afb3031 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 15 Jan 2019 05:39:39 -0500
Subject: [PATCH 032/139] Drop all caps when cap.keep=ISULAD_KEEP_NONE
Subject: [PATCH 032/140] Drop all caps when cap.keep=ISULAD_KEEP_NONE
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From af999d8da16a36ff541d27d84d40bcf97f62e581 Mon Sep 17 00:00:00 2001
From 572633fe6deaea6b8e4d423225aab452c6f0b7c0 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 15 Jan 2019 19:54:13 +0800
Subject: [PATCH 033/139] support mount squashfs in mount entry
Subject: [PATCH 033/140] support mount squashfs in mount entry
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 44dc712ff6f6ed02c4fb50829967b21497d5e3e1 Mon Sep 17 00:00:00 2001
From 193bc24b1974e5149cf751ae9c50383b9c1a3999 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 15 Jan 2019 20:39:11 +0800
Subject: [PATCH 034/139] some small bugfix
Subject: [PATCH 034/140] some small bugfix
1. support new container without load config to save time
2. try to create workdir if not exist

View File

@ -1,7 +1,7 @@
From 8e3399baf65cdfc8383b5c387f6b05a8c8944435 Mon Sep 17 00:00:00 2001
From cf85b9009e0085ec861d9294e6e04f1baa2ba28d Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 16 Jan 2019 20:53:25 +0800
Subject: [PATCH 035/139] lxc: fixup builds with newer glibc
Subject: [PATCH 035/140] lxc: fixup builds with newer glibc
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 2e7e54c3c6c76637ed095f349d1a5f28c60446c5 Mon Sep 17 00:00:00 2001
From 35ef612b75dee5aa2bf313a8ceb24a7636319582 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 15 Jan 2019 22:55:06 -0500
Subject: [PATCH 036/139] drop_caps: add drop caps of current process
Subject: [PATCH 036/140] drop_caps: add drop caps of current process
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 27f8123c3c4133c26bf1ef3ddec1be9e8bcd7119 Mon Sep 17 00:00:00 2001
From 3ac4fd8b31c3c9e650cbe02383f4d65cfa078b20 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 15 Jan 2019 23:14:14 -0500
Subject: [PATCH 037/139] restore default signal handlers and set umask 0027
Subject: [PATCH 037/140] restore default signal handlers and set umask 0027
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 00b977726fdcf2bbc5e44275db4c7b68ef8fa549 Mon Sep 17 00:00:00 2001
From a1f81f063eb08dbf3ca99d298fef016b89d7d0d1 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 15 Jan 2019 23:24:21 -0500
Subject: [PATCH 038/139] make the given terminal as controlling terminal
Subject: [PATCH 038/140] make the given terminal as controlling terminal
Avoid warning when start cmd /bin/sh :
sh: cannot set terminal process group (-1): Inappropriate ioctl for device

View File

@ -1,7 +1,7 @@
From e26b106534c01e94cb944da3dfcc75226ca03ee6 Mon Sep 17 00:00:00 2001
From 24f908199916fc92cb7935bfccc19244d3a8d864 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 16 Jan 2019 14:38:38 +0800
Subject: [PATCH 039/139] print error message when container start failed
Subject: [PATCH 039/140] print error message when container start failed
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 3697ed8dd6eb04d4664c8c56ee4e0e507db9c58d Mon Sep 17 00:00:00 2001
From 04512fa5baae9aeff6ac8f120e718f339b56525f Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Wed, 16 Jan 2019 02:22:13 -0500
Subject: [PATCH 040/139] add timeout(200ms) for cmds send to [lxc monitor]
Subject: [PATCH 040/140] add timeout(200ms) for cmds send to [lxc monitor]
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From b5b68b12ddaac8b39fcc4f621786e9ad6a271bd2 Mon Sep 17 00:00:00 2001
From 4315f825763d752a9a9dfcb3ade70368634ee15d Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Wed, 16 Jan 2019 05:53:36 -0500
Subject: [PATCH 041/139] return -1 when _lxc_start fails
Subject: [PATCH 041/140] return -1 when _lxc_start fails
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 666174f112d1f6f765f6755e6f1ed4d3f8ca9055 Mon Sep 17 00:00:00 2001
From cd1cd3c8d36b5f689ceaac00965ab1a3e77c2f33 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 17 Jan 2019 03:09:00 +0800
Subject: [PATCH 042/139] lxc: seccomp adopt to lxc3.0
Subject: [PATCH 042/140] lxc: seccomp adopt to lxc3.0
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From d6893f5b376992b0b715a0b46c660c78144c1203 Mon Sep 17 00:00:00 2001
From b94affbd314be09dcd5927b15bee85459f6bc2ff Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 17 Jan 2019 10:19:37 +0800
Subject: [PATCH 043/139] check null pointer of handler to fix coredump of
Subject: [PATCH 043/140] check null pointer of handler to fix coredump of
attach
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From 37e6f7c4ffb31290322791d972f4ab8e0fa34dcc Mon Sep 17 00:00:00 2001
From 24d0250197bab7b59c3437cce7845af1fc88df7e Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 17 Jan 2019 10:18:23 +0800
Subject: [PATCH 044/139] support space in --volume, --mount and --env
Subject: [PATCH 044/140] support space in --volume, --mount and --env
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 00789ddaf32704bbb848c63eb69c2b299c2d3471 Mon Sep 17 00:00:00 2001
From 934f4937ec177e9c95445b800ca11adbb7c3a0ef Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 17 Jan 2019 02:18:14 -0500
Subject: [PATCH 045/139] add_terminal_fifos: Add terminal fifos dynamically
Subject: [PATCH 045/140] add_terminal_fifos: Add terminal fifos dynamically
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From ef7488f89bbdc933e2a84744092150939bef7c4c Mon Sep 17 00:00:00 2001
From fc6da7b9465295da1dc1d40d835a8c7680207d66 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 17 Jan 2019 03:49:16 -0500
Subject: [PATCH 046/139] Do not test cgroup writeable
Subject: [PATCH 046/140] Do not test cgroup writeable
If we run isulad in docker without cgroup namespace, the base_cgroup will be docker/XXX..,
mountpoint+base_cgroup may be not exist

View File

@ -1,7 +1,7 @@
From 7bb780cc04729b9a9231a9403b8ac5465c0ca44b Mon Sep 17 00:00:00 2001
From f238c892c331361985a2d8f0211b4fd78ce99682 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 17 Jan 2019 07:43:23 -0500
Subject: [PATCH 047/139] Fix memory leak in lxc_global_config_value
Subject: [PATCH 047/140] Fix memory leak in lxc_global_config_value
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 2b9f7cb1c39c18bd79f208f178d740fb1103f5e8 Mon Sep 17 00:00:00 2001
From fc95cef9efded165758645b8f04da7c0ffd6b762 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 17 Jan 2019 20:46:33 +0800
Subject: [PATCH 048/139] clear ONLCR flag from master of terminal
Subject: [PATCH 048/140] clear ONLCR flag from master of terminal
clear ONLCR flag from master of terminal

View File

@ -1,7 +1,7 @@
From da947d1642aaade0f814dcea53f8f577f28187b1 Mon Sep 17 00:00:00 2001
From c144ed16a5a45c8dc2873bbb1016d8bc1fc02a9c Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Sat, 19 Jan 2019 02:05:17 -0500
Subject: [PATCH 049/139] Add 100ms timeout for console epoll
Subject: [PATCH 049/140] Add 100ms timeout for console epoll
add 100ms timeout for console epoll to avoid lose console

View File

@ -1,7 +1,7 @@
From db80cc666f47124c166771fbd018855f62ea0de3 Mon Sep 17 00:00:00 2001
From 15d3b1e6c5e5ac896b15d04d486ba0c04ca39336 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Fri, 18 Jan 2019 02:11:11 -0500
Subject: [PATCH 050/139] seccomp: add rules for specified architecture only
Subject: [PATCH 050/140] seccomp: add rules for specified architecture only
LXC MR: https://github.com/lxc/lxc/pull/2786

View File

@ -1,7 +1,7 @@
From 4355ae3c26f9cc26d9c95672945ca2630466b3d0 Mon Sep 17 00:00:00 2001
From 629036e2732ed24c776b422271cef51cf8458f18 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Tue, 22 Jan 2019 11:25:45 +0800
Subject: [PATCH 051/139] if ocihook is empty
Subject: [PATCH 051/140] if ocihook is empty
return success

View File

@ -1,7 +1,7 @@
From d945679e11c19594e13ec8c2fbbaeb65d2f59f60 Mon Sep 17 00:00:00 2001
From 2fbc0027a81a8ec79008afeb5298f5ec99203ea4 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 21 Jan 2019 23:28:43 -0500
Subject: [PATCH 052/139] Fix seccomp fail when [all] specified in config
Subject: [PATCH 052/140] Fix seccomp fail when [all] specified in config
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 930e729ff7705532bf0248ec0c35017dbd8fbd9c Mon Sep 17 00:00:00 2001
From 55aa538a996fb98bd76ca41029c93147d22c1ecf Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Tue, 22 Jan 2019 14:45:54 +0800
Subject: [PATCH 053/139] destroy empty cgroup path return ture
Subject: [PATCH 053/140] destroy empty cgroup path return ture
destroy empty cgroup path return ture

View File

@ -1,7 +1,7 @@
From f6a4f1363e2e380cad2fe973cd0b0b3a6e4a37ea Mon Sep 17 00:00:00 2001
From 6ca37fb9e3838f3ddffec7e0325e37e6925f3562 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Tue, 22 Jan 2019 20:14:53 +0800
Subject: [PATCH 054/139] fix invalid log message
Subject: [PATCH 054/140] fix invalid log message
fix invalid log message

View File

@ -1,7 +1,7 @@
From 7e6b4062ab3ea0b7ef35d5b19d81b39eb29ea8d5 Mon Sep 17 00:00:00 2001
From e1e5091673c7464a320cdfc08d91ad176a636f71 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 24 Jan 2019 05:14:24 -0500
Subject: [PATCH 055/139] Fix compile error
Subject: [PATCH 055/140] Fix compile error
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From a847fcefdce50fa6b6fe307ff4f80d9f7927eb35 Mon Sep 17 00:00:00 2001
From 94ae346e2bff8bb29eae17604b75b1de19258277 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Sat, 26 Jan 2019 02:22:48 -0500
Subject: [PATCH 056/139] [caps]: use _LINUX_CAPABILITY_VERSION_3 to set cap
Subject: [PATCH 056/140] [caps]: use _LINUX_CAPABILITY_VERSION_3 to set cap
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 2946339a18ea794a8a4637353ea5c30045131bba Mon Sep 17 00:00:00 2001
From 5712305711a0f57d2d167b49da1093204abaffcd Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Wed, 30 Jan 2019 03:39:42 -0500
Subject: [PATCH 057/139] confile: add support umask
Subject: [PATCH 057/140] confile: add support umask
lxc.isulad.umask=normal make the container umask to 0022
lxc.isulad.umask=secure make the container umask to 0027 (default)

View File

@ -1,7 +1,7 @@
From 9fa6889015604b101ce921c70d8dadb2c70358d0 Mon Sep 17 00:00:00 2001
From 2c5d318fb3a809c017e0b57c80de500bceb9b495 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 12 Feb 2019 14:00:47 +0800
Subject: [PATCH 058/139] do not check ppid when set death signal
Subject: [PATCH 058/140] do not check ppid when set death signal
ppid will not be 0 if we shared host pid

View File

@ -1,7 +1,7 @@
From d8e4fcd5e937cd4800f44e20afb6161be5671f9a Mon Sep 17 00:00:00 2001
From 72e156f81d0db66d42724172a9d4b6fefbd6fabc Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 12 Feb 2019 14:36:35 +0800
Subject: [PATCH 059/139] delete unused variable ppid
Subject: [PATCH 059/140] delete unused variable ppid
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 28d6bb955b254a0dd29bf47dc359359ba3da579f Mon Sep 17 00:00:00 2001
From d402202eb37433f26c1e9f4ab11ce8e530ad19e7 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 30 Jan 2019 17:44:19 +0800
Subject: [PATCH 060/139] using json-file to write console log of container
Subject: [PATCH 060/140] using json-file to write console log of container
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 15ecacd152d85b4f7818e7612178081a23e53826 Mon Sep 17 00:00:00 2001
From fee671d0cd2813016f7d84fad2907ba28c24993d Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Thu, 21 Feb 2019 05:37:05 -0500
Subject: [PATCH 061/139] Fix hook: use the path, args, envs execvp dirctory
Subject: [PATCH 061/140] Fix hook: use the path, args, envs execvp dirctory
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From bf15038f2d74cf77c2475bd1068cdeaa4bf6b94d Mon Sep 17 00:00:00 2001
From 6fc3c7a016b64583c9f84f90c5303376b4f8f613 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 26 Feb 2019 17:21:18 +0800
Subject: [PATCH 062/139] setup sysctls before set read-only path and masked
Subject: [PATCH 062/140] setup sysctls before set read-only path and masked
path
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From d7adb15dabbc3468675be2b966806574222495e5 Mon Sep 17 00:00:00 2001
From 5fb35ffb15082021cfaae7b17d31175a63701514 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sat, 9 Mar 2019 03:10:06 +0800
Subject: [PATCH 063/139] lxc: ignore systemcall load failure error
Subject: [PATCH 063/140] lxc: ignore systemcall load failure error
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 41491565e90465d2d0e64c268ba3d8d3279c6556 Mon Sep 17 00:00:00 2001
From 5c4a3db298a0a7857f6bb34a285c40e6f2a4b99b Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sun, 10 Mar 2019 00:47:05 +0800
Subject: [PATCH 064/139] lxc: Reduce seccomp processing log level
Subject: [PATCH 064/140] lxc: Reduce seccomp processing log level
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From b4774d615555f3864720d7dd33b87e6d4ffccd36 Mon Sep 17 00:00:00 2001
From c3f85efe70c8dabe1c7393a5fd83f4465ec46812 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 11 Mar 2019 23:26:27 -0400
Subject: [PATCH 065/139] Storage: return true if storage_init init fail
Subject: [PATCH 065/140] Storage: return true if storage_init init fail
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 374e9e275bd379cfb70df2b252383a50869c42f6 Mon Sep 17 00:00:00 2001
From 54a21ab4594e606168d690ef09bbbd13329de843 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Fri, 15 Mar 2019 10:11:10 +0800
Subject: [PATCH 066/139] lxc: Pids limit does not report an error after
Subject: [PATCH 066/140] lxc: Pids limit does not report an error after
executing the limit in the background
Signed-off-by: wujing <wujing50@huawei.com>

View File

@ -1,7 +1,7 @@
From c3b0074f845e009695ae55f8ef01b9e7ba450350 Mon Sep 17 00:00:00 2001
From 8f356ca0106a31ac7a14a17d06fb325aa16519ee Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sat, 16 Mar 2019 10:06:13 +0800
Subject: [PATCH 067/139] lxc: report error when remove directory failed
Subject: [PATCH 067/140] lxc: report error when remove directory failed
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 25e6f0bfa28a7da88a54da99123e2bbd60da2cb2 Mon Sep 17 00:00:00 2001
From 8168df14e2a9c51a2d1637485d45e957d0a23438 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 21 Feb 2019 20:27:47 +0800
Subject: [PATCH 068/139] support record stdout, stderr log of container
Subject: [PATCH 068/140] support record stdout, stderr log of container
console
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From 87e3f205f62dc0f49be1857c6a0a72a57bdc201a Mon Sep 17 00:00:00 2001
From 7a5088c289e2c9a543ba08137bffe873206962ba Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 21 Mar 2019 15:48:02 +0800
Subject: [PATCH 069/139] lxc: killall processes if container shared pid
Subject: [PATCH 069/140] lxc: killall processes if container shared pid
namespace
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From b7771f88ab84ae04960a3d8f40bfea7093ff4cb7 Mon Sep 17 00:00:00 2001
From 38b34aa2e20484616c40dba507f1c7a36afb56c2 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 21 Mar 2019 17:21:44 +0800
Subject: [PATCH 070/139] lxc: signal all process for shared container when
Subject: [PATCH 070/140] lxc: signal all process for shared container when
container init exited
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From 0ec5d80c41491e4f2fa2e117fc6db4c205e1e415 Mon Sep 17 00:00:00 2001
From 6b5baec9fce40d498c3a9d3e8fbe08ff1e3751fd Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 21 Mar 2019 22:05:09 +0800
Subject: [PATCH 071/139] lxc: get cgroup path according to cgroup mountpoint
Subject: [PATCH 071/140] lxc: get cgroup path according to cgroup mountpoint
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From d69ef31d49418d02a644c802c47f9e933fb186c3 Mon Sep 17 00:00:00 2001
From 15e78bbe59a574b5c41405cfdb84a496095a1662 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Mon, 25 Mar 2019 18:03:23 +0800
Subject: [PATCH 072/139] lxc: adapt to docker-18.09
Subject: [PATCH 072/140] lxc: adapt to docker-18.09
1. adapt to docker-18.09
2. fix strlcpy bug

View File

@ -1,7 +1,7 @@
From 9d41aabd89b3e9de7cfedf4330bfb5984bd43dbc Mon Sep 17 00:00:00 2001
From d766c43da139d6e893e7d450943425e524be639a Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 25 Mar 2019 17:17:00 +0800
Subject: [PATCH 073/139] lxc: support set additional groups
Subject: [PATCH 073/140] lxc: support set additional groups
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 0f17217d431458de75d33c4a80ce28eac1bbb2c5 Mon Sep 17 00:00:00 2001
From 0a90b2cbb4e0a2e7dd3f533e4a20d9e522889ea5 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 26 Mar 2019 16:11:13 +0800
Subject: [PATCH 074/139] lxc: only add valid fd to mainloop
Subject: [PATCH 074/140] lxc: only add valid fd to mainloop
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 6affa9bf74fcc2ebb1dd785b73a47552669af82e Mon Sep 17 00:00:00 2001
From 2ce6149708aaa421373497cffa412d9815c7f7f7 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 3 Apr 2019 19:54:36 +0800
Subject: [PATCH 075/139] lxc: add timeout for attach
Subject: [PATCH 075/140] lxc: add timeout for attach
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 49aea1a5c02f041fc5622ed0a998c2f5b5b45d5b Mon Sep 17 00:00:00 2001
From b2904bbeda12d9d1e6864717f76052c05b213ab2 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Thu, 4 Apr 2019 11:19:48 +0800
Subject: [PATCH 076/139] lxc: delete unused variable
Subject: [PATCH 076/140] lxc: delete unused variable
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From bead04c30d859abd3f0ad7635266f0f29721640a Mon Sep 17 00:00:00 2001
From 940815cbc68a12ada2b0d9b212ded98a59590de6 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Tue, 2 Apr 2019 23:59:20 -0400
Subject: [PATCH 077/139] lxc: set negative files.limit to max and fix bug of
Subject: [PATCH 077/140] lxc: set negative files.limit to max and fix bug of
setting homedir
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>

View File

@ -1,7 +1,7 @@
From 613aa707fc904d35dbcbe9c6ecf42e0851aa4492 Mon Sep 17 00:00:00 2001
From 8820d8dcd7684f123a99304df532139315a1276f Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Wed, 3 Apr 2019 23:36:04 -0400
Subject: [PATCH 078/139] Run pre-start hook before chroot
Subject: [PATCH 078/140] Run pre-start hook before chroot
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From d7ebde92b6ceb66aef1280e7a81191bf5ef69ac9 Mon Sep 17 00:00:00 2001
From e87fd4a3b69a4c98d2c50ede559d56b43f65578a Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 4 Apr 2019 17:21:56 +0800
Subject: [PATCH 079/139] inherid env from parent in oci hooks
Subject: [PATCH 079/140] inherid env from parent in oci hooks
env: LD_LIBRAY_PAHT and PATH

View File

@ -1,7 +1,7 @@
From 12b020ddc343d35e4db1c23de7c511deb3b9f4a3 Mon Sep 17 00:00:00 2001
From 1e70c61ab75a71c99926e5f7c9e852dc81102bb9 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 8 Apr 2019 08:29:46 -0400
Subject: [PATCH 080/139] lxc: fix compile error
Subject: [PATCH 080/140] lxc: fix compile error
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 08f5898a07450f2fb547409843fb9cf67f74ade9 Mon Sep 17 00:00:00 2001
From 5cfdce31c3afcf8d688151e71e84d056f2229a27 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Mon, 8 Apr 2019 16:42:43 +0800
Subject: [PATCH 081/139] lxc: Change the range of attach timeout
Subject: [PATCH 081/140] lxc: Change the range of attach timeout
Signed-off-by: wujing <wujing50@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 9acd5efe54f66552a3389938c0ec86356ac8f039 Mon Sep 17 00:00:00 2001
From ccec379d6577df3a01f11f054f37ce7e5b95088c Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 11 Apr 2019 15:27:31 +0800
Subject: [PATCH 082/139] lxc: fix memory leak cause by setenv
Subject: [PATCH 082/140] lxc: fix memory leak cause by setenv
isulad will call do_lxcapi_clean_resource(), so setenv at here, will
change env of isulad.

View File

@ -1,7 +1,7 @@
From 72d6a0b51dbcf6ef3c8eaa1ba5c3495ee1460083 Mon Sep 17 00:00:00 2001
From ec26a6a90167cc2a4624a4a5fc68bb9bcb56c651 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 11 Apr 2019 20:34:51 +0800
Subject: [PATCH 083/139] lxc: free lxc-handler
Subject: [PATCH 083/140] lxc: free lxc-handler
free handler if failed

View File

@ -1,7 +1,7 @@
From 2d6f584233d57b6a97ed9246969be387017c8323 Mon Sep 17 00:00:00 2001
From 4e84395bebe59ac94bf9d7ee11a985c776a05fbe Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 11 Apr 2019 22:36:42 +0800
Subject: [PATCH 084/139] lxc: memory leak of lxc_grow_array
Subject: [PATCH 084/140] lxc: memory leak of lxc_grow_array
fix memory leak of lxc_grow_array

View File

@ -1,7 +1,7 @@
From 6e5b1a93fb3fd25d23ad4cf8cc99251a863cccd3 Mon Sep 17 00:00:00 2001
From 1c36fa9e699c1bf892e89ba71b0052b34b55a89d Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Fri, 12 Apr 2019 06:06:12 -0400
Subject: [PATCH 085/139] lxc: update json file from isulad
Subject: [PATCH 085/140] lxc: update json file from isulad
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From 685248157e305ad6abe798cb40409ad55eb63c16 Mon Sep 17 00:00:00 2001
From 2b8bafa86e5086ee9f85dba13a73fb3abdf8656f Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Sat, 20 Apr 2019 22:40:18 +0800
Subject: [PATCH 086/139] confile: add support systemd
Subject: [PATCH 086/140] confile: add support systemd
lxc.isulad.systemd=true remount systemd cgroup path to rw

View File

@ -1,7 +1,7 @@
From a3f93824beaa0cb2634a4d6db268c1b90d5a7524 Mon Sep 17 00:00:00 2001
From 363ac4aedbf09ade3de55bca20692cf157860f92 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Wed, 24 Apr 2019 22:22:55 +0800
Subject: [PATCH 087/139] lxc: adapt to spec of oci hook
Subject: [PATCH 087/140] lxc: adapt to spec of oci hook
poststart failed do not cause run failed

View File

@ -1,7 +1,7 @@
From d1adce7546410b4fa916c99a1807b653e6a950dd Mon Sep 17 00:00:00 2001
From c0efbe3c3aafaad6842d8a28cd06635bbb5a566c Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 25 Apr 2019 10:12:16 +0800
Subject: [PATCH 088/139] fix lxc build error
Subject: [PATCH 088/140] fix lxc build error
cause by invalid print format

View File

@ -1,7 +1,7 @@
From cf0675d14282a391ea088310d75354a2196125ac Mon Sep 17 00:00:00 2001
From e67bd0cb9f6228f5ff95e71ae3cb1332cb1ff851 Mon Sep 17 00:00:00 2001
From: maoweiyong <maoweiyong@huawei.com>
Date: Tue, 23 Apr 2019 12:12:55 +0800
Subject: [PATCH 089/139] lxc:add get container processes pids func
Subject: [PATCH 089/140] lxc:add get container processes pids func
Signed-off-by: maoweiyong <maoweiyong@huawei.com>
---

View File

@ -1,7 +1,7 @@
From c488db18d557594331fd8d2774d9e05eaeb57726 Mon Sep 17 00:00:00 2001
From 9d7bdd43ca5710e625f02b2dcc7b178071f4ae2b Mon Sep 17 00:00:00 2001
From: maoweiyong <maoweiyong@huawei.com>
Date: Thu, 25 Apr 2019 21:21:12 +0800
Subject: [PATCH 090/139] lxc: remove unused variable
Subject: [PATCH 090/140] lxc: remove unused variable
Signed-off-by: maoweiyong <maoweiyong@huawei.com>
---

View File

@ -1,7 +1,7 @@
From 474dcbe83981a95fe3be1f1da0d4289730a29a1c Mon Sep 17 00:00:00 2001
From 140cadc75c14917c9d0aa3c6c65d84fd8b682adb Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Fri, 26 Apr 2019 07:13:53 +0800
Subject: [PATCH 091/139] lxc: support namespaced kernel params can be changed
Subject: [PATCH 091/140] lxc: support namespaced kernel params can be changed
in system container
support namespaced kernel params can be changed in system container

View File

@ -1,7 +1,7 @@
From ea3990558d3583344654675edce9458ec257fd38 Mon Sep 17 00:00:00 2001
From 3e1d32785539e016dbca1e69fdb3a8bf93299238 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Mon, 29 Apr 2019 04:13:52 -0400
Subject: [PATCH 092/139] lxc: add output error when create unified cgroup
Subject: [PATCH 092/140] lxc: add output error when create unified cgroup
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From d766442be1dca15cff162671f367fa867ba74c94 Mon Sep 17 00:00:00 2001
From eeaf0b1638d87626655577c5b1c1e32e3b3d10a0 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Thu, 2 May 2019 11:23:50 +0800
Subject: [PATCH 093/139] optimize isulad_kit operator
Subject: [PATCH 093/140] optimize isulad_kit operator
parse group add start container

View File

@ -1,7 +1,7 @@
From db68b7129fb8813b99364b58ffef086a2df3c426 Mon Sep 17 00:00:00 2001
From 64febbef5f589ae93aebb1845a78e4379d5c584b Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Tue, 7 May 2019 12:55:03 +0800
Subject: [PATCH 094/139] exec load uid gid and groups
Subject: [PATCH 094/140] exec load uid gid and groups
exec load uid gid and groups

View File

@ -1,7 +1,7 @@
From 16038190f1cbbdc58e5b114c049d54bfce72a198 Mon Sep 17 00:00:00 2001
From 724ce7ab5bf6dd83ee034d13b2d60515632e1d67 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Fri, 10 May 2019 11:05:42 +0800
Subject: [PATCH 095/139] lxc: don't use the unified hierarchy for the systemd
Subject: [PATCH 095/140] lxc: don't use the unified hierarchy for the systemd
cgroup
reason:don't use the unified hierarchy for the systemd cgroup

View File

@ -1,7 +1,7 @@
From 0dc5178ad05c6c2106be4f15e8d91211e6246eb5 Mon Sep 17 00:00:00 2001
From 69556473f1e248be4ec79ccf069c65238ee9b8c1 Mon Sep 17 00:00:00 2001
From: liuhao <liuhao27@huawei.com>
Date: Mon, 13 May 2019 16:45:50 +0800
Subject: [PATCH 096/139] close inherited fd in hook process
Subject: [PATCH 096/140] close inherited fd in hook process
close inherited fd in hook process

View File

@ -1,7 +1,7 @@
From 8f74f51e2ea6fb316d99af96f091e35b105402ca Mon Sep 17 00:00:00 2001
From 5afd4ebc85644ab8e1443ad80ba9bd311fe5f056 Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 15 May 2019 00:53:49 -0400
Subject: [PATCH 097/139] lxc: report error when fork/exec error for hooks
Subject: [PATCH 097/140] lxc: report error when fork/exec error for hooks
Signed-off-by: tanyifeng <tanyifeng1@huawei.com>
Signed-off-by: LiFeng <lifeng68@huawei.com>

View File

@ -1,7 +1,7 @@
From fc25d8c2e9e95f227f13244503b91aaf24367c90 Mon Sep 17 00:00:00 2001
From 5fd25f9a207a2c401e9bae990a96ec9b9056a2df Mon Sep 17 00:00:00 2001
From: tanyifeng <tanyifeng1@huawei.com>
Date: Wed, 15 May 2019 12:42:08 +0800
Subject: [PATCH 098/139] lxc: make /dev bind mount from host tmpfs for system
Subject: [PATCH 098/140] lxc: make /dev bind mount from host tmpfs for system
container
reason:make /dev bind mount from host tmpfs for system container

View File

@ -1,7 +1,7 @@
From 0c622aaccfa9ea9bb79fcc6fb1e6643ccc25858b Mon Sep 17 00:00:00 2001
From 3d4a2fd9e5db67d6771ebd3268b05d7e461d3c74 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Tue, 21 May 2019 04:53:16 -0400
Subject: [PATCH 099/139] terminal: do not close the master fd of pty
Subject: [PATCH 099/140] terminal: do not close the master fd of pty
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

View File

@ -1,7 +1,7 @@
From c6bd787c3cbb63b7a0085e20bd22a530572a2a08 Mon Sep 17 00:00:00 2001
From 33221d0ca431710cc1f83502d4223f1848c88ae9 Mon Sep 17 00:00:00 2001
From: LiFeng <lifeng68@huawei.com>
Date: Wed, 22 May 2019 23:00:17 -0400
Subject: [PATCH 100/139] start: add check save pid info file
Subject: [PATCH 100/140] start: add check save pid info file
Signed-off-by: LiFeng <lifeng68@huawei.com>
---

Some files were not shown because too many files have changed in this diff Show More