chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: fix return value on OOM
[elogind.git]
/
src
/
core
/
socket.h
diff --git
a/src/core/socket.h
b/src/core/socket.h
index 98396e73206e9b2adadc6a8d08801bb11a97ab9b..5acf214e1c73ca9202c1c188ec1ab92e85a8591d 100644
(file)
--- a/
src/core/socket.h
+++ b/
src/core/socket.h
@@
-23,8
+23,6
@@
typedef struct Socket Socket;
typedef struct Socket Socket;
-#include "manager.h"
-#include "unit.h"
#include "socket-util.h"
#include "mount.h"
#include "service.h"
#include "socket-util.h"
#include "mount.h"
#include "service.h"
@@
-101,7
+99,11
@@
struct Socket {
unsigned max_connections;
unsigned backlog;
unsigned max_connections;
unsigned backlog;
+ unsigned keep_alive_cnt;
usec_t timeout_usec;
usec_t timeout_usec;
+ usec_t keep_alive_time;
+ usec_t keep_alive_interval;
+ usec_t defer_accept;
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
@@
-161,6
+163,8
@@
struct Socket {
char *smack_ip_in;
char *smack_ip_out;
char *smack_ip_in;
char *smack_ip_out;
+ bool selinux_context_from_net;
+
char *user, *group;
};
char *user, *group;
};