summaryrefslogtreecommitdiffstats
path: root/usr.sbin/radiusd/radiusd_local.h
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2015-07-27 08:58:09 +0000
committeryasuoka <yasuoka@openbsd.org>2015-07-27 08:58:09 +0000
commit3d3cf35c34048a9033acbb73a64e5c0b8e4dfa9a (patch)
tree4240133ff571da15e077a8dec4942cb40ab464ec /usr.sbin/radiusd/radiusd_local.h
parentMake -q suppress ambiguous option warnings too, from Cam Hutchison. (diff)
downloadwireguard-openbsd-3d3cf35c34048a9033acbb73a64e5c0b8e4dfa9a.tar.xz
wireguard-openbsd-3d3cf35c34048a9033acbb73a64e5c0b8e4dfa9a.zip
Drop the privilege from modules. "radiusd_radius" could simply run
without root. "radiusd_bsdauth" uses some functions which needs root. So separate its process into a privileged process and a non-privileged process.
Diffstat (limited to 'usr.sbin/radiusd/radiusd_local.h')
-rw-r--r--usr.sbin/radiusd/radiusd_local.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/radiusd/radiusd_local.h b/usr.sbin/radiusd/radiusd_local.h
index 26b3754b3f9..0195a6413d9 100644
--- a/usr.sbin/radiusd/radiusd_local.h
+++ b/usr.sbin/radiusd/radiusd_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: radiusd_local.h,v 1.1 2015/07/21 04:06:04 yasuoka Exp $ */
+/* $OpenBSD: radiusd_local.h,v 1.2 2015/07/27 08:58:09 yasuoka Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
@@ -128,8 +128,6 @@ struct radius_query {
#define nitems(_x) (sizeof((_x)) / sizeof((_x)[0]))
#endif
-#define RADIUSD_USER "_radiusd"
-
#ifdef RADIUSD_DEBUG
#define RADIUSD_DBG(x) log_debug x
#else