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
09b5e84b
Unverified
Commit
09b5e84b
authored
Jul 17, 2020
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
af_unix: hide unnecessary symbols
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
931eca75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
22 deletions
+19
-22
Makefile.am
src/lxc/Makefile.am
+1
-0
af_unix.h
src/lxc/af_unix.h
+18
-22
No files found.
src/lxc/Makefile.am
View file @
09b5e84b
...
@@ -439,6 +439,7 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
...
@@ -439,6 +439,7 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
string_utils.c string_utils.h
\
string_utils.c string_utils.h
\
syscall_wrappers.h
syscall_wrappers.h
lxc_usernsexec_SOURCES
=
cmd/lxc_usernsexec.c
\
lxc_usernsexec_SOURCES
=
cmd/lxc_usernsexec.c
\
af_unix.c af_unix.h
\
conf.c conf.h
\
conf.c conf.h
\
file_utils.c file_utils.h
\
file_utils.c file_utils.h
\
list.h
\
list.h
\
...
...
src/lxc/af_unix.h
View file @
09b5e84b
...
@@ -10,35 +10,31 @@
...
@@ -10,35 +10,31 @@
#include "compiler.h"
#include "compiler.h"
/* does not enforce \0-termination */
/* does not enforce \0-termination */
extern
int
lxc_abstract_unix_open
(
const
char
*
path
,
int
type
,
int
flags
);
__hidden
extern
int
lxc_abstract_unix_open
(
const
char
*
path
,
int
type
,
int
flags
);
extern
void
lxc_abstract_unix_close
(
int
fd
);
__hidden
extern
void
lxc_abstract_unix_close
(
int
fd
);
/* does not enforce \0-termination */
/* does not enforce \0-termination */
extern
int
lxc_abstract_unix_connect
(
const
char
*
path
);
__hidden
extern
int
lxc_abstract_unix_connect
(
const
char
*
path
);
extern
int
lxc_abstract_unix_send_fds
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
__hidden
extern
int
lxc_abstract_unix_send_fds
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
void
*
data
,
void
*
data
,
size_t
size
)
size_t
size
)
__access_r
(
2
,
3
)
__access_r
(
4
,
5
);
__access_r
(
2
,
3
)
__access_r
(
4
,
5
);
extern
int
lxc_abstract_unix_send_fds_iov
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
__hidden
extern
int
lxc_abstract_unix_send_fds_iov
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
struct
iovec
*
iov
,
size_t
iovlen
)
struct
iovec
*
iov
,
size_t
iovlen
)
__access_r
(
2
,
3
);
__access_r
(
2
,
3
);
extern
int
lxc_abstract_unix_recv_fds
(
int
fd
,
int
*
recvfds
,
int
num_recvfds
,
__hidden
extern
int
lxc_abstract_unix_recv_fds
(
int
fd
,
int
*
recvfds
,
int
num_recvfds
,
void
*
data
,
void
*
data
,
size_t
size
)
size_t
size
)
__access_r
(
2
,
3
)
__access_r
(
4
,
5
);
__access_r
(
2
,
3
)
__access_r
(
4
,
5
);
extern
int
lxc_unix_send_fds
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
void
*
data
,
__hidden
extern
int
lxc_unix_send_fds
(
int
fd
,
int
*
sendfds
,
int
num_sendfds
,
void
*
data
,
size_t
size
);
size_t
size
);
extern
int
lxc_abstract_unix_send_credential
(
int
fd
,
void
*
data
,
size_t
size
)
__hidden
extern
int
lxc_abstract_unix_send_credential
(
int
fd
,
void
*
data
,
size_t
size
)
__access_r
(
2
,
3
);
__access_r
(
2
,
3
);
extern
int
lxc_abstract_unix_rcv_credential
(
int
fd
,
void
*
data
,
size_t
size
)
__hidden
extern
int
lxc_abstract_unix_rcv_credential
(
int
fd
,
void
*
data
,
size_t
size
)
__access_w
(
2
,
3
);
__access_w
(
2
,
3
);
extern
int
lxc_unix_sockaddr
(
struct
sockaddr_un
*
ret
,
const
char
*
path
);
__hidden
extern
int
lxc_unix_sockaddr
(
struct
sockaddr_un
*
ret
,
const
char
*
path
);
extern
int
lxc_unix_connect
(
struct
sockaddr_un
*
addr
);
__hidden
extern
int
lxc_unix_connect
(
struct
sockaddr_un
*
addr
);
extern
int
lxc_unix_connect_type
(
struct
sockaddr_un
*
addr
,
int
type
);
__hidden
extern
int
lxc_unix_connect_type
(
struct
sockaddr_un
*
addr
,
int
type
);
extern
int
lxc_socket_set_timeout
(
int
fd
,
int
rcv_timeout
,
int
snd_timeout
);
__hidden
extern
int
lxc_socket_set_timeout
(
int
fd
,
int
rcv_timeout
,
int
snd_timeout
);
#endif
/* __LXC_AF_UNIX_H */
#endif
/* __LXC_AF_UNIX_H */
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