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
c4a090be
Unverified
Commit
c4a090be
authored
Nov 09, 2018
by
2xsec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pam_cgfs: remove dependency from cap & log
Signed-off-by:
2xsec
<
dh48.jeong@samsung.com
>
parent
f25a2044
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
Makefile.am
src/lxc/Makefile.am
+0
-2
file_utils.c
src/lxc/file_utils.c
+0
-3
pam_cgfs.c
src/lxc/pam/pam_cgfs.c
+2
-1
string_utils.c
src/lxc/string_utils.c
+1
-3
No files found.
src/lxc/Makefile.am
View file @
c4a090be
...
...
@@ -424,9 +424,7 @@ if HAVE_PAM
pam_LTLIBRARIES
=
pam_cgfs.la
pam_cgfs_la_SOURCES
=
pam/pam_cgfs.c
\
caps.c caps.h
\
file_utils.c file_utils.h
\
log.c log.h
\
macro.h
\
string_utils.c string_utils.h
...
...
src/lxc/file_utils.c
View file @
c4a090be
...
...
@@ -30,12 +30,9 @@
#include "config.h"
#include "file_utils.h"
#include "log.h"
#include "macro.h"
#include "string.h"
lxc_log_define
(
file_utils
,
lxc
);
int
lxc_write_to_file
(
const
char
*
filename
,
const
void
*
buf
,
size_t
count
,
bool
add_newline
,
mode_t
mode
)
{
...
...
src/lxc/pam/pam_cgfs.c
View file @
c4a090be
...
...
@@ -57,8 +57,9 @@
#include <unistd.h>
#include "config.h"
#include "file_utils.h"
#include "macro.h"
#include "utils.h"
#include "
string_
utils.h"
#define PAM_SM_SESSION
#include <security/_pam_macros.h>
...
...
src/lxc/string_utils.c
View file @
c4a090be
...
...
@@ -29,6 +29,7 @@
#include <inttypes.h>
#include <libgen.h>
#include <pthread.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
...
...
@@ -43,7 +44,6 @@
#include <unistd.h>
#include "config.h"
#include "log.h"
#include "lxclock.h"
#include "macro.h"
#include "namespace.h"
...
...
@@ -58,8 +58,6 @@
#include "include/strlcat.h"
#endif
lxc_log_define
(
string_utils
,
lxc
);
char
**
lxc_va_arg_list_to_argv
(
va_list
ap
,
size_t
skip
,
int
do_strdup
)
{
va_list
ap2
;
...
...
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