From owner-cvs-libexec Sun Oct 20 12:53:03 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA10912 for cvs-libexec-outgoing; Sun, 20 Oct 1996 12:53:03 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA10895; Sun, 20 Oct 1996 12:52:54 -0700 (PDT) Date: Sun, 20 Oct 1996 12:52:54 -0700 (PDT) From: Bill Paul Message-Id: <199610201952.MAA10895@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ypxfr ypxfr_main.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/10/20 12:52:54 Modified: libexec/ypxfr ypxfr_main.c Log: Add a couple of reserved port checks: don't talk to either ypserv or rpc.ypxfrd processes on remote systems that aren't bound to reserved ports. The servers already do reserved port checks on the clients. Obtained from: scrutinizing the OpenBSD ypxfr sources. (Note that this applies to the ypserv check only; OpenBSD doesn't have an rpc.ypxfrd.) Revision Changes Path 1.5 +24 -5 src/libexec/ypxfr/ypxfr_main.c From owner-cvs-libexec Tue Oct 22 14:01:16 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02262 for cvs-libexec-outgoing; Tue, 22 Oct 1996 14:01:16 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02238; Tue, 22 Oct 1996 14:01:04 -0700 (PDT) Date: Tue, 22 Oct 1996 14:01:04 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610222101.OAA02238@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/mail.local mail.local.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/22 14:01:03 Modified: libexec/mail.local mail.local.c Log: Fixes: >Description: /usr/libexec/mail.local runs as root. As such is can fill up a mailbox on a quota'd filesystem, and keep going... Makes quota's almost useless in an ISP environment. Closes: PR#bin/1111 Submitted by: Charles Henrich Revision Changes Path 1.8 +30 -1 src/libexec/mail.local/mail.local.c From owner-cvs-libexec Tue Oct 22 14:12:07 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA03364 for cvs-libexec-outgoing; Tue, 22 Oct 1996 14:12:07 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA03301; Tue, 22 Oct 1996 14:11:52 -0700 (PDT) Date: Tue, 22 Oct 1996 14:11:52 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610222111.OAA03301@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/rshd rshd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/22 14:11:52 Modified: libexec/rshd rshd.c Log: Fixes: When an rsh is denied by rshd because the client is lacking appropriate .rhosts permission, an error message is formatted for syslog which contains the client's hostname. The hostname portion of the message relies on a pointer to a field within gethostbyname()'s internal struct hostent which changes state between when the pointer is initialized and when it is dereferenced to create th e message. Submitted by: skynyrd@opus.cts.cwu.edu Revision Changes Path 1.9 +2 -2 src/libexec/rshd/rshd.c From owner-cvs-libexec Tue Oct 22 15:04:23 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08761 for cvs-libexec-outgoing; Tue, 22 Oct 1996 15:04:23 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA08702; Tue, 22 Oct 1996 15:03:52 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15642(3)>; Tue, 22 Oct 1996 15:03:18 PDT Received: from localhost ([127.0.0.1]) by crevenia.parc.xerox.com with SMTP id <177529>; Tue, 22 Oct 1996 15:03:11 -0700 X-Mailer: exmh version 1.6.7 5/3/96 To: "Marc G. Fournier" cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org Subject: Re: cvs commit: src/libexec/mail.local mail.local.c In-reply-to: Your message of "Tue, 22 Oct 1996 14:01:04 PDT." <199610222101.OAA02238@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Oct 1996 15:02:55 PDT From: Bill Fenner Message-Id: <96Oct22.150311pdt.177529@crevenia.parc.xerox.com> Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Marc, mail.local no longer compiles. The declaration for saveeuid ended up in the function definition for deliver(), a "saveeuid=geteuid()" ended up in the middle of a comment, etc. Looks like patch failed miserably and you didn't check the output. Bill From owner-cvs-libexec Tue Oct 22 15:52:57 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA11849 for cvs-libexec-outgoing; Tue, 22 Oct 1996 15:52:57 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA11825; Tue, 22 Oct 1996 15:52:41 -0700 (PDT) Date: Tue, 22 Oct 1996 15:52:41 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610222252.PAA11825@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/mail.local mail.local.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/22 15:52:40 Modified: libexec/mail.local mail.local.c Log: Last time I trust 'sucess's on a non-context diff... Pointed out by: Bill Fenner Revision Changes Path 1.9 +23 -22 src/libexec/mail.local/mail.local.c From owner-cvs-libexec Tue Oct 22 18:44:09 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21527 for cvs-libexec-outgoing; Tue, 22 Oct 1996 18:44:09 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-30.rdcy01.pacbell.net [206.170.5.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA21522; Tue, 22 Oct 1996 18:44:05 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.6/8.7.3) with ESMTP id SAA25561; Tue, 22 Oct 1996 18:43:01 -0700 (PDT) Message-Id: <199610230143.SAA25561@precipice.shockwave.com> To: "Marc G. Fournier" cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org Subject: Re: cvs commit: src/libexec/mail.local mail.local.c In-reply-to: Your message of "Tue, 22 Oct 1996 15:52:41 PDT." <199610222252.PAA11825@freefall.freebsd.org> Date: Tue, 22 Oct 1996 18:43:01 -0700 From: Paul Traina Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk never, EVER apply a non-context diff to our source code. Punt it or do it by hand. From: "Marc G. Fournier" Subject: cvs commit: src/libexec/mail.local mail.local.c scrappy 96/10/22 15:52:40 Modified: libexec/mail.local mail.local.c Log: Last time I trust 'sucess's on a non-context diff... Pointed out by: Bill Fenner Revision Changes Path 1.9 +23 -22 src/libexec/mail.local/mail.local.c From owner-cvs-libexec Tue Oct 22 22:06:30 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA08714 for cvs-libexec-outgoing; Tue, 22 Oct 1996 22:06:30 -0700 (PDT) Received: (from scrappy@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA08548; Tue, 22 Oct 1996 22:05:35 -0700 (PDT) Date: Tue, 22 Oct 1996 22:05:35 -0700 (PDT) From: "Marc G. Fournier" Message-Id: <199610230505.WAA08548@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/mail.local mail.local.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk scrappy 96/10/22 22:05:34 Modified: libexec/mail.local mail.local.c Log: Totally botched ths patch...revert back to Rev 1.7, and request a proper context diff from the submitter... Revision Changes Path 1.10 +1 -31 src/libexec/mail.local/mail.local.c From owner-cvs-libexec Wed Oct 23 20:34:11 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04458 for cvs-libexec-outgoing; Wed, 23 Oct 1996 20:34:11 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04424; Wed, 23 Oct 1996 20:33:39 -0700 (PDT) Date: Wed, 23 Oct 1996 20:33:39 -0700 (PDT) From: Bill Paul Message-Id: <199610240333.UAA04424@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/mknetid mknetid.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/10/23 20:33:37 Modified: libexec/mknetid mknetid.c Log: Nuke a couple of useless lines of code from the /etc/netid parsing section. (Cut & paste-o.) Revision Changes Path 1.4 +2 -4 src/libexec/mknetid/mknetid.c From owner-cvs-libexec Fri Oct 25 09:13:30 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29195 for cvs-libexec-outgoing; Fri, 25 Oct 1996 09:13:30 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29170; Fri, 25 Oct 1996 09:13:12 -0700 (PDT) Date: Fri, 25 Oct 1996 09:13:12 -0700 (PDT) From: Bill Paul Message-Id: <199610251613.JAA29170@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ypxfr ypxfr_extern.h ypxfr_main.c ypxfr_misc.c ypxfrd_getmap.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/10/25 09:13:11 Modified: libexec/ypxfr ypxfr_extern.h ypxfr_main.c ypxfr_misc.c ypxfrd_getmap.c Log: Give ypxfr the ability to detect the presence of the YP_INTERDOMAIN and YP_SECURE flags so that it can properly add them to newly created maps when needed. This applies only when using the 'standard' method for map transfers. When using rpc.ypxfrd, the whole map is copied verbatim, along with any special entries that may be encoded in it. Also made -Wall a little quieter for ypxfrd_getmap.c. Revision Changes Path 1.3 +2 -1 src/libexec/ypxfr/ypxfr_extern.h 1.6 +36 -2 src/libexec/ypxfr/ypxfr_main.c 1.5 +48 -2 src/libexec/ypxfr/ypxfr_misc.c 1.3 +5 -2 src/libexec/ypxfr/ypxfrd_getmap.c