diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-23 21:07:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-23 21:07:39 +0000 |
commit | 7cb5c8ff7c9d79ced51c98029197a952c66eb544 (patch) | |
tree | 98f245f9f5f2f23baded9af3964e6f22faa49ea7 /usr.sbin | |
parent | f7a92ed0f0f6a69ca158c30f3b26655bd66fa36b (diff) |
no more suid; ok miod
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/timed/timedc/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/timed/timedc/timedc.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/timed/timedc/Makefile b/usr.sbin/timed/timedc/Makefile index fc97f8f04a9..a51057808ef 100644 --- a/usr.sbin/timed/timedc/Makefile +++ b/usr.sbin/timed/timedc/Makefile @@ -1,13 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2002/05/16 08:25:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.6 2004/01/23 21:07:38 deraadt Exp $ # # @(#)Makefile 5.4 (Berkeley) 5/11/93 PROG= timedc SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c MAN= timedc.8 -BINOWN= root LDSTATIC=-static -BINMODE=4555 .PATH: ${.CURDIR}/../timed .include "../../Makefile.inc" diff --git a/usr.sbin/timed/timedc/timedc.c b/usr.sbin/timed/timedc/timedc.c index 7ba3b519738..01c11781c09 100644 --- a/usr.sbin/timed/timedc/timedc.c +++ b/usr.sbin/timed/timedc/timedc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timedc.c,v 1.12 2003/10/12 23:44:13 deraadt Exp $ */ +/* $OpenBSD: timedc.c,v 1.13 2004/01/23 21:07:38 deraadt Exp $ */ /*- * Copyright (c) 1985, 1993 The Regents of the University of California. @@ -71,9 +71,6 @@ main(int argc, char *argv[]) exit(1); } - (void) seteuid(getuid()); - (void) setuid(getuid()); - openlog("timedc", LOG_ODELAY, LOG_AUTH); sock = socket(AF_INET, SOCK_DGRAM, 0); |