aboutsummaryrefslogtreecommitdiff
path: root/lib/socket-util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-14 14:32:14 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:29:20 -0700
commit5ca92d1d5dc0d8dba9ed554444cd0ae00a43209f (patch)
tree189dd562b11e7b1403a43e1447ea632a0d721004 /lib/socket-util.h
parentc50c79431efa7b85688fb4be61d97c5ee7a9c459 (diff)
socket-util: Remove 'passcred' parameter from make_unix_socket().
Nothing in the tree ever tries to send or receive credentials over a Unix domain socket so there's no point in configuring them to be received. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/socket-util.h')
-rw-r--r--lib/socket-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket-util.h b/lib/socket-util.h
index 56c72cd3..4a1df12e 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ int get_socket_rcvbuf(int sock);
int check_connection_completion(int fd);
int drain_rcvbuf(int fd);
void drain_fd(int fd, size_t n_packets);
-int make_unix_socket(int style, bool nonblock, bool passcred,
+int make_unix_socket(int style, bool nonblock,
const char *bind_path, const char *connect_path);
int get_unix_name_len(socklen_t sun_len);
ovs_be32 guess_netmask(ovs_be32 ip);