Overload -h option to specify an optional hostname for remote access.

This is future-proofing; no policy plugins currently support this.
This commit is contained in:
Todd C. Miller
2013-07-16 16:31:05 -06:00
parent 1e4497331c
commit c2860cce57
3 changed files with 19 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
/* API version major/minor */
#define SUDO_API_VERSION_MAJOR 1
#define SUDO_API_VERSION_MINOR 3
#define SUDO_API_VERSION_MINOR 4
#define SUDO_API_MKVERSION(x, y) ((x << 16) | y)
#define SUDO_API_VERSION SUDO_API_MKVERSION(SUDO_API_VERSION_MAJOR, SUDO_API_VERSION_MINOR)