~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

« back to all changes in this revision

Viewing changes to src/rpcbind.c

  • Committer: Steve Langasek
  • Date: 2011-10-17 18:56:40 UTC
  • Revision ID: steve.langasek@canonical.com-20111017185640-o4znlqhozm5vsuue
also handle /var/run/rpcbind.sock

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
#define RPCBINDDLOCK "/run/rpcbind.lock"
93
93
 
 
94
/* Bypass the libtirpc definition, because we know that /var/run is a compat
 
95
 * symlink to /run. */
 
96
#ifdef _PATH_RPCBINDSOCK
 
97
#undef _PATH_RPCBINDSOCK
 
98
#endif
 
99
#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
 
100
 
94
101
int runasdaemon = 0;
95
102
int insecure = 0;
96
103
int oldstyle_local = 0;