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
4645c74c
Unverified
Commit
4645c74c
authored
Apr 19, 2017
by
Christian Brauner
Committed by
Stéphane Graber
Apr 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caps: return false if caps are not supported
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
1291d99a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
caps.h
src/lxc/caps.h
+2
-2
No files found.
src/lxc/caps.h
View file @
4645c74c
...
@@ -56,11 +56,11 @@ static inline int lxc_caps_last_cap(void) {
...
@@ -56,11 +56,11 @@ static inline int lxc_caps_last_cap(void) {
typedef
int
cap_value_t
;
typedef
int
cap_value_t
;
typedef
int
cap_flag_t
;
typedef
int
cap_flag_t
;
static
inline
bool
lxc_proc_cap_is_set
(
cap_value_t
cap
,
cap_flag_t
flag
)
{
static
inline
bool
lxc_proc_cap_is_set
(
cap_value_t
cap
,
cap_flag_t
flag
)
{
return
tru
e
;
return
fals
e
;
}
}
static
inline
bool
lxc_file_cap_is_set
(
const
char
*
path
,
cap_value_t
cap
,
cap_flag_t
flag
)
{
static
inline
bool
lxc_file_cap_is_set
(
const
char
*
path
,
cap_value_t
cap
,
cap_flag_t
flag
)
{
return
tru
e
;
return
fals
e
;
}
}
#endif
#endif
...
...
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