Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
62fef886
Unverified
Commit
62fef886
authored
Feb 01, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: use lxc_log_trace()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
570e1173
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
conf.c
src/lxc/conf.c
+4
-8
No files found.
src/lxc/conf.c
View file @
62fef886
...
@@ -4112,8 +4112,7 @@ int userns_exec_1(const struct lxc_conf *conf, int (*fn)(void *), void *data,
...
@@ -4112,8 +4112,7 @@ int userns_exec_1(const struct lxc_conf *conf, int (*fn)(void *), void *data,
close_prot_errno_disarm
(
pipe_fds
[
0
]);
close_prot_errno_disarm
(
pipe_fds
[
0
]);
if
(
lxc_log_get_level
()
==
LXC_LOG_LEVEL_TRACE
||
if
(
lxc_log_trace
())
{
conf
->
loglevel
==
LXC_LOG_LEVEL_TRACE
)
{
struct
id_map
*
map
;
struct
id_map
*
map
;
struct
lxc_list
*
it
;
struct
lxc_list
*
it
;
...
@@ -4227,8 +4226,7 @@ int userns_exec_minimal(const struct lxc_conf *conf,
...
@@ -4227,8 +4226,7 @@ int userns_exec_minimal(const struct lxc_conf *conf,
close_prot_errno_disarm
(
sock_fds
[
0
]);
close_prot_errno_disarm
(
sock_fds
[
0
]);
if
(
lxc_log_get_level
()
==
LXC_LOG_LEVEL_TRACE
||
if
(
lxc_log_trace
())
{
conf
->
loglevel
==
LXC_LOG_LEVEL_TRACE
)
{
struct
id_map
*
map
;
struct
id_map
*
map
;
struct
lxc_list
*
it
;
struct
lxc_list
*
it
;
...
@@ -4412,8 +4410,7 @@ int userns_exec_full(struct lxc_conf *conf, int (*fn)(void *), void *data,
...
@@ -4412,8 +4410,7 @@ int userns_exec_full(struct lxc_conf *conf, int (*fn)(void *), void *data,
/* idmap will now keep track of that memory. */
/* idmap will now keep track of that memory. */
host_gid_map
=
NULL
;
host_gid_map
=
NULL
;
if
(
lxc_log_get_level
()
==
LXC_LOG_LEVEL_TRACE
||
if
(
lxc_log_trace
())
{
conf
->
loglevel
==
LXC_LOG_LEVEL_TRACE
)
{
lxc_list_for_each
(
cur
,
idmap
)
{
lxc_list_for_each
(
cur
,
idmap
)
{
map
=
cur
->
elem
;
map
=
cur
->
elem
;
TRACE
(
"establishing %cid mapping for
\"
%d
\"
in new "
TRACE
(
"establishing %cid mapping for
\"
%d
\"
in new "
...
@@ -4634,8 +4631,7 @@ int userns_exec_mapped_root(const char *path, int path_fd,
...
@@ -4634,8 +4631,7 @@ int userns_exec_mapped_root(const char *path, int path_fd,
close_prot_errno_disarm
(
sock_fds
[
0
]);
close_prot_errno_disarm
(
sock_fds
[
0
]);
if
(
lxc_log_get_level
()
==
LXC_LOG_LEVEL_TRACE
||
if
(
lxc_log_trace
())
{
conf
->
loglevel
==
LXC_LOG_LEVEL_TRACE
)
{
struct
id_map
*
map
;
struct
id_map
*
map
;
struct
lxc_list
*
it
;
struct
lxc_list
*
it
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment