chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: allow lto and FORTIFY_SOURCE with -O[sz]
[elogind.git]
/
src
/
bus-proxyd
/
stdio-bridge.c
diff --git
a/src/bus-proxyd/stdio-bridge.c
b/src/bus-proxyd/stdio-bridge.c
index 434a989bfcc814790c2a4037dc89b4e4f957b4cf..35e69a5c01276fb801a43a05a7c4f3393d344fc1 100644
(file)
--- a/
src/bus-proxyd/stdio-bridge.c
+++ b/
src/bus-proxyd/stdio-bridge.c
@@
-21,36
+21,22
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <sys/types.h>
-#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <poll.h>
#include <stddef.h>
#include <getopt.h>
#include "log.h"
#include "util.h"
#include <stddef.h>
#include <getopt.h>
#include "log.h"
#include "util.h"
-#include "socket-util.h"
#include "sd-daemon.h"
#include "sd-bus.h"
#include "bus-internal.h"
#include "sd-daemon.h"
#include "sd-bus.h"
#include "bus-internal.h"
-#include "bus-message.h"
#include "bus-util.h"
#include "build.h"
#include "strv.h"
#include "def.h"
#include "bus-util.h"
#include "build.h"
#include "strv.h"
#include "def.h"
-#include "capability.h"
-#include "bus-control.h"
-#include "smack-util.h"
-#include "set.h"
-#include "bus-xml-policy.h"
-#include "driver.h"
#include "proxy.h"
#include "proxy.h"
-#include "synthesize.h"
static char *arg_address = NULL;
static char *arg_command_line_buffer = NULL;
static char *arg_address = NULL;
static char *arg_command_line_buffer = NULL;
@@
-246,7
+232,7
@@
int main(int argc, char *argv[]) {
if (r < 0)
goto finish;
if (r < 0)
goto finish;
- r = rename_service(p->dest_bus, p->local_bus);
+ r = rename_service(p->dest
ination
_bus, p->local_bus);
if (r < 0)
log_debug_errno(r, "Failed to rename process: %m");
if (r < 0)
log_debug_errno(r, "Failed to rename process: %m");