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
1e11be34
Commit
1e11be34
authored
Jan 21, 2010
by
Daniel Lezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tab vs space indentation
Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
81810dd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
conf.c
src/lxc/conf.c
+7
-8
No files found.
src/lxc/conf.c
View file @
1e11be34
...
@@ -121,11 +121,11 @@ static struct mount_opt mount_opt[] = {
...
@@ -121,11 +121,11 @@ static struct mount_opt mount_opt[] = {
};
};
static
struct
caps_opt
caps_opt
[]
=
{
static
struct
caps_opt
caps_opt
[]
=
{
{
"chown"
,
CAP_CHOWN
},
{
"chown"
,
CAP_CHOWN
},
{
"dac_override"
,
CAP_DAC_OVERRIDE
},
{
"dac_override"
,
CAP_DAC_OVERRIDE
},
{
"dac_read_search"
,
CAP_DAC_READ_SEARCH
},
{
"dac_read_search"
,
CAP_DAC_READ_SEARCH
},
{
"fowner"
,
CAP_FOWNER
},
{
"fowner"
,
CAP_FOWNER
},
{
"fsetid"
,
CAP_FSETID
},
{
"fsetid"
,
CAP_FSETID
},
{
"kill"
,
CAP_KILL
},
{
"kill"
,
CAP_KILL
},
{
"setgid"
,
CAP_SETGID
},
{
"setgid"
,
CAP_SETGID
},
{
"setuid"
,
CAP_SETUID
},
{
"setuid"
,
CAP_SETUID
},
...
@@ -155,7 +155,6 @@ static struct caps_opt caps_opt[] = {
...
@@ -155,7 +155,6 @@ static struct caps_opt caps_opt[] = {
{
"setfcap"
,
CAP_SETFCAP
},
{
"setfcap"
,
CAP_SETFCAP
},
{
"mac_override"
,
CAP_MAC_OVERRIDE
},
{
"mac_override"
,
CAP_MAC_OVERRIDE
},
{
"mac_admin"
,
CAP_MAC_ADMIN
},
{
"mac_admin"
,
CAP_MAC_ADMIN
},
{
NULL
,
0
,
},
};
};
...
@@ -858,8 +857,8 @@ static int setup_caps(struct lxc_list *caps)
...
@@ -858,8 +857,8 @@ static int setup_caps(struct lxc_list *caps)
}
}
if
(
capid
<
0
)
{
if
(
capid
<
0
)
{
ERROR
(
"unknown capability %s"
,
drop_entry
);
ERROR
(
"unknown capability %s"
,
drop_entry
);
return
-
1
;
return
-
1
;
}
}
DEBUG
(
"drop capability '%s' (%d)"
,
drop_entry
,
capid
);
DEBUG
(
"drop capability '%s' (%d)"
,
drop_entry
,
capid
);
...
...
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