summaryrefslogtreecommitdiff
path: root/libexec/rexecd
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-26 19:44:12 +0000
committermycroft <mycroft@NetBSD.org>1998-07-26 19:44:12 +0000
commit5dd823ab5d3a4115f960bc5ddf9207e1f1ff93fa (patch)
tree9656381e57d700d575e038cf5bce309fc5a2fa84 /libexec/rexecd
parent778e6e0151f900f6a4b96d3a37feb7b01b319f73 (diff)
const poisoning.
Diffstat (limited to 'libexec/rexecd')
-rw-r--r--libexec/rexecd/rexecd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c
index 63f0e2003ca..1af2e71fc35 100644
--- a/libexec/rexecd/rexecd.c
+++ b/libexec/rexecd/rexecd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rexecd.c,v 1.5 1998/07/04 19:03:20 mrg Exp $ */
+/* $NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "from: @(#)rexecd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: rexecd.c,v 1.5 1998/07/04 19:03:20 mrg Exp $");
+__RCSID("$NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $");
#endif
#endif /* not lint */
@@ -117,7 +117,8 @@ doit(f, fromp)
struct sockaddr_in *fromp;
{
struct pollfd fds[2];
- char cmdbuf[NCARGS+1], *cp, *namep;
+ char cmdbuf[NCARGS+1], *namep;
+ const char *cp;
char user[16], pass[16];
char buf[BUFSIZ], sig;
struct passwd *pwd;
8-04-05 16:06:12 +0000'>2008-04-05use aprint_*_dev and device_xnamecegger 2008-02-06It's KAUTH_REQ_DEVICE_RAWIO_PASSTHRU_*.elad 2008-02-06- There is no XYCMD_WRP -- forgot to remove it along with the XYCMD_RDP :)elad 2008-02-04Properly classify kauth PASSTHRU requests.elad 2008-01-02Merge vmlocking2 to head.ad 2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had 2007-10-08Merge disk init changes from the vmlocking branch. These seperate init /ad 2007-07-29It's not a good idea for device drivers to modify b_flags, as they don'tad 2007-07-09Merge some of the less invasive changes from the vmlocking branch:ad 2007-03-04fix fall out from caddr_t changes.mrg 2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos 2007-01-04Consistent usage of KAUTH_GENERIC_ISSUSER.elad 2006-08-27don't call variables errno! including from userland breaks things!christos 2006-07-21- Use the LWP cached credentials where sane.ad 2006-05-15- include kauth.h for kauth_authorize_generic.yamt 2006-05-14integrate kauth.elad 2006-05-10Fix a bunch of cast lvalues.skrll 2006-03-28Use device_unit().thorpej 2005-12-11merge ktrace-lwp.christos 2005-10-15- change the way to specify a bufq strategy. (by string rather than by number)yamt 2005-06-03Add const.tsutsui 2005-02-27nuke trailing whitespaceperry 2005-02-04de-__Pperry 2004-10-28move buffer queue related stuffs from buf.h to their own header, bufq.h.yamt