chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: avoid building selinux parts without have_selinux
[elogind.git]
/
src
/
socket.h
diff --git
a/src/socket.h
b/src/socket.h
index 1f4f23c96458d96c63d12bbdb34c6896c15e9294..6470d8b63e6f1119209e388ea6dbfc6dab17c60b 100644
(file)
--- a/
src/socket.h
+++ b/
src/socket.h
@@
-72,7
+72,7
@@
typedef enum SocketResult {
SOCKET_FAILURE_EXIT_CODE,
SOCKET_FAILURE_SIGNAL,
SOCKET_FAILURE_CORE_DUMP,
SOCKET_FAILURE_EXIT_CODE,
SOCKET_FAILURE_SIGNAL,
SOCKET_FAILURE_CORE_DUMP,
- SOCKET_FAILURE_SERVICE_
BROKEN
,
+ SOCKET_FAILURE_SERVICE_
FAILED_PERMANENT
,
_SOCKET_RESULT_MAX,
_SOCKET_RESULT_INVALID = -1
} SocketResult;
_SOCKET_RESULT_MAX,
_SOCKET_RESULT_INVALID = -1
} SocketResult;
@@
-129,6
+129,7
@@
struct Socket {
bool transparent;
bool broadcast;
bool pass_cred;
bool transparent;
bool broadcast;
bool pass_cred;
+ bool pass_sec;
int priority;
int mark;
size_t receive_buffer;
int priority;
int mark;
size_t receive_buffer;
@@
-149,7
+150,7
@@
struct Socket {
int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds);
/* Called from the service when it shut down */
int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds);
/* Called from the service when it shut down */
-void socket_notify_service_dead(Socket *s, bool
broken
);
+void socket_notify_service_dead(Socket *s, bool
failed_permanent
);
/* Called from the mount code figure out if a mount is a dependency of
* any of the sockets of this socket */
/* Called from the mount code figure out if a mount is a dependency of
* any of the sockets of this socket */