]>
git.ipfire.org Git - thirdparty/lxc.git/log
2xsec [Sun, 1 Jul 2018 13:52:40 +0000 (22:52 +0900)]
tools: lxc-wait: remove the trailing .
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:51:59 +0000 (22:51 +0900)]
tools: lxc-top: fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:50:51 +0000 (22:50 +0900)]
tools: lxc-start: remove the trailing .
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:50:04 +0000 (22:50 +0900)]
tools: lxc-snapshot: fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:49:07 +0000 (22:49 +0900)]
tools: lxc-device: remove the trailing . & fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:47:25 +0000 (22:47 +0900)]
tools: lxc-destroy: remove the trailing .
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:46:19 +0000 (22:46 +0900)]
tools: lxc-create: remove the trailing . & fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:42:27 +0000 (22:42 +0900)]
tools: lxc-copy: remove the trailing . & fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:40:19 +0000 (22:40 +0900)]
tools: lxc-config: fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:38:52 +0000 (22:38 +0900)]
tools: lxc-checkpoint: remove the trailing .
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Sun, 1 Jul 2018 13:37:00 +0000 (22:37 +0900)]
tools: lxc-autostart: remove the trailing . & fix coding style of strncmp
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 14:39:03 +0000 (23:39 +0900)]
tools: remote tool_list, tool_utils
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 14:28:44 +0000 (23:28 +0900)]
tools: arguments: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 14:24:58 +0000 (23:24 +0900)]
tools: lxc-monitor: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 13:33:45 +0000 (22:33 +0900)]
tools: lxc-create: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 13:11:55 +0000 (22:11 +0900)]
tools: lxc-snapshot: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 13:03:55 +0000 (22:03 +0900)]
tools: lxc-checkpoint: fix log name
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 13:00:46 +0000 (22:00 +0900)]
tools: lxc-checkpoint: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 12:48:12 +0000 (21:48 +0900)]
tools: lxc-unshare: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 12:12:22 +0000 (21:12 +0900)]
tools: lxc-top: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 07:26:33 +0000 (16:26 +0900)]
tools: lxc-copy: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 07:10:42 +0000 (16:10 +0900)]
tools: lxc-execute: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 06:23:43 +0000 (15:23 +0900)]
tools: lxc-device: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 06:05:11 +0000 (15:05 +0900)]
tools: lxc-destroy: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 05:54:07 +0000 (14:54 +0900)]
tools: lxc-console: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 05:48:34 +0000 (14:48 +0900)]
tools: lxc-config: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 05:41:19 +0000 (14:41 +0900)]
tools: lxc-ls: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 05:15:22 +0000 (14:15 +0900)]
tools: lxc-info: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 05:06:10 +0000 (14:06 +0900)]
utils: code cleanups
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Fri, 29 Jun 2018 04:20:16 +0000 (13:20 +0900)]
tools: lxc-autostart: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 14:19:50 +0000 (23:19 +0900)]
tools: lxc-attach: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 14:13:01 +0000 (23:13 +0900)]
tools: lxc-cgroup: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 14:07:01 +0000 (23:07 +0900)]
tools: lxc-wait: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 14:03:55 +0000 (23:03 +0900)]
tools: lxc-unfreeze: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 14:00:03 +0000 (23:00 +0900)]
tools: lxc-freeze: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 13:54:27 +0000 (22:54 +0900)]
tools: lxc-stop: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Thu, 28 Jun 2018 13:49:38 +0000 (22:49 +0900)]
tools: lxc-start: share internal API symbols
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Wed, 27 Jun 2018 08:09:58 +0000 (17:09 +0900)]
tools: cgroup, freeze, unfreeze, wait: change fprintf => lxc_error
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Wed, 27 Jun 2018 07:44:06 +0000 (16:44 +0900)]
tools: fix quiet option is not working
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
Stéphane Graber [Tue, 26 Jun 2018 14:06:28 +0000 (10:06 -0400)]
Merge pull request #2433 from brauner/2018-06-26/fix_android
log: account for Android's Bionic's strerror_r()
Christian Brauner [Tue, 26 Jun 2018 12:31:45 +0000 (14:31 +0200)]
Merge pull request #2430 from duguhaotian/work
clear ONLCR flag for container pty
Christian Brauner [Tue, 26 Jun 2018 09:25:37 +0000 (11:25 +0200)]
log: account for Android's Bionic's strerror_r()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
duguhaotian [Tue, 26 Jun 2018 01:57:04 +0000 (09:57 +0800)]
clear ONLCR flag for container pty
now container pty output log, use \r\n as a newline flag.
This is a windows type, so we need to change it. By clear
ONLCR can reach it.
Signed-off-by: duguhaotian <duguhaotian@gmail.com>
Christian Brauner [Tue, 26 Jun 2018 09:00:29 +0000 (11:00 +0200)]
Merge pull request #2431 from 2xsec/bugfix
log: change LOG macros using strerror to SYS* macros
2xsec [Tue, 26 Jun 2018 08:16:37 +0000 (17:16 +0900)]
log: change ERROR macro using sterror to SYSERROR
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Tue, 26 Jun 2018 05:41:54 +0000 (14:41 +0900)]
log: remove strerror() from SYSERROR call
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Tue, 26 Jun 2018 05:33:17 +0000 (14:33 +0900)]
log: change DEBUG, INFO, TRACE, NOTICE macro using strerror to SYS* macro
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2xsec [Tue, 26 Jun 2018 05:06:09 +0000 (14:06 +0900)]
log: change WARN macro using strerror to SYSWARN
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
Christian Brauner [Mon, 25 Jun 2018 14:16:32 +0000 (16:16 +0200)]
Merge pull request #2429 from 2xsec/bugfix
log: add strerror_r macro
2xsec [Mon, 25 Jun 2018 13:00:43 +0000 (22:00 +0900)]
log: add lxc_log_strerror_r macro
Let's ensure that we always use the thread-safe strerror_r() function and add
an approriate macro.
Additionally, define SYS*() macros for all log levels. They will use the new
macro and ensure thread-safe retrieval of errno values.
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
[christian.brauner@ubuntu.com: simplify lxc_log_strerror_r macro]
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 25 Jun 2018 09:14:21 +0000 (11:14 +0200)]
Merge pull request #2428 from 2xsec/bugfix
move some comments in lxc.spec.in
2xsec [Mon, 25 Jun 2018 04:26:39 +0000 (13:26 +0900)]
move some comments in lxc.spec.in
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
Stéphane Graber [Fri, 22 Jun 2018 18:06:53 +0000 (14:06 -0400)]
Merge pull request #2425 from brauner/2018-06-22/cleanups
commands: simplify lxc_cmd()
Christian Brauner [Fri, 22 Jun 2018 14:35:25 +0000 (16:35 +0200)]
Merge pull request #2426 from 2xsec/bugfix
monitor: change exit() => _exit() system call in child process
2xsec [Fri, 22 Jun 2018 13:42:32 +0000 (22:42 +0900)]
monitor: change exit() => _exit() system call in child process
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
Christian Brauner [Fri, 22 Jun 2018 12:13:06 +0000 (14:13 +0200)]
commands: simplify lxc_cmd()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 22 Jun 2018 09:25:19 +0000 (11:25 +0200)]
Merge pull request #2419 from 2xsec/bugfix
secure coding: strcat => strncat
Donghwa Jeong [Fri, 22 Jun 2018 05:56:40 +0000 (14:56 +0900)]
btrfs: add to check return size of strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 05:36:46 +0000 (14:36 +0900)]
confile: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 04:31:43 +0000 (13:31 +0900)]
utils: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 04:20:17 +0000 (13:20 +0900)]
tool_utils: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 02:38:51 +0000 (11:38 +0900)]
pam_cgfs: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 02:30:18 +0000 (11:30 +0900)]
conf: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 02:06:04 +0000 (11:06 +0900)]
cgfsng: strncat => strlcat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Thu, 21 Jun 2018 01:58:31 +0000 (10:58 +0900)]
btrfs: fix wrong buffer size to append string
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Wed, 20 Jun 2018 09:34:24 +0000 (18:34 +0900)]
secure coding: cgfsng: strncat, strlcpy
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Wed, 20 Jun 2018 05:52:42 +0000 (14:52 +0900)]
secure coding: strcat => strncat
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Stéphane Graber [Wed, 20 Jun 2018 16:12:54 +0000 (12:12 -0400)]
Merge pull request #2423 from brauner/2018-06-20/fix_arch
btrfs: s/strncat()/strlcat()/g
Christian Brauner [Wed, 20 Jun 2018 15:53:19 +0000 (17:53 +0200)]
btrfs: s/strncat()/strlcat()/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 20 Jun 2018 15:24:52 +0000 (17:24 +0200)]
Merge pull request #2422 from monstermunchkin/fix/busybox-template
templates: Fix busybox template
Stéphane Graber [Wed, 20 Jun 2018 14:57:12 +0000 (10:57 -0400)]
Merge pull request #2420 from brauner/2018-06-20/strlcat
include: add strlcat() implementation
Thomas Hipp [Wed, 20 Jun 2018 14:21:31 +0000 (16:21 +0200)]
templates: Fix busybox template
Use `busybox --list`, and exclude the `busybox` applet if necessary.
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Christian Brauner [Wed, 20 Jun 2018 11:44:02 +0000 (13:44 +0200)]
include: add strlcat() implementation
CC: Donghwa Jeong <dh48.jeong@samsung.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 19 Jun 2018 09:30:57 +0000 (11:30 +0200)]
Merge pull request #2418 from 2xsec/bugfix
fix fd handle leak
Donghwa Jeong [Tue, 19 Jun 2018 01:37:47 +0000 (10:37 +0900)]
fix pointer c is dereferenced after checking null
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Tue, 19 Jun 2018 01:27:33 +0000 (10:27 +0900)]
fix fd handle leak
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Christian Brauner [Mon, 18 Jun 2018 09:42:59 +0000 (11:42 +0200)]
Merge pull request #2417 from 2xsec/bugfix
secure coding: #3 strcpy => strlcpy
Donghwa Jeong [Mon, 18 Jun 2018 09:21:23 +0000 (18:21 +0900)]
secure coding: #3 strcpy => strlcpy
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Christian Brauner [Mon, 18 Jun 2018 09:14:23 +0000 (11:14 +0200)]
Merge pull request #2416 from 2xsec/bugfix
conf: remove unused argument
Christian Brauner [Mon, 18 Jun 2018 08:56:53 +0000 (10:56 +0200)]
Merge pull request #2415 from 2xsec/bugfix
secure coding: #2 strcpy => strlcpy
Donghwa Jeong [Mon, 18 Jun 2018 08:47:33 +0000 (17:47 +0900)]
conf: remove unused argument
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Mon, 18 Jun 2018 08:18:14 +0000 (17:18 +0900)]
secure coding: #2 strcpy => strlcpy
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Christian Brauner [Mon, 18 Jun 2018 08:07:11 +0000 (10:07 +0200)]
Merge pull request #2414 from 2xsec/bugfix
secure coding: strcpy => strlcpy
Donghwa Jeong [Mon, 18 Jun 2018 04:42:48 +0000 (13:42 +0900)]
secure coding: network: strcpy => strlcpy
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Donghwa Jeong [Mon, 18 Jun 2018 02:30:41 +0000 (11:30 +0900)]
secure coding: strcpy => strlcpy
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
Serge Hallyn [Fri, 15 Jun 2018 12:49:03 +0000 (07:49 -0500)]
Merge pull request #2409 from brauner/2018-06-15/coverity
coverity
Christian Brauner [Fri, 15 Jun 2018 11:37:47 +0000 (13:37 +0200)]
coverity: #
1437027
Read from pointer after free
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 11:36:37 +0000 (13:36 +0200)]
coverity: #
1425855
String not null terminated
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 11:35:09 +0000 (13:35 +0200)]
coverity: #
1425789
Unchecked return value from library
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 11:34:04 +0000 (13:34 +0200)]
coverity: #
1425748
Time of check time of use
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Fri, 15 Jun 2018 11:23:26 +0000 (07:23 -0400)]
Merge pull request #2405 from brauner/2018-04-17/getgrgid_r
configure: check for getgrgid_r()
Christian Brauner [Fri, 15 Jun 2018 10:57:36 +0000 (12:57 +0200)]
coverity: #
1425850
Insecure temporary file
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 10:56:19 +0000 (12:56 +0200)]
coverity: #
1425846
Unchecked return value
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 10:55:06 +0000 (12:55 +0200)]
coverity: #
1425840
Unchecked return value
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 10:50:47 +0000 (12:50 +0200)]
coverity: #
1425837
String not null terminated
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 10:43:48 +0000 (12:43 +0200)]
coverity: #
1425825
Unchecked return value
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 10:41:09 +0000 (12:41 +0200)]
coverity: #
1425824
Missing break in switch
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 09:54:14 +0000 (11:54 +0200)]
coverity: #
1425819
Resource leak
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 09:52:04 +0000 (11:52 +0200)]
coverity: #
1425818
Dereference after null check
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 15 Jun 2018 09:49:10 +0000 (11:49 +0200)]
coverity: #
1425813
Resource leak
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>