diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-16 00:04:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-16 00:04:26 +0000 |
commit | 504aaad1fc4c8bed42da3d01490fbf6280726901 (patch) | |
tree | d41f1a3090c9a2a7d0b064d862a189f96c889021 /usr.sbin/amd | |
parent | f11245f4748e1a14cac97f14e0ef28eb18aff5dd (diff) |
give up on amd -M until amd gets proper localhost detection
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r-- | usr.sbin/amd/amd/amq_subr.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/amd/amd/amq_subr.c b/usr.sbin/amd/amd/amq_subr.c index 37e4142fb89..1355f22b201 100644 --- a/usr.sbin/amd/amd/amq_subr.c +++ b/usr.sbin/amd/amd/amq_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)amq_subr.c 8.1 (Berkeley) 6/6/93 - * $Id: amq_subr.c,v 1.2 1997/01/31 14:41:57 graichen Exp $ + * $Id: amq_subr.c,v 1.3 1997/02/16 00:04:25 deraadt Exp $ */ /* @@ -201,6 +201,7 @@ struct svc_req *rqstp; char *cp; plog(XLOG_INFO, "amq requested mount of %s", s); +#if 0 /* * Minimalist security check. */ @@ -208,6 +209,16 @@ struct svc_req *rqstp; rc = EACCES; return &rc; } +#else + /* + * Better security check. amd does not allocate a seperate + * socket to distinguish local connects; so the above security + * check is useless + */ + rc = EACCES; + return &rc; +#endif + /* * Find end of key |