summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-03-06 23:14:23 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-03-08 05:10:07 +0100
commitfd10cf027b56f9aaa80c9e3844626a05066589a4 (patch)
treed444bc6fe48f7254dcf17f36d56e485b5b604719 /match.h
parentupstream: Reset last-seen time when sending a keepalive. Prevents (diff)
downloadopenssh-fd10cf027b56f9aaa80c9e3844626a05066589a4.tar.xz
openssh-fd10cf027b56f9aaa80c9e3844626a05066589a4.zip
upstream: Move checks for lists of users or groups into their own
function. This is a no-op on OpenBSD but will make things easier in -portable, eg on systems where these checks should be case-insensitive. ok djm@ OpenBSD-Commit-ID: 8bc9c8d98670e23f8eaaaefe29c1f98e7ba0487e
Diffstat (limited to 'match.h')
-rw-r--r--match.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/match.h b/match.h
index 852b1a5cb..3a8a6ecdc 100644
--- a/match.h
+++ b/match.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: match.h,v 1.18 2018/07/04 13:49:31 djm Exp $ */
+/* $OpenBSD: match.h,v 1.19 2019/03/06 22:14:23 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -16,6 +16,7 @@
int match_pattern(const char *, const char *);
int match_pattern_list(const char *, const char *, int);
+int match_usergroup_pattern_list(const char *, const char *);
int match_hostname(const char *, const char *);
int match_host_and_ip(const char *, const char *, const char *);
int match_user(const char *, const char *, const char *, const char *);