From owner-freebsd-bugs Sun Mar 24 21:01:20 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA19067 for bugs-outgoing; Sun, 24 Mar 1996 21:01:20 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA19047 Sun, 24 Mar 1996 21:01:13 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id PAA24812; Mon, 25 Mar 1996 15:57:02 +1100 Date: Mon, 25 Mar 1996 15:57:02 +1100 From: Bruce Evans Message-Id: <199603250457.PAA24812@godzilla.zeta.org.au> To: bugs@freebsd.org, igor@turtle.kiev.ua Subject: Re: A question concerning select(2) Cc: freebsd-hackers@freebsd.org Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > The point is that I can increase maxfilesperproc but cannot change >FD_SETSIZE dynamically because the constant is hardcoded into the kernel >and the implementation of select system call disallows to overrun it, >and so I can get a descriptor which cannot be used by select. > Am I wrong ? You're right. This is an old bug. Bruce From owner-freebsd-bugs Mon Mar 25 01:36:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA08043 for bugs-outgoing; Mon, 25 Mar 1996 01:36:08 -0800 (PST) Received: (from asami@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA08025 Mon, 25 Mar 1996 01:36:05 -0800 (PST) Date: Mon, 25 Mar 1996 01:36:05 -0800 (PST) From: Satoshi Asami Message-Id: <199603250936.BAA08025@freefall.freebsd.org> To: masafumi@tky007.tth.expo96.ad.jp, asami, freebsd-bugs Subject: Re: docs/1099 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Typo in /usr/src/share/doc/handbook/porting.sgml State-Changed-From-To: open-closed State-Changed-By: asami State-Changed-When: Mon Mar 25 01:35:40 PST 1996 State-Changed-Why: Suggested fix applied to porting.sgml. From owner-freebsd-bugs Tue Mar 26 08:09:32 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA19550 for bugs-outgoing; Tue, 26 Mar 1996 08:09:32 -0800 (PST) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA19528 for ; Tue, 26 Mar 1996 08:09:23 -0800 (PST) Received: (from henrich@localhost) by crh.cl.msu.edu (8.6.12/8.6.12) id LAA07145 for freebsd-bugs@freebsd.org; Tue, 26 Mar 1996 11:09:22 -0500 From: Charles Henrich Message-Id: <199603261609.LAA07145@crh.cl.msu.edu> Subject: Close Bug Report on mail.local To: freebsd-bugs@freebsd.org Date: Tue, 26 Mar 1996 11:09:22 -0500 (EST) X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk My patch was bogus, I'll have a new one shortly. I'm just curious what drugs I was on at the time! -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich From owner-freebsd-bugs Tue Mar 26 10:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA04125 for bugs-outgoing; Tue, 26 Mar 1996 10:10:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA04116 Tue, 26 Mar 1996 10:10:02 -0800 (PST) Resent-Date: Tue, 26 Mar 1996 10:10:02 -0800 (PST) Resent-Message-Id: <199603261810.KAA04116@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, masafumi@tky007.tth.expo96.ad.jp Received: from mail.tky007.tth.expo96.ad.jp (root@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA03731 for ; Tue, 26 Mar 1996 10:01:35 -0800 (PST) Received: (from masafumi@localhost) by mail.tky007.tth.expo96.ad.jp (8.7.4/3.4W4-SMTP) id CAA25904; Wed, 27 Mar 1996 02:59:33 +0900 (JST) Message-Id: <199603261759.CAA25904@mail.tky007.tth.expo96.ad.jp> Date: Wed, 27 Mar 1996 02:59:33 +0900 (JST) From: Masafumi NAKANE Reply-To: masafumi@tky007.tth.expo96.ad.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/1100: type in /usr/src/share/doc/handbook/dialup.sgml Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1100 >Category: docs >Synopsis: type in /usr/src/share/doc/handbook/dialup.sgml >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 10:10:00 PST 1996 >Last-Modified: >Originator: Masafumi NAKANE >Organization: >Release: FreeBSD 2.2-960303-SNAP i386 >Environment: >Description: An incorrect path of ``dmesg'' is in the file. >How-To-Repeat: >Fix: Here's patch to : $Id: dialup.sgml,v 1.5 1996/01/31 14:26:02 mpp Exp $ to fix the typo. *** dialup.sgml.orig Thu Feb 1 01:23:56 1996 --- dialup.sgml Wed Mar 27 02:53:48 1996 *************** *** 211,217 **** command: ! /usr/sbin/dmesg | grep 'sio' For example, on a system with four serial ports, these are the --- 211,217 ---- command: ! /sbin/dmesg | grep 'sio' For example, on a system with four serial ports, these are the >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Mar 26 13:35:28 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA18897 for bugs-outgoing; Tue, 26 Mar 1996 13:35:28 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA18880 Tue, 26 Mar 1996 13:35:25 -0800 (PST) Date: Tue, 26 Mar 1996 13:35:25 -0800 (PST) From: Joerg Wunsch Message-Id: <199603262135.NAA18880@freefall.freebsd.org> To: masafumi@tky007.tth.expo96.ad.jp, joerg, freebsd-bugs Subject: Re: docs/1100 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: type in /usr/src/share/doc/handbook/dialup.sgml State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Tue Mar 26 22:34:23 MET 1996 State-Changed-Why: Suggested fix applied in rev 1.6 . From owner-freebsd-bugs Tue Mar 26 16:20:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA13719 for bugs-outgoing; Tue, 26 Mar 1996 16:20:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA13689 Tue, 26 Mar 1996 16:20:04 -0800 (PST) Resent-Date: Tue, 26 Mar 1996 16:20:04 -0800 (PST) Resent-Message-Id: <199603270020.QAA13689@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, kargl@troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA13339 for ; Tue, 26 Mar 1996 16:18:23 -0800 (PST) Received: (from root@localhost) by troutmask.apl.washington.edu (8.6.12/8.6.9) id QAA07538; Tue, 26 Mar 1996 16:20:10 -0800 Message-Id: <199603270020.QAA07538@troutmask.apl.washington.edu> Date: Tue, 26 Mar 1996 16:20:10 -0800 From: "Steven G. Kargl" Reply-To: kargl@troutmask.apl.washington.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1101: f2c's -krd option in f77 (patch enclosed) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1101 >Category: gnu >Synopsis: f2c's -krd does not work with f77 wrapper >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 16:20:02 PST 1996 >Last-Modified: >Originator: Steven G. Kargl >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: >Description: f77 command does not accept the -krd f2c option. >From f2c manpage: -kr Use temporary values to enforce Fortran expression evaluation where K&R (first edition) parenthesiza- tion rules allow rearrangement. If the option is `-krd', use double precision temporaries even for single-precision operands. >How-To-Repeat: %f77 -krd some_fortran_file.f >Fix: *** gcc.c.orig Tue Mar 26 15:59:42 1996 --- gcc.c Tue Mar 26 16:00:24 1996 *************** *** 720,726 **** {"@f2c", "f2c %{checksubscripts:-C} %{I2} %{onetrip} %{honorcase:-U} %{u} %{w}\ %{ANSIC:-A} %{a} %{C++}\ ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr}\ %{P} %{p} %{r} %{r8} %{s} %{w8} %{z} %{N*}\ %i %{!pipe: -o %g.c} %{pipe:-o -}|\n", "cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ --- 720,726 ---- {"@f2c", "f2c %{checksubscripts:-C} %{I2} %{onetrip} %{honorcase:-U} %{u} %{w}\ %{ANSIC:-A} %{a} %{C++}\ ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr} %{krd}\ %{P} %{p} %{r} %{r8} %{s} %{w8} %{z} %{N*}\ %i %{!pipe: -o %g.c} %{pipe:-o -}|\n", "cpp -lang-c %{nostdinc*} %{C} %{v} %{A*} %{I*} %{P} %I\ >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Mar 26 19:30:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA10589 for bugs-outgoing; Tue, 26 Mar 1996 19:30:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA10581 Tue, 26 Mar 1996 19:30:06 -0800 (PST) Resent-Date: Tue, 26 Mar 1996 19:30:06 -0800 (PST) Resent-Message-Id: <199603270330.TAA10581@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, smpatel@xi.dorm.umd.edu Received: from xi.dorm.umd.edu (xi.dorm.umd.edu [129.2.152.45]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA10164 for ; Tue, 26 Mar 1996 19:27:49 -0800 (PST) Received: (from smpatel@localhost) by xi.dorm.umd.edu (8.7.4/8.6.12) id WAA00525; Tue, 26 Mar 1996 22:27:47 -0500 (EST) Message-Id: <199603270327.WAA00525@xi.dorm.umd.edu> Date: Tue, 26 Mar 1996 22:27:47 -0500 (EST) From: Sujal Patel Reply-To: smpatel@xi.dorm.umd.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1102 >Category: kern >Synopsis: Differentiation of FreeBSD & Linux ELF binaries [patch] >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 19:30:03 PST 1996 >Last-Modified: >Originator: Sujal Patel >Organization: Sujal >Release: FreeBSD 2.2-CURRENT i386 >Environment: -current >Description: Since the ELF format provides no way to tell the difference between FreeBSD, SysV, and Linux ELF binaries, we need to devise a way to set the correct compatibility sysvec for ELF binaries. Dynamic bins work fine, but static ELF binaries are always assumed to be FreeBSD (therefore Linux ELF binaries do not work in -current). I've heard / thought of 3 possible fixes: 1. Use a wrapper program that will pass in the sysvec to use when running a binary. I.E. you'd need to invoke a static ELF binary with something like "compat -linux linux.helloworld.elf.static". This is pretty messy IMO. 2. Use one of the unused bytes in the ELF e_ident to store an "OS Type". The problem with this is that you'd need to alter a Linux ELF binary to add the "OS Type". While this wouldn't break anything, it's very messy. 3. Follow the "interp" sections hints (current behavior) unless the environment variable COMPAT_SYSVEC exists. If the variable exists, it overrides the sysvec in the "interp" section. This means that we can now invoke Linux ELF binaries by: (export COMPAT_SYSVEC=linux; linux.helloworld.elf.static) I think solution #3 would be the cleanest way to do this... The patch below will implement this solution. It works great here. >How-To-Repeat: >Fix: This implements solution #3 from above. Valid values for the COMPAT_SYSVEC environment variable are currently "freebsd" and "linux". Don't forget to recompile the linux LKM since this edits a header file. diff -ur ./i386/linux/linux_sysvec.c /usr/src/sys/i386/linux/linux_sysvec.c --- ./i386/linux/linux_sysvec.c Tue Mar 26 21:58:57 1996 +++ /usr/src/sys/i386/linux/linux_sysvec.c Tue Mar 26 21:02:37 1996 @@ -405,6 +405,7 @@ Elf32_Interp_info linux_interp = { &elf_linux_sysvec, "/lib/ld-linux.so.1", + "linux", "/compat/linux" }; diff -ur ./kern/imgact_elf.c /usr/src/sys/kern/imgact_elf.c --- ./kern/imgact_elf.c Tue Mar 26 22:00:55 1996 +++ /usr/src/sys/kern/imgact_elf.c Tue Mar 26 21:54:35 1996 @@ -92,6 +92,7 @@ static Elf32_Interp_info freebsd_interp = { &elf_freebsd_sysvec, "/usr/libexec/ld-elf.so.1", + "freebsd", "" }; static Elf32_Interp_info *interp_list[MAX_INTERP] = { @@ -475,6 +476,8 @@ u_long addr, entry = 0, proghdr = 0; int error, i, header_size = 0, interp_len = 0; char *interp = NULL; + char path[MAXPATHLEN]; + char *sp; /* * Do we have a valid ELF header ? @@ -608,31 +611,67 @@ addr = 2*MAXDSIZ; /* May depend on OS type XXX */ - if (interp) { - char path[MAXPATHLEN]; + /* + * See if the user wants to override the sysvec with the sysvec + * in the COMPAT_SYSVEC environment variable + */ + sp = imgp->stringbase; + + for (i = 0; i < imgp->argc; i++) { + while (*sp++); /* Constructed by kernel, should be valid */ + } + + for (i = 0; i < imgp->envc; i++) { + while (*sp++); /* Constructed by kernel, should be valid */ + + if (bcmp (sp, "COMPAT_SYSVEC=", 13) == 0) { + sp += 14; /* sp points to the osname */ + break; + } + } + + if (*sp == NULL) + sp = NULL; + else + UPRINTF ("sysvec %s requested by user\n", sp); + + if (interp || sp) { /* * So which kind of ELF binary do we have at hand * FreeBSD, SVR4 or Linux ?? */ for (i=0; ipath)) { - imgp->proc->p_sysent = - interp_list[i]->sysvec; - strcpy(path, interp_list[i]->emul_path); - strcat(path, interp_list[i]->path); - UPRINTF("interpreter=<%s> %s\n", - interp_list[i]->path, - interp_list[i]->emul_path); - break; - } - } + if (interp_list[i] == NULL) + continue; + + /* User's sysvec always overrides the interp section */ + if (sp && (strcmp(sp, interp_list[i]->osname))) + continue; + + if (interp && (strcmp(interp, interp_list[i]->path))) + continue; + + imgp->proc->p_sysent = interp_list[i]->sysvec; + strcpy(path, interp_list[i]->emul_path); + strcat(path, interp_list[i]->path); + UPRINTF("interpreter=<%s> %s\n", interp_list[i]->path, + interp_list[i]->emul_path); + break; } if (i == MAX_INTERP) { - uprintf("ELF interpreter %s not known\n", interp); + if (sp == 0) { + uprintf("ELF interpreter %s not known\n", + interp); + } else { + uprintf("COMPAT_SYSVEC %s not known\n", + sp); + } error = ENOEXEC; goto fail; } + } + + if (interp) { if (error = elf_load_file(imgp->proc, path, &addr, /* XXX */ diff -ur ./sys/imgact_elf.h /usr/src/sys/sys/imgact_elf.h --- ./sys/imgact_elf.h Tue Mar 26 21:59:04 1996 +++ /usr/src/sys/sys/imgact_elf.h Tue Mar 26 21:01:30 1996 @@ -202,6 +202,7 @@ typedef struct { struct sysentvec *sysvec; char *path; + char *osname; /* OS name for user specified override */ char *emul_path; } Elf32_Interp_info; >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Mar 26 23:48:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04093 for bugs-outgoing; Tue, 26 Mar 1996 23:48:54 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04079 Tue, 26 Mar 1996 23:48:52 -0800 (PST) Date: Tue, 26 Mar 1996 23:48:52 -0800 (PST) From: Joerg Wunsch Message-Id: <199603270748.XAA04079@freefall.freebsd.org> To: kargl@troutmask.apl.washington.edu, joerg, freebsd-bugs Subject: Re: gnu/1101 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: f2c's -krd does not work with f77 wrapper State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Wed Mar 27 08:47:06 MET 1996 State-Changed-Why: Suggested fix applied in rev 1.6 of gcc.c. From owner-freebsd-bugs Tue Mar 26 23:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04163 for bugs-outgoing; Tue, 26 Mar 1996 23:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04141 Tue, 26 Mar 1996 23:50:01 -0800 (PST) Date: Tue, 26 Mar 1996 23:50:01 -0800 (PST) Message-Id: <199603270750.XAA04141@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: gnu/1101: f2c's -krd option in f77 (patch enclosed) Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR gnu/1101; it has been noted by GNATS. From: J Wunsch To: kargl@troutmask.apl.washington.edu Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/1101: f2c's -krd option in f77 (patch enclosed) Date: Wed, 27 Mar 1996 08:40:45 +0100 (MET) As Steven G. Kargl wrote: > >Fix: > > *** gcc.c.orig Tue Mar 26 15:59:42 1996 > --- gcc.c Tue Mar 26 16:00:24 1996 > *************** > *** 720,726 **** > {"@f2c", > "f2c %{checksubscripts:-C} %{I2} %{onetrip} %{honorcase:-U} %{u} %{w}\ > %{ANSIC:-A} %{a} %{C++}\ > ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr}\ ... > ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr} %{krd}\ The only problem i've got with this kind of specs is that cc(1) now does also recognize -kr and -krd as valid options, even for C sources where it shouldn't. However, since this was also present before your patch, i'll commit it this way. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Tue Mar 26 23:51:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04270 for bugs-outgoing; Tue, 26 Mar 1996 23:51:08 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04259 Tue, 26 Mar 1996 23:51:06 -0800 (PST) Date: Tue, 26 Mar 1996 23:51:06 -0800 (PST) From: Joerg Wunsch Message-Id: <199603270751.XAA04259@freefall.freebsd.org> To: henrich@msu.edu, joerg, freebsd-bugs Subject: Re: misc/1088 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: mail.local will happily overfill a users mailbox putting them over quota State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Wed Mar 27 08:50:25 MET 1996 State-Changed-Why: My patch was bogus, I'll have a new one shortly. I'm just curious what drugs I was on at the time! From owner-freebsd-bugs Wed Mar 27 07:12:26 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA02196 for bugs-outgoing; Wed, 27 Mar 1996 07:12:26 -0800 (PST) Received: from SOLO ([129.72.251.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA02191 for ; Wed, 27 Mar 1996 07:12:22 -0800 (PST) From: Brett_Glass@InfoWorld.com Message-Id: <199603271512.HAA02191@freefall.freebsd.org> Date: Wed, 27 Mar 96 08:12:18 To: Subject: Mail program coredumps X-Mailer: IBM WebExplorer DLL Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Immediately after installing FreeBSD 2.0.1, I tried to run mail, the standard mail user agent. The machine coredumped. This happened not only for root but for other user accounts. Is this a symptom of a known problem? I've had no time to introduce any changes to the system, so I am concerned that it is a bug. From owner-freebsd-bugs Wed Mar 27 07:25:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA02993 for bugs-outgoing; Wed, 27 Mar 1996 07:25:46 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA02982 for ; Wed, 27 Mar 1996 07:25:30 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id CAA08504; Thu, 28 Mar 1996 02:20:59 +1100 Date: Thu, 28 Mar 1996 02:20:59 +1100 From: Bruce Evans Message-Id: <199603271520.CAA08504@godzilla.zeta.org.au> To: freebsd-bugs@freefall.freebsd.org, j@uriah.heep.sax.de Subject: Re: gnu/1101: f2c's -krd option in f77 (patch enclosed) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > *** gcc.c.orig Tue Mar 26 15:59:42 1996 > > --- gcc.c Tue Mar 26 16:00:24 1996 > > *************** > > *** 720,726 **** > > {"@f2c", > > "f2c %{checksubscripts:-C} %{I2} %{onetrip} %{honorcase:-U} %{u} %{w}\ > > %{ANSIC:-A} %{a} %{C++}\ > > ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr}\ > ... > > ! %{c} %{E} %{ec} %{ext} %{f} %{72} %{g} %{h} %{i2} %{kr} %{krd}\ > > The only problem i've got with this kind of specs is that cc(1) now > does also recognize -kr and -krd as valid options, even for C sources > where it shouldn't. However, since this was also present before your > patch, i'll commit it this way. The f2c part of the spec only applies to f2c. I thought that the f2c part of the spec was made redundant by f77. I hoped to delete it for the next import of gcc. However, f77 depends on gcc doing most of the spec handling. Bruce From owner-freebsd-bugs Wed Mar 27 08:49:51 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA08068 for bugs-outgoing; Wed, 27 Mar 1996 08:49:51 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA08063 for ; Wed, 27 Mar 1996 08:49:49 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with SMTP id IAA00978; Wed, 27 Mar 1996 08:49:31 -0800 (PST) To: Brett_Glass@InfoWorld.com cc: bugs@freebsd.org Subject: Re: Mail program coredumps In-reply-to: Your message of "Wed, 27 Mar 1996 08:12:18." <199603271512.HAA02191@freefall.freebsd.org> Date: Wed, 27 Mar 1996 08:49:31 -0800 Message-ID: <976.827945371@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Immediately after installing FreeBSD 2.0.1, I tried to run mail, the standard 2.0.1? Are you sure of your version number here? Are you sure this is even FreeBSD? ;-) BSDI has a version 2.0.1, which makes me wonder. > mail user agent. The machine > coredumped. This happened not only for root but for other user accounts. The machine coredumped? You mean it panic'd? Jordan From owner-freebsd-bugs Wed Mar 27 09:00:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA08766 for bugs-outgoing; Wed, 27 Mar 1996 09:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA08739 Wed, 27 Mar 1996 09:00:02 -0800 (PST) Resent-Date: Wed, 27 Mar 1996 09:00:02 -0800 (PST) Resent-Message-Id: <199603271700.JAA08739@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, scrappy@ki.net Received: from ki.net (root@ki.net [142.77.249.8]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA08642 for ; Wed, 27 Mar 1996 08:58:31 -0800 (PST) Received: (from root@localhost) by ki.net (8.7.4/8.7.4) id LAA00502; Wed, 27 Mar 1996 11:17:17 -0500 (EST) Message-Id: <199603271617.LAA00502@ki.net> Date: Wed, 27 Mar 1996 11:17:17 -0500 (EST) From: "Marc G. Fournier" Reply-To: scrappy@ki.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1103: panic: vm_object_deallocate: object deallocated... Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1103 >Category: kern >Synopsis: panic: vm_object_deallocate: object deallocated... >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 09:00:01 PST 1996 >Last-Modified: >Originator: Marc G. Fournier >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1-STABLE #5: Tue Mar 26 14:40:09 EST 1996 scrappy@ki.net:/usr/src/sys/compile/kinet CPU: i486 DX4 (486-class CPU) Origin = "GenuineIntel" Id = 0x480 Stepping=0 Features=0x3 real memory = 16777216 (16384K bytes) avail memory = 14692352 (14348K bytes) Probing for devices on PCI bus 0: chip0 rev 49 on pci0:5 ncr0 rev 2 int a irq 12 on pci0:11 ncr0 waiting for scsi devices to settle (ncr0:0:0): "CONNER CFP1060S 1.05GB 243F" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 1013MB (2074880 512 byte sectors) (ncr0:1:0): "QUANTUM LPS340S 020B" type 0 fixed SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 327MB (670506 512 byte sectors) (ncr0:2:0): "QUANTUM LP240S GM240S01X 4.6" type 0 fixed SCSI 2 sd2(ncr0:2:0): Direct-Access sd2(ncr0:2:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 234MB (479350 512 byte sectors) (ncr0:3:0): "CONNER CFA540S 13B0" type 0 fixed SCSI 2 sd3(ncr0:3:0): Direct-Access sd3(ncr0:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. 515MB (1056708 512 byte sectors) vga0 rev 0 on pci0:15 Probing for devices on the ISA bus: ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:86:44:79, type WD8013EPC (16 bit) vt0 at 0x60-0x6f irq 1 on motherboard vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.20-b24] sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in aha0 not found at 0x330 ep0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface >Description: Don't know how/if this helps, but for some reason, if I try to panic after doing the trace in DDB, the dump just hangs, and I can't get a core dump out of this machine. panic: vm_object_deallocate: object deallocated too many times _Debugger() + 0x2b _panic() + 0x3b _vm_object_deallocate() + 0x21 _vn_close() + 0x70 _vn_closefile() + 0x19 _closef() + 0x12c _close() + 0x83 _syscall() + 0xf3 _Xsyscall() + 0x2b --- syscall 6, eip = 0x1cd95, ebp = 0xefbfd1cc --- >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Mar 27 09:10:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA09383 for bugs-outgoing; Wed, 27 Mar 1996 09:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA09373 Wed, 27 Mar 1996 09:10:01 -0800 (PST) Date: Wed, 27 Mar 1996 09:10:01 -0800 (PST) Message-Id: <199603271710.JAA09373@freefall.freebsd.org> To: freebsd-bugs Cc: From: Sujal Patel Subject: Re: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] Reply-To: Sujal Patel Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1102; it has been noted by GNATS. From: Sujal Patel To: Sujal Patel Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] Date: Wed, 27 Mar 1996 12:01:42 -0500 (EST) On Tue, 26 Mar 1996, Sujal Patel wrote: > >Synopsis: Differentiation of FreeBSD & Linux ELF binaries [patch] > > 3. Follow the "interp" sections hints (current behavior) unless the > environment variable COMPAT_SYSVEC exists. If the variable exists, it > overrides the sysvec in the "interp" section. This means that we can now > invoke Linux ELF binaries by: > > (export COMPAT_SYSVEC=linux; linux.helloworld.elf.static) Maybe I was a bit too tired when I wrote this patch, but I don't really think it's a good idea to let the kernel parse the environment :) How about instead of that, add an extra argument to the execve() syscall (to hold the emulation type requested), and then have libc pass in the emulation type requested (by reading the COMPAT_SYSVEC environment variable). Also, the libc exec() and friends can strip out the COMPAT_SYSVEC environment variable, so it is not inherited by the processes children (which is probably the desired behavior?). Comments? Sujal From owner-freebsd-bugs Wed Mar 27 09:20:00 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA10158 for bugs-outgoing; Wed, 27 Mar 1996 09:20:00 -0800 (PST) Received: from lserver.infoworld.com (lserver.infoworld.com [192.216.48.4]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA10148 for ; Wed, 27 Mar 1996 09:19:57 -0800 (PST) Received: from ccgate.infoworld.com by lserver.infoworld.com with smtp (Smail3.1.29.1 #12) id m0u1z9c-000ww7C; Wed, 27 Mar 96 09:37 PST Received: from cc:Mail by ccgate.infoworld.com id AA827947146; Wed, 27 Mar 96 10:08:01 PST Date: Wed, 27 Mar 96 10:08:01 PST From: "Brett Glass" Message-Id: <9602278279.AA827947146@ccgate.infoworld.com> To: "Jordan K. Hubbard" Cc: bugs@freebsd.org Subject: Re: Mail program coredumps Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I may have gotten the version number wrong. It's the latest formal release -- the one that came out this month. It was the mail program that coredumped; I didn't get a panic. --Brett From owner-freebsd-bugs Wed Mar 27 10:23:24 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA15131 for bugs-outgoing; Wed, 27 Mar 1996 10:23:24 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA15122 for bugs@freebsd.org; Wed, 27 Mar 1996 10:23:22 -0800 (PST) Date: Wed, 27 Mar 1996 10:23:22 -0800 (PST) From: Bruce Evans Message-Id: <199603271823.KAA15122@freefall.freebsd.org> To: bugs@freebsd.org Subject: opendir() broken for special files Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk opendir() attempts to open files before [f]stat()'ing them. This causes problems for special files for which open() has side effects. Try something like `echo /dev/nrst0/*' or `echo /dev/*/*' with a shell that tries opendir() on non-directories, e.g., bash (bash is apparently trying to avoid a syscall for the case where the file is a directory). I don't see a better fix than stat()ing the file in opendir(). Bruce diff -c2 src/lib/libc/gen/opendir.c~ src/lib/libc/gen/opendir.c *** src/lib/libc/gen/opendir.c~ Sun Apr 16 20:22:58 1995 --- src/lib/libc/gen/opendir.c Wed Mar 27 17:40:22 1996 *************** *** 57,60 **** --- 57,70 ---- struct stat sb; + /* + * stat() before open() because opening of special files may be + * harmful. fstat() after open because the file may have changed. + */ + if (stat(name, &sb) != 0) + return NULL; + if (!S_ISDIR(sb.st_mode)) { + errno = ENOTDIR; + return NULL; + } if ((fd = open(name, O_RDONLY | O_NONBLOCK)) == -1) return NULL; From owner-freebsd-bugs Thu Mar 28 02:53:16 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA16306 for bugs-outgoing; Thu, 28 Mar 1996 02:53:16 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA16277 for ; Thu, 28 Mar 1996 02:52:49 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA28818; Thu, 28 Mar 1996 12:52:23 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA14531; Thu, 28 Mar 1996 11:52:20 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA24169; Thu, 28 Mar 1996 10:45:15 +0100 (MET) From: J Wunsch Message-Id: <199603280945.KAA24169@uriah.heep.sax.de> Subject: Re: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] To: smpatel@wam.umd.edu Date: Thu, 28 Mar 1996 10:45:15 +0100 (MET) Cc: freebsd-bugs@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603271710.JAA09373@freefall.freebsd.org> from "Sujal Patel" at Mar 27, 96 09:10:01 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Sujal Patel wrote: > Maybe I was a bit too tired when I wrote this patch, but I don't really > think it's a good idea to let the kernel parse the environment :) Well, doesn't the execve() code have to copy the environment over to the new address space anyway? I remember that Data General did some hacking in their ELF binaries to differentiate between the ``ABI'' and ``DG/UX'' ELF binaries (where they could use several optimizations if not using the m88k ABI). So i figure there is some `flags' field inside ELF that can be (ab)used. The question is: do Linux and SVR4 ELF binaries differentiate in any way? (We could certainly differentiate our own binaries, but we'll also have to determine 3rd party programs.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Thu Mar 28 02:57:22 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA16686 for bugs-outgoing; Thu, 28 Mar 1996 02:57:22 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA16669 for ; Thu, 28 Mar 1996 02:56:35 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA28710 for ; Thu, 28 Mar 1996 12:50:48 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA14488 for freebsd-bugs@freefall.freebsd.org; Thu, 28 Mar 1996 11:50:48 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA23496 for freebsd-bugs@freefall.freebsd.org; Thu, 28 Mar 1996 09:05:10 +0100 (MET) From: J Wunsch Message-Id: <199603280805.JAA23496@uriah.heep.sax.de> Subject: Re: gnu/1101: f2c's -krd option in f77 (patch enclosed) To: freebsd-bugs@freefall.freebsd.org Date: Thu, 28 Mar 1996 09:05:09 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603271520.CAA08504@godzilla.zeta.org.au> from "Bruce Evans" at Mar 28, 96 02:20:59 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > The only problem i've got with this kind of specs is that cc(1) now > > does also recognize -kr and -krd as valid options, even for C sources > > where it shouldn't. However, since this was also present before your > > patch, i'll commit it this way. > > The f2c part of the spec only applies to f2c. That's with the cc(1) before my commit: j@uriah 353% touch foo.c j@uriah 354% cc -c -kr foo.c j@uriah 355% cc -c -krd foo.c cc: unrecognized option `-krd' j@uriah 356% rm foo* -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Thu Mar 28 02:57:40 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA16718 for bugs-outgoing; Thu, 28 Mar 1996 02:57:40 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA16297 for ; Thu, 28 Mar 1996 02:53:08 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA28835; Thu, 28 Mar 1996 12:52:44 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA14533; Thu, 28 Mar 1996 11:52:30 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA24231; Thu, 28 Mar 1996 10:49:38 +0100 (MET) From: J Wunsch Message-Id: <199603280949.KAA24231@uriah.heep.sax.de> Subject: Re: Mail program coredumps To: Brett_Glass@ccgate.infoworld.com (Brett Glass) Date: Thu, 28 Mar 1996 10:49:38 +0100 (MET) Cc: jkh@time.cdrom.com, bugs@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9602278279.AA827947146@ccgate.infoworld.com> from "Brett Glass" at Mar 27, 96 10:08:01 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Brett Glass wrote: > > I may have gotten the version number wrong. It's the latest formal release > -- the one that came out this month. It was the mail program that > coredumped; I didn't get a panic. It works for me. Can you run gdb mail mail.core and send the output of the gdb command ``where''? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Thu Mar 28 03:30:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA18639 for bugs-outgoing; Thu, 28 Mar 1996 03:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA18633 Thu, 28 Mar 1996 03:30:02 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 03:30:02 -0800 (PST) Resent-Message-Id: <199603281130.DAA18633@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA18288 for ; Thu, 28 Mar 1996 03:20:15 -0800 (PST) Received: (from obrien@localhost) by relay.nuxi.com (8.6.12/8.6.12) id DAA01305; Thu, 28 Mar 1996 03:20:15 -0800 Message-Id: <199603281120.DAA01305@relay.nuxi.com> Date: Thu, 28 Mar 1996 03:20:15 -0800 From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1104: Paper sizes in (printing) ports Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1104 >Category: ports >Synopsis: Paper sizes in (printing) ports >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 03:30:01 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: ports-current >Description: The a2ps and psutils ports assume the A4 paper size. This can be a gotcha to U.S. users. At first I figured there was something wrong with my printer setup. >How-To-Repeat: cd a2p; make; make install a2ps foo | lpr -P ps >Fix: So I would like to request that the psutils port be renamed to psutils-a4, and a2ps be renamed a2ps-a4. I will be submitting suitable a2ps-us and psutils-us portballs. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 06:21:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA00341 for bugs-outgoing; Thu, 28 Mar 1996 06:21:02 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA00331 for ; Thu, 28 Mar 1996 06:20:59 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id BAA01657; Fri, 29 Mar 1996 01:17:11 +1100 Date: Fri, 29 Mar 1996 01:17:11 +1100 From: Bruce Evans Message-Id: <199603281417.BAA01657@godzilla.zeta.org.au> To: freebsd-bugs@freefall.freebsd.org, j@uriah.heep.sax.de Subject: Re: gnu/1101: f2c's -krd option in f77 (patch enclosed) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > The only problem i've got with this kind of specs is that cc(1) now >> > does also recognize -kr and -krd as valid options, even for C sources >That's with the cc(1) before my commit: >j@uriah 353% touch foo.c >j@uriah 354% cc -c -kr foo.c >j@uriah 355% cc -c -krd foo.c >cc: unrecognized option `-krd' It apparently accepts the options for all the specs and then just doesn't use them if tehy don't apply to the command processors executed. Bruce From owner-freebsd-bugs Thu Mar 28 09:41:45 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA22237 for bugs-outgoing; Thu, 28 Mar 1996 09:41:45 -0800 (PST) Received: from lserver.infoworld.com (lserver.infoworld.com [192.216.48.4]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA22222 for ; Thu, 28 Mar 1996 09:41:43 -0800 (PST) Received: from ccgate.infoworld.com by lserver.infoworld.com with smtp (Smail3.1.29.1 #12) id m0u2LzK-000wuWC; Thu, 28 Mar 96 09:59 PST Received: from cc:Mail by ccgate.infoworld.com id AA828034818; Thu, 28 Mar 96 10:32:21 PST Date: Thu, 28 Mar 96 10:32:21 PST From: "Brett Glass" Message-Id: <9602288280.AA828034818@ccgate.infoworld.com> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: jkh@time.cdrom.com, bugs@FreeBSD.org Subject: Re: Mail program coredumps Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > It works for me. Can you run > gdb mail mail.core > and send the output of the gdb command ``where''? Unfortunately, I've already tried reinstalling. This seems to be a disk I/O error, though. From owner-freebsd-bugs Thu Mar 28 09:50:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA23041 for bugs-outgoing; Thu, 28 Mar 1996 09:50:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA23031 Thu, 28 Mar 1996 09:50:02 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 09:50:02 -0800 (PST) Resent-Message-Id: <199603281750.JAA23031@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, thomas@lemur.nord.de Received: from picard.nord.de (root@picard.nord.de [194.45.108.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA22592 for ; Thu, 28 Mar 1996 09:45:14 -0800 (PST) Received: from dagobert.lemur.nord.de (dagobert.lemur.nord.de [194.45.108.74]) by picard.nord.de (8.6.9/8.6.9) with ESMTP id SAA25589 for ; Thu, 28 Mar 1996 18:56:32 +0100 Received: (from thomas@localhost) by dagobert.lemur.nord.de (8.6.12/8.6.12) id SAA10186; Thu, 28 Mar 1996 18:38:25 +0100 Message-Id: <199603281738.SAA10186@dagobert.lemur.nord.de> Date: Thu, 28 Mar 1996 18:38:25 +0100 From: Thomas Wintergerst Reply-To: thomas@lemur.nord.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1105: Bug in find command Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1105 >Category: bin >Synopsis: Bug in find command >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 09:50:01 PST 1996 >Last-Modified: >Originator: Thomas Wintergerst >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: >Description: The option "fstype" does not handle the argument "msdos" correctly. This error results from changing the name for the msdos file system from "pcfs" to "msdos". >How-To-Repeat: I changed the script "/etc/daily" to not descend into my DOS partition (directory "/dos") while cleaning the directory tree. I added the option "... -fstype msdos -a prune -o ..." for the find command to do this. >Fix: The following patch will solve this problem: *** usr/src/usr.bin/find/function.c.org Mon Oct 9 08:57:35 1995 --- usr/src/usr.bin/find/function.c Tue Mar 26 16:22:05 1996 *************** *** 419,436 **** new->mt_data = MOUNT_MFS; return (new); } ! break; ! case 'n': ! if (!strcmp(arg, "nfs")) { new->flags = F_MTTYPE; ! new->mt_data = MOUNT_NFS; return (new); } break; ! case 'p': ! if (!strcmp(arg, "msdos")) { new->flags = F_MTTYPE; ! new->mt_data = MOUNT_MSDOS; return (new); } break; --- 419,434 ---- new->mt_data = MOUNT_MFS; return (new); } ! if (!strcmp(arg, "msdos")) { new->flags = F_MTTYPE; ! new->mt_data = MOUNT_MSDOS; return (new); } break; ! case 'n': ! if (!strcmp(arg, "nfs")) { new->flags = F_MTTYPE; ! new->mt_data = MOUNT_NFS; return (new); } break; >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 10:10:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24209 for bugs-outgoing; Thu, 28 Mar 1996 10:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24203 Thu, 28 Mar 1996 10:10:02 -0800 (PST) Date: Thu, 28 Mar 1996 10:10:02 -0800 (PST) Message-Id: <199603281810.KAA24203@freefall.freebsd.org> To: freebsd-bugs Cc: From: Garrett Wollman Subject: bin/1105: Bug in find command Reply-To: Garrett Wollman Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1105; it has been noted by GNATS. From: Garrett Wollman To: thomas@lemur.nord.de Cc: FreeBSD-gnats-submit@freebsd.org Subject: bin/1105: Bug in find command Date: Thu, 28 Mar 1996 13:01:47 -0500 < said: > The option "fstype" does not handle the argument "msdos" correctly. > This error results from changing the name for the msdos file system > from "pcfs" to "msdos". This problem, while is should get fixed, does not exist in Lite-2 because Lite-2 uses getvfsbyname(3) to interpret filesystem names. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-bugs Thu Mar 28 12:00:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA29248 for bugs-outgoing; Thu, 28 Mar 1996 12:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA29218 Thu, 28 Mar 1996 12:00:01 -0800 (PST) Date: Thu, 28 Mar 1996 12:00:01 -0800 (PST) Message-Id: <199603282000.MAA29218@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: ports/1104: Paper sizes in (printing) ports Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR ports/1104; it has been noted by GNATS. From: J Wunsch To: obrien@Nuxi.cs.ucdavis.edu Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/1104: Paper sizes in (printing) ports Date: Thu, 28 Mar 1996 20:33:15 +0100 (MET) As David E. O'Brien wrote: > So I would like to request that the psutils port be renamed to > psutils-a4, and a2ps be renamed a2ps-a4. Naturally, i would tend to oppose against this proposal (for the very same and thus equally valid arguments as you -- only seen from the other side of the pond, from the 20th century with a ``metric'' world :-). Perhaps we should tweak our ports to use a PAPERSIZE env variable to base their decisions upon? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Thu Mar 28 13:50:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09796 for bugs-outgoing; Thu, 28 Mar 1996 13:50:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09776 Thu, 28 Mar 1996 13:50:03 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 13:50:03 -0800 (PST) Resent-Message-Id: <199603282150.NAA09776@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA09466 for ; Thu, 28 Mar 1996 13:46:08 -0800 (PST) Received: (from obrien@localhost) by relay.nuxi.com (8.6.12/8.6.12) id NAA02221; Thu, 28 Mar 1996 13:46:19 -0800 Message-Id: <199603282146.NAA02221@relay.nuxi.com> Date: Thu, 28 Mar 1996 13:46:19 -0800 From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1106: a new port Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1106 >Category: ports >Synopsis: a new port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 13:50:02 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: FreeBSD 2.x >Description: I would like to submit a new (well modified) port of a2ps tailored for US users. >How-To-Repeat: n/a >Fix: see ftp.cdrom.com:/pub/FreeBSD/incoming/a2ps-us.tar.gz >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 13:50:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09801 for bugs-outgoing; Thu, 28 Mar 1996 13:50:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA09788 Thu, 28 Mar 1996 13:50:05 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 13:50:05 -0800 (PST) Resent-Message-Id: <199603282150.NAA09788@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA09497 for ; Thu, 28 Mar 1996 13:46:48 -0800 (PST) Received: (from obrien@localhost) by relay.nuxi.com (8.6.12/8.6.12) id NAA02323; Thu, 28 Mar 1996 13:46:52 -0800 Message-Id: <199603282146.NAA02323@relay.nuxi.com> Date: Thu, 28 Mar 1996 13:46:52 -0800 From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1107: a new port Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1107 >Category: ports >Synopsis: a new port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 13:50:04 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: FreeBSD 2.x >Description: I would like to submit a new (well modified) port of psutils tailored for US users. >How-To-Repeat: n/a >Fix: see ftp.cdrom.com:/pub/FreeBSD/incoming/psutils-us.tar.gz >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 14:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA10684 for bugs-outgoing; Thu, 28 Mar 1996 14:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA10647 Thu, 28 Mar 1996 14:00:04 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 14:00:04 -0800 (PST) Resent-Message-Id: <199603282200.OAA10647@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA10518 for ; Thu, 28 Mar 1996 13:58:33 -0800 (PST) Received: (from obrien@localhost) by relay.nuxi.com (8.6.12/8.6.12) id NAA02455; Thu, 28 Mar 1996 13:58:43 -0800 Message-Id: <199603282158.NAA02455@relay.nuxi.com> Date: Thu, 28 Mar 1996 13:58:43 -0800 From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1108: psutils port does not compress man pages Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1108 >Category: ports >Synopsis: psutils port does not compress man pages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 14:00:02 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: ports-current >Description: The port for psutils does not compress manpages on install. >How-To-Repeat: cd psutils ; make ; make install ; ls -l /usr/local/man/man1/psnup.1 >Fix: --- Makefile.orig Wed Nov 22 09:06:45 1995 +++ Makefile Thu Mar 28 13:59:08 1996 @@ -16,7 +16,29 @@ pre-install: @mkdir -p ${PREFIX}/share/psutils - @mkdir -p ${PREFIX}/man/man1 + @mkdir -p ${PREFIX}/share/man/man1 @mkdir -p ${PREFIX}/bin + +post-install: +.if !defined(NOMANCOMPRESS) + gzip -9nf ${PREFIX}/share/man/man1/psbook.1 + gzip -9nf ${PREFIX}/share/man/man1/psselect.1 + gzip -9nf ${PREFIX}/share/man/man1/pstops.1 + gzip -9nf ${PREFIX}/share/man/man1/epsffit.1 + gzip -9nf ${PREFIX}/share/man/man1/psnup.1 + gzip -9nf ${PREFIX}/share/man/man1/psresize.1 + gzip -9nf ${PREFIX}/share/man/man1/getafm.1 + gzip -9nf ${PREFIX}/share/man/man1/fixdlsrps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixfmps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixmacps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixpsditps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixpspps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixtpps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixwfwps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixwpps.1 + gzip -9nf ${PREFIX}/share/man/man1/fixwwps.1 + gzip -9nf ${PREFIX}/share/man/man1/extractres.1 + gzip -9nf ${PREFIX}/share/man/man1/includeres.1 +.endif .include >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 15:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA16414 for bugs-outgoing; Thu, 28 Mar 1996 15:10:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA16408 Thu, 28 Mar 1996 15:10:02 -0800 (PST) Resent-Date: Thu, 28 Mar 1996 15:10:02 -0800 (PST) Resent-Message-Id: <199603282310.PAA16408@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA15762 for ; Thu, 28 Mar 1996 15:00:51 -0800 (PST) Received: (from obrien@localhost) by relay.nuxi.com (8.6.12/8.6.12) id PAA03555; Thu, 28 Mar 1996 15:01:03 -0800 Message-Id: <199603282301.PAA03555@relay.nuxi.com> Date: Thu, 28 Mar 1996 15:01:03 -0800 From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1109: mods to vim-3.0 port Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1109 >Category: ports >Synopsis: mods to vim-3.0 port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 15:10:01 PST 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: ports-current >Description: The current Vim-3.0 port assumes you have X11R6 libraries around at compile/runtime. The current Vim-3.0 pkg assumes you have X11R6 libraries around at runtime. Currently the installed files do not adhear to hier(7). >How-To-Repeat: n/a >Fix: Replace current pkg/PLIST and patches/patch-aa with the following: PLIST: bin/vim share/misc/vim.hlp share/man/man1/vim.1.gz patch-aa: --- makefile.unix.orig Tue Aug 9 21:54:11 1994 +++ makefile.unix Thu Mar 28 14:36:26 1996 @@ -55,14 +55,17 @@ ### root directory for X11 files (unless overruled in hardware-dependend part) ### Unfortunately there is no standard for these, everybody puts them ### somewhere else -X11LIBDIR = /usr/openwin/lib -X11INCDIR = /usr/openwin/include +#X11LIBDIR = /usr/openwin/lib +#X11INCDIR = /usr/openwin/include ### for some hpux systems: #X11LIBDIR = /usr/lib/X11R5 #X11INCDIR = /usr/include/X11R5 +### for FreeBSD 2.x systems: +X11LIBDIR = /usr/X11R6/lib +X11INCDIR = /usr/X11R6/include ### Prefix for location of files -PREFIX = /usr/local +PREFIX += $(PREFIX) ### Location of binary BINLOC = $(PREFIX)/bin @@ -71,10 +74,10 @@ TARGET = vim ### Location of man page -MANLOC = $(PREFIX)/man/man1 +MANLOC = $(PREFIX)/share/man/man1 ### Location of help file -HELPLOC = $(PREFIX)/lib +HELPLOC = $(PREFIX)/share/misc ### Program to run on installed binary STRIP = strip @@ -157,9 +160,9 @@ # FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) # standard cc with optimizer # -#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -#CC=cc -O -L/usr/X386/lib -I/usr/X386/include -#LIBS = -ltermlib -lX11 +MACHINE = -DBSD_UNIX -DUSE_LOCALE # -DUSE_X11 +CC=cc -O -Wall # -I$(X11INCDIR) +LIBS = -ltermlib # -L$(X11LIBDIR) -lX11 # FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) # gcc with optimizer >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Mar 28 15:43:21 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18230 for bugs-outgoing; Thu, 28 Mar 1996 15:43:21 -0800 (PST) Received: (from jmz@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18212 Thu, 28 Mar 1996 15:43:19 -0800 (PST) Date: Thu, 28 Mar 1996 15:43:19 -0800 (PST) From: Jean-Marc Zucconi Message-Id: <199603282343.PAA18212@freefall.freebsd.org> To: obrien@Nuxi.cs.ucdavis.edu, jmz, freebsd-bugs Subject: Re: ports/1108 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: psutils port does not compress man pages State-Changed-From-To: open-closed State-Changed-By: jmz State-Changed-When: Thu Mar 28 15:33:08 PST 1996 State-Changed-Why: The submitted patch (slightly modified) has been applied. From owner-freebsd-bugs Thu Mar 28 16:34:20 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA21608 for bugs-outgoing; Thu, 28 Mar 1996 16:34:20 -0800 (PST) Received: from xi.dorm.umd.edu (xi.dorm.umd.edu [129.2.152.45]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA21603 for ; Thu, 28 Mar 1996 16:34:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by xi.dorm.umd.edu (8.7.4/8.6.12) with SMTP id TAA02679; Thu, 28 Mar 1996 19:33:22 -0500 (EST) Date: Thu, 28 Mar 1996 19:33:22 -0500 (EST) From: Sujal Patel X-Sender: smpatel@xi.dorm.umd.edu To: Joerg Wunsch cc: freebsd-bugs@freefall.freebsd.org Subject: Re: kern/1102: Differentiation of FreeBSD & Linux ELF binaries [patch] In-Reply-To: <199603280945.KAA24169@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 28 Mar 1996, J Wunsch wrote: > > Maybe I was a bit too tired when I wrote this patch, but I don't really > > think it's a good idea to let the kernel parse the environment :) > > Well, doesn't the execve() code have to copy the environment over to > the new address space anyway? This is true that the kernel brings it into kernel space, so parsing it is trivial. I was just pointing out that I don't think it's the kernel place to be doing this (should be done in libc). > I remember that Data General did some hacking in their ELF binaries to > differentiate between the ``ABI'' and ``DG/UX'' ELF binaries (where > they could use several optimizations if not using the m88k ABI). So i > figure there is some `flags' field inside ELF that can be (ab)used. > The question is: do Linux and SVR4 ELF binaries differentiate in any > way? (We could certainly differentiate our own binaries, but we'll > also have to determine 3rd party programs.) Without abusing some field (like the unused part of e_ident), I don't think there is any way to differentiate static binaries... There are some gross hacks to find out what OS compiled it, but none are really acceptable (even the way we determine what OS made dynamic binaries is kinda nasty, but there really is no other choice). Sujal From owner-freebsd-bugs Fri Mar 29 01:40:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA28159 for bugs-outgoing; Fri, 29 Mar 1996 01:40:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA28135 Fri, 29 Mar 1996 01:40:03 -0800 (PST) Resent-Date: Fri, 29 Mar 1996 01:40:03 -0800 (PST) Resent-Message-Id: <199603290940.BAA28135@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, masafumi@tky007.tth.expo96.ad.jp Received: from mail.tky007.tth.expo96.ad.jp (root@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA28061 for ; Fri, 29 Mar 1996 01:39:34 -0800 (PST) Received: (from masafumi@localhost) by mail.tky007.tth.expo96.ad.jp (8.7.4/3.4W4-SMTP) id SAA12290; Fri, 29 Mar 1996 18:40:35 +0900 (JST) Message-Id: <199603290940.SAA12290@mail.tky007.tth.expo96.ad.jp> Date: Fri, 29 Mar 1996 18:40:35 +0900 (JST) From: Masafumi NAKANE Reply-To: masafumi@tky007.tth.expo96.ad.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/1110: Reference to an obsolete doc in share/doc/handbook/dialup.sgml Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1110 >Category: docs >Synopsis: Reference to an obsolete doc in share/doc/handbook/dialup.sgml >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 01:40:01 PST 1996 >Last-Modified: >Originator: Masafumi NAKANE >Organization: >Release: FreeBSD 2.2-960303-SNAP i386 >Environment: >Description: In /usr/src/share/doc/dialup.sgml, there is suggestion to refer to file ``/sys/doc/options.doc'' which no longer exists in FreeBSD distribution. To avoid confusion, I believe modification is needed. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Mar 30 04:30:14 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA04456 for bugs-outgoing; Sat, 30 Mar 1996 04:30:14 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA04442 for freebsd-bugs; Sat, 30 Mar 1996 04:30:12 -0800 (PST) Date: Sat, 30 Mar 1996 04:30:12 -0800 (PST) From: GNU GNATS Message-Id: <199603301230.EAA04442@freefall.freebsd.org> To: freebsd-bugs Subject: List of open Problem Reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is the list of currently open problem reports [1994/11/18] conf/22 Cannot use links to share kernel objects [1994/11/30] kern/34 nullfs and union mounts can result in wild pointer r [1995/01/10] bin/104 pax -rwl may corrupt filesystem [1995/01/14] bin/115 systat iostat display doesn't scale high enough [1995/01/14] bin/116 disk transfer rates reported by systat :iostat are t [1995/01/14] bin/129 fsck cannot take a mount point as an argument [1995/01/14] bin/133 mail program doesn't have editheaders option [1995/01/15] bin/146 version of compress is kinda old and slow [1995/01/20] bin/153 mount -u improvement for diskless systems [1995/01/21] misc/166 /usr/include/machine/asmacros.h includes uninstalled [1995/01/21] bin/173 rc trys to mount modload fs before ld is available. [1995/01/21] bin/174 Poor error message from stty [1995/01/22] kern/176 EIDRM not defined in errno.h [1995/01/24] gnu/183 can't resolve "operator <<" overload [1995/01/24] bin/184 send-pr says "Aborting ..." and happily removes the [1995/01/30] gnu/196 size of bss in *.o's reported wrong by size [1995/01/30] bin/198 1.1.5.1 pine binary loops; top shows fancy values [1995/02/01] bin/199 quiz(6) reading database bug, pattern matching bug [1995/02/14] kern/216 /kernel: panic: ffs_alloccg: map corrupted [1995/02/16] kern/219 Performance on local net drops too much when SNDBUF [1995/03/02] misc/229 acos() core dump [1995/03/17] kern/247 Berkeley Packet Filter fix [1995/03/28] kern/275 qic-02 streamer won't work [1995/03/28] kern/281 Messages printed when checking CD ROM device too ver [1995/03/28] kern/282 buslogic adapter information WAY too verbose [1995/04/01] kern/291 PCI devices still probe/attach after being disabled [1995/04/09] bin/323 Creating lost+found causes fsck to stop fsck -y FDIV [1995/04/09] bin/326 Weekly cron generates some usage and error messages [1995/04/09] bin/329 FTP transfers above 99K shown in scientific notation [1995/04/15] kern/345 panic "biodone: page busy < 0" [1995/04/17] kern/349 Panic with bad dir [1995/04/20] kern/353 xcdplayer crashes machine (with NCR810 SCSI) [1995/04/20] misc/355 policy on /usr/local permission in base release [1995/04/20] bin/357 pkg_delete aborts when subcommand fails [1995/05/01] gnu/373 In response to admittedly bogus code, gcc emits an o [1995/05/01] kern/374 panic: bad dir [1995/05/08] bin/389 Simultaneous creation/deletion of dirs corrupts file [1995/05/12] bin/398 VI doesnt do the correct thing [1995/05/13] bin/401 Add REMOTE_* variables [1995/05/13] bin/402 w -n shows non-numeric addresses [1995/05/13] misc/403 FreeBSD 1-compiled tcsh, bash and zsh binaries dump [1995/05/14] kern/405 The gpio driver does not work with the AT-GPIB, only [1995/05/14] kern/416 page fault in syscons.c:scopen() [1995/05/14] bin/419 pkg_delete refuses to delete an incompletely added p [1995/05/15] misc/423 Sound devices are too insecure [1995/05/16] kern/425 arp entries not getting removed when interface chang [1995/05/16] kern/427 eg doesn't work with more than one card [1995/05/16] kern/428 configure is not foolproof [1995/05/23] i386/440 want vidcontrol option to apply settings to all sysc [1995/05/25] kern/443 65 sendmails crashes system [1995/05/26] i386/444 GUS sound driver does not seem to work. [1995/05/26] kern/446 unable to diskless-boot a PC when the server mounts [1995/05/27] gnu/450 tar --exclude -c doesn't work [1995/05/28] gnu/451 cvsinit/cvs doesn't work as expected with perl [1995/05/29] bin/457 We may have an obscure csh bug [1995/05/30] docs/458 px doc does not find include figure [1995/05/31] kern/466 Unexpected disk errors with sector-mapping controlle [1995/06/01] misc/469 ctm leaves temp files after errors [1995/06/05] kern/492 sysinstall shows "success" after "no space" failure. [1995/06/14] bin/514 Crash recovery impossible without static mt/chflags. [1995/06/15] bin/517 Bad group change with 'install' [1995/06/15] bin/519 execution of quotacheck from /etc/rc fails [1995/06/17] kern/528 slow 386 reports excessive interrupt-level buffer ov [1995/06/18] misc/530 Failed install from SCSI tape [1995/06/20] docs/536 No copyrights in usr/src/lib/libc/stdtime [1995/06/20] bin/537 FSCK Fails [1995/06/26] kern/565 slip freezes machine [1995/07/02] kern/579 sio: RS_IBUFSIZE at 256 bytes serial lines loose dat [1995/07/04] kern/587 if_le hangs on OACTIVE with 2k buffer [1995/07/04] kern/588 Configuration of DEC ethernet cards not possible [1995/07/05] bin/591 SPAP request REJexted in stead of NAKed [1995/07/06] i386/596 and conflict with _POSIX_SOURCE [1995/07/07] bin/599 pkg_add does not stop if dependencies are missing [1995/07/09] misc/605 NIS: get*bynis routine problems [1995/07/13] kern/611 WIDE-dhcp doesn't work with FreeBSD-2.0 bpf [1995/07/21] i386/631 if_ix does not support bpf, nor does it appear to su [1995/07/29] kern/638 Transmitted packets not passed to bpf in if_le.c [1995/08/01] docs/646 vmstat man page out of date [1995/08/01] bin/648 printf format conversion incorrect (duplicate) [1995/08/02] gnu/650 Current flex is outdated [1995/08/03] kern/652 Multiple addresses on one interface interacts badly [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, not in 2.0. [1995/08/07] bin/658 ifconfig alias has to be separately given [1995/08/07] bin/661 Hercules is not capable of having a ISO-Latin1 Scree [1995/08/11] gnu/672 Nor all ph headers get created [1995/08/11] ports/673 /bin/sh + inn1.4 innwatch going belly up [1995/08/11] bin/675 make does unnecessary rebuilds [1995/08/12] kern/677 X gets a bus error when calling mmap() [1995/08/13] bin/680 2.0.5's tip using termios doesn't act the way it did [1995/08/14] bin/683 cron(8) [1995/08/14] kern/688 Page fault: supervisor write, page not present [1995/08/15] i386/692 My modem is not found if my external cache is disabl [1995/08/16] bin/693 `pkg_add' is umask-sensitive [1995/08/16] kern/695 cat B > C ; cmp B C can fail! [1995/08/17] misc/697 "make -DCLOBBER" is broken [1995/08/18] kern/700 The comments in /sys/net/in.h are confusing [1995/08/21] kern/703 ppp not always deleting route properly when a ppp li [1995/08/22] bin/706 increased root DNS traffic and long latencies for r- [1995/08/29] bin/715 ls gives weird tabular form [1995/08/31] bin/716 W returns wrong results at login [1995/09/01] misc/717 ft.c attach fail on my Mountain tape drive [1995/09/02] bin/718 pkg_add incorrectly prints an error message [1995/09/15] bin/722 Off-by-one error in wbkgd() in ncurses [1995/09/19] bin/728 /bin/sh messes up quoting when going through eval [1995/09/21] docs/731 socketpair(2) and man page inconsistent about return [1995/09/23] docs/735 missing description for mount options in fstab(5) ma [1995/09/25] gnu/737 FreeBSD-current/src/gnu/usr.bin/gzip/Makefile [1995/09/26] bin/739 Some problems when an output filter reads all input [1995/09/26] docs/741 netstat -rn not showing all routes in Kernel - not i [1995/09/26] kern/742 syslog errors accessing Mac hard disks [patch] [1995/09/27] bin/743 vi cannot edit a file where the name starts with + [1995/09/27] bin/747 date(1) gives weird time zones and interprets GMT[+- [1995/09/27] kern/750 cd9660 confused by not-ready or I/O errors FDIV030 [1995/09/28] bin/751 crontab(1): `crontab -e' exits on SIGINT [1995/09/28] kern/752 setting multiple addresses for a single interfaces l [1995/09/28] kern/753 my archive scsi tape drive does not work [1995/09/28] docs/754 there is no man page for the psm(4) mouse driver [1995/10/01] kern/757 Removal of mounted CD-ROM causes reboot & single use [1995/10/01] bin/759 nfsd without arg's doesn't work [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem in use [1995/10/05] misc/767 Configure-time does time-warp on non-UTC CMOS - FDIV [1995/10/06] kern/770 Floppy kernel won't boot with T485 or IDT L2 cache F [1995/10/08] kern/772 page fault while in kernel mode (two cases) [1995/10/09] kern/774 dump fails with "slave couldn't reopen disk: Device [1995/10/11] bin/777 patch doesn't realize stdin is closed and asks quest [1995/10/12] bin/778 tar complains "EOF not on block boundary" on a good [1995/10/12] bin/779 #include gets undefined 'rune_t' type. [1995/10/14] kern/781 OPEN_MAX in kernel config and FD_SETSIZE in /usr/inc [1995/10/18] bin/786 Problem with NIS and large group maps [1995/10/23] bin/789 pkg_add doesn't work [1995/10/25] kern/792 cd9660 very slow. [1995/10/25] kern/793 ep0 cannot be configured and more. [1995/10/26] kern/794 swap partition at offset 0 still broken [1995/10/27] misc/796 Network install doesn't update /etc/hosts FDIV036 [1995/10/27] bin/797 X probeonly during install gets Not Found error FDIV [1995/10/29] kern/798 PPP panics, touches 0xdeadc0de pointers [1995/10/29] misc/799 sysinstall segfaults if part of distribution missing [1995/10/29] docs/801 rlogind k, v, and x options are not documented [1995/10/30] misc/802 default fstab mounts disks in bad order [1995/10/31] bin/803 bsd m4 chokes and dies while FSF m4 works... [1995/10/31] kern/806 kernel default parameters need tuning [1995/11/09] ports/814 unable to compile the port of "pine3.91" [1995/11/11] bin/815 mountd reports unknown hosts with non-informative me [1995/11/12] kern/820 scsi tape problems [1995/11/13] kern/821 Config doesn't properly trap signals [1995/11/16] bin/826 tcpmux listener in inetd does not work [1995/11/20] kern/830 installing hang [1995/11/20] kern/831 one minor complaint about the kernel visual config c [1995/11/21] i386/832 Tape drive busy errors - dump aborts [1995/11/21] i386/833 SCSI hard disks time out during tape rewind - FDIV03 [1995/11/22] kern/834 pcvt: console keyboard locks up randonly [1995/11/22] kern/835 ed panics with SMC ultra with iomem, if no iomem in [1995/11/24] misc/838 /usr/src/lib Makefile assumes you want to install... [1995/11/25] bin/839 by default, use of "at" is overly restricted [1995/11/27] bin/841 stale nfs mounts cannot be umounted [1995/11/27] kern/844 mbuf panic, dump available [1995/11/27] kern/845 Automatic reboot says you can abort but boots anyway [1995/11/27] conf/846 2.1R install disk tries to use sd0 even if not reque [1995/11/28] misc/848 Inst gripes about geometry but won't accept true val [1995/11/28] misc/849 Install skimps on inodes and newfs default is wrong [1995/11/28] bin/850 dump treats write-protect as an EOT & spoils set FDI [1995/11/29] bin/852 Sendmail is loosing mail (apparently)! [1995/11/30] bin/854 swapinfo shows incorrect information for vnconfig'd [1995/11/30] misc/856 Install 2.0.5 Upgrade option does too much damage FD [1995/11/30] ports/857 Need ANSI_C define to not declare some functions [1995/12/01] bin/859 /bin/sh -c does not ignore SIGINT [1995/12/02] kern/860 visual mode in kernel -c is too restrictive [1995/12/03] kern/861 sb16 support in 2.1 is erratic and has cosmetic defe [1995/12/03] kern/863 panic on kernel page fault, NULL curproc [1995/12/04] kern/866 pcvt causes system console to lock up [1995/12/04] i386/867 Notebook with APM and 3C589C in PCMCIA freezes after [1995/12/06] ports/869 xcdplayer installs itself is /usr/X11R6, not /usr/lo [1995/12/06] ports/871 port.subdir.mk DEBUG_FLAGS is not used for CFLAGS [1995/12/08] misc/875 Cleaned code using -Wall to remove warnings [1995/12/08] kern/876 NFS allows bogus accesses to cached data [1995/12/09] misc/882 Makefile is not smart enough to bypass libraries... [1995/12/09] ports/883 tclX-port does not build properly [1995/12/14] misc/893 terminfo.h not installed??? [1995/12/17] kern/900 ext2fs triggers divide by zero trap in vnode_pager_h [1995/12/18] kern/902 system becomes very sluggish, odd messages, odd vmst [1995/12/20] i386/906 /sys/i386/boot/netboot/nb8390.com cannot recognize N [1995/12/21] kern/907 scsi-dat tape station has stopped working [1995/12/21] bin/908 sed bug with trailing backslashes [1995/12/24] kern/912 unmount: dangling vnode [1995/12/24] conf/913 2.1.0-RELEASE, problem with cpio verbosity in instal [1995/12/25] bin/914 hayes dialer for tip fails 1st attempt to dial [1995/12/29] kern/919 weird output of vmstat, iostat, top [1995/12/29] kern/920 sio output looses chars in fifo on close() [1995/12/29] kern/921 getrusage() returns 0 after system up for a long tim [1995/12/31] kern/924 EISA devices have disappeared from vmstat/systat int [1996/01/01] bin/926 Mounting nfs disks before starting mountd: Chicken o [1996/01/02] kern/927 VGA mode not restored [1996/01/03] kern/930 sio/getty problem? [1996/01/06] kern/932 de0 occasionally enables 100baseTX when plugged into [1996/01/06] misc/934 ppp dies with Bus Error when processing long LOGIN s [1996/01/09] kern/940 panic: free vnode isn't [1996/01/12] misc/942 X11 mono server dumps core on supported video hardwa [1996/01/13] ports/944 Security fixes for Fvwm 1.24r [1996/01/15] kern/946 divide-by-zero in kernel on bad disk info [1996/01/16] kern/949 panic, undebugable dump? [1996/01/16] kern/950 Two PCI bridge chips fail (multiple multiport ethern [1996/01/17] kern/951 -current kernel crashes with devfs error on bootup [1996/01/19] ports/955 make CFLAGS=whatever for a port will not be honored [1996/01/19] kern/956 Kernel page fault, null callp [1996/01/19] bin/958 ttys file does not include all ptys [1996/01/20] i386/960 gameport enabling on ProAudio Spectrum isn't documen [1996/01/21] bin/961 'more $file', incorrect CRLF compacting. [1996/01/22] kern/962 panic on shutdown -- have crash dump [1996/01/23] ports/968 Netscape & cern_httpd ports out of date/dead links [1996/01/25] kern/971 Default limits for number of processes per user ridi [1996/01/25] conf/972 inetd.conf should comment out k-services if no Kerbe [1996/01/27] kern/974 ktrace causes panic: freeing busy page [1996/01/28] kern/975 getrusage returns negative deltas [1996/01/28] kern/976 NCR SCSI driver gives assertion errors and disk beco [1996/01/29] kern/977 system panic on sowakeup() [1996/01/29] kern/978 Three deadlocks in row [1996/01/29] kern/979 Linux programs using pipes crash system [1996/01/30] bin/981 clnt_broadcast() is not aware of aliases [1996/02/01] bin/986 problems make-ing with cd in the rule [1996/02/03] kern/989 devfs error messages on boot [1996/02/03] kern/991 pcvt keyboard doesn't accept input at crash reboot [1996/02/03] bin/993 g++ complains about /usr/include/machine/cpufunc.h [1996/02/04] kern/994 syscons bug in ESC[nX handling (w/fix) [1996/02/05] misc/995 /var/run/gated.pid is deleted [1996/02/06] kern/998 badness in file system silently crashes machine [1996/02/07] bin/999 /usr/share/mk/sys.mk missing common $(RM) macro [1996/02/07] docs/1000 miscellaneous man page bugs [1996/02/07] kern/1001 M_NAMEI malloc leak in the kernel [1996/02/08] ports/1005 netscape port is obsolete, mv netscape2 netscape [1996/02/08] kern/1008 Daily crash while writing network backups to local t [1996/02/09] kern/1012 vnode_pager_putpages: attempt to write meta-data!!! [1996/02/10] kern/1016 panic: vm_page_free: freeing free page, sddump: no s [1996/02/10] kern/1017 ssh stopped working between 15th Jan and 9th Feb [1996/02/12] kern/1018 panic: unwire: page not in pmap [1996/02/12] bin/1019 getty cannot detect ppp logins [1996/02/12] kern/1020 Boca 16-port board still hangs [1996/02/12] bin/1021 pppd doesn't handle PAP-only authentication well [1996/02/12] bin/1022 daily security report has too much junk in it [1996/02/12] docs/1023 using touch to create swap file for NFS doesn't work [1996/02/13] misc/1024 installation may delete partitions on existing boot [1996/02/14] kern/1026 deadlocks if parent vfork and child has cntrl termin [1996/02/14] kern/1027 panic on vm_map_insert [1996/02/14] bin/1028 shutdown -r does not seem to always complete [1996/02/15] bin/1029 cd behaves erraticly if cwd is a mount-point, which [1996/02/17] bin/1030 /bin/sh does not pass environment variables on prope [1996/02/18] kern/1034 Instant panic in -current [1996/02/19] bin/1035 ls to terminal always uses ? for non-printable chars [1996/02/19] docs/1036 List of dead xrefs in man pages [1996/02/19] bin/1037 2.x telnetd handles CTRL-M differently than other tt [1996/02/23] bin/1040 with certain flags, route can reboot your machine. [1996/02/25] i386/1042 Warning from sio driver reports wrong device FDIV045 [1996/02/26] misc/1043 vm_bounce_alloc error on 2.1 install with 4G drive [1996/02/26] docs/1044 clri(8) man page references man pages that don't exi [1996/02/27] kern/1045 Lockup: b_to_q to a clist with no reserved cblocks [1996/02/27] misc/1046 X dies with sig11 with -current [1996/02/27] gnu/1047 send-pr: Aborting... [1996/02/28] i386/1048 ep driver fails to detect card when told specific va [1996/02/28] kern/1049 /kernel: arpresolve: can't allocate llinfo for 194.1 [1996/02/28] bin/1050 Process (zip) hangs (unkillable) after floppy error [1996/02/29] ports/1051 zip fails on dos partition [1996/02/29] bin/1052 /bin/sh problem with new GCC (snapshot for 2.8) [1996/03/02] bin/1056 pppd fails if -detach [1996/03/04] kern/1059 null fs panics system [1996/03/05] i386/1062 sio probe blanks video on Intel Atlantis [1996/03/05] kern/1063 gzip a.out execution is not ok (?) [1996/03/05] kern/1064 Recursive panic? [1996/03/06] kern/1065 wt could crash reading short blocks [1996/03/06] kern/1066 Arnet driver: panic when ifconfig PPP -> HDLC [1996/03/08] bin/1068 man ignores -P option when combined with -k [1996/03/08] ports/1069 TkMan acts erroneusly on apropos [1996/03/09] bin/1070 /usr/bin/fstat doesn't display open, active pure tex [1996/03/09] ports/1072 tex port (ftplib.pl) does not support passive mode f [1996/03/09] bin/1073 telnet -8 does not work with SunOS or Solaris [1996/03/09] bin/1074 tty rows & columns settings sometimes reset to zero [1996/03/11] conf/1076 'make install' fails for /usr/src/share/examples in [1996/03/13] bin/1077 ipfw command doesn't work on 2.1-STABLE [1996/03/13] ports/1078 /usr/share/examples/sup/ports-supfile doesn't includ [1996/03/15] misc/1079 Can not work about get{host|net]byaddr on NIS. [1996/03/16] kern/1080 Panic @ _get_pt_entry+0x8 [1996/03/16] kern/1081 Fatal double fault [1996/03/16] kern/1082 Panic: _ed start(f01dc0ec) at ed start+0x315 [1996/03/17] kern/1086 PANIC: pagedaemon/_pmap_clear_reference+0xb2 [1996/03/17] kern/1087 Device close entry is not called when unmounting UFS [1996/03/18] docs/1089 stat manpage unclear about st_mtime & friends [1996/03/20] kern/1090 iostat displays incorrect sps count [1996/03/20] kern/1092 ftruncate(2) returns EINVAL [1996/03/20] bin/1093 route's diagnostic is weird [1996/03/21] bin/1095 make's continuation line handling buggy when used wi [1996/03/21] i386/1097 system hang during tape rewind/aic7870 controller [1996/03/23] kern/1098 File system corruption (2 cases) [1996/03/26] kern/1102 Differentiation of FreeBSD & Linux ELF binaries [pat [1996/03/27] kern/1103 panic: vm_object_deallocate: object deallocated... [1996/03/28] ports/1104 Paper sizes in (printing) ports [1996/03/28] bin/1105 Bug in find command [1996/03/28] ports/1106 a new port [1996/03/28] ports/1107 a new port [1996/03/28] ports/1109 mods to vim-3.0 port [1996/03/29] docs/1110 Reference to an obsolete doc in share/doc/handbook/d This is the list of problem reports already analyzed: [1994/12/01] kern/35 mount -t union -o -b : lower layer not seen by shell [1995/01/11] i386/105 Distributed libm (msun) has non-standard error handl [1995/01/22] docs/177 man pages missing for SYSV IPC funtions [1995/03/20] kern/260 msync and munmap don't bother to update mod times [1995/03/20] docs/264 There are no manual pages for the forms library. [1995/03/22] kern/267 NFS code gives error messages, systems jams for a fe [1995/05/09] bin/392 Simultaneous cp and ls of files on dos f/s hangs pro [1995/06/17] kern/527 dump causes assertion in ncr.c [1995/06/21] docs/538 MAP_FILE not mentioned in mmap man page. [1995/10/07] bin/771 telnet character mode not set and broken when set - [1995/10/15] kern/782 chmod does a null pointer dereference [1995/12/29] misc/922 From line handling incorrect in mail.local [1996/01/09] bin/941 pkg_create removes current directory if interupted [1996/01/22] kern/965 2.0.5: system crashes daily because of "multiple fre [1996/03/06] kern/1067 panic: ufs_lock: recursive lock not expected, pid: 2 /* EOF -- this list has not been truncated */ From owner-freebsd-bugs Sat Mar 30 04:30:15 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA04465 for bugs-outgoing; Sat, 30 Mar 1996 04:30:15 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA04445 for freebsd-bugs; Sat, 30 Mar 1996 04:30:12 -0800 (PST) Date: Sat, 30 Mar 1996 04:30:12 -0800 (PST) From: GNU GNATS Message-Id: <199603301230.EAA04445@freefall.freebsd.org> To: freebsd-bugs Subject: Summary of Problem Reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Number of currently open reports: 298 Number of curently analyzed reports: 15 From owner-freebsd-bugs Sat Mar 30 10:10:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA22563 for bugs-outgoing; Sat, 30 Mar 1996 10:10:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA22545 Sat, 30 Mar 1996 10:10:06 -0800 (PST) Resent-Date: Sat, 30 Mar 1996 10:10:06 -0800 (PST) Resent-Message-Id: <199603301810.KAA22545@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, henrich@crh.cl.msu.edu Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA22163 for ; Sat, 30 Mar 1996 10:06:30 -0800 (PST) Received: (from henrich@localhost) by crh.cl.msu.edu (8.6.12/8.6.12) id NAA00616; Sat, 30 Mar 1996 13:06:22 -0500 Message-Id: <199603301806.NAA00616@crh.cl.msu.edu> Date: Sat, 30 Mar 1996 13:06:22 -0500 From: henrich@crh.cl.msu.edu Reply-To: henrich@crh.cl.msu.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1111: mail.local bug (quota) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1111 >Category: bin >Synopsis: mail.local will happily deliver mail to a quota'd filesystem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 10:10:03 PST 1996 >Last-Modified: >Originator: Charles Henrich >Organization: Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1 (probably all BSD-4.4 derivitives). >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. >How-To-Repeat: send a mail message.. >Fix: Here's a patch to mail.local (tested, it works) to cause mail.local to become the user before delivery is attempted, which will fail for overquota. One note needs to be said about QUOTA's and mail, when one enables quota on a mail system sendmail must run a mail.local for each message (e.g. no lower m in the args F= in Mprog in sendmail.cf). If sendmail attempts multiple recipient delivery, and any recipient is over quota, the mail will be requeued for delivery again later. Unfortunatly everyone else who was delivered to at the same time, without error, will keep getting copies of the message until the entire delivery attempt was a success. This is an inherent flaw in mail.local, and not a result of this patch. *** mail.local.orig.c Sat Mar 30 12:59:43 1996 --- /tmp/mail.local.c Sat Mar 30 12:58:11 1996 *************** *** 199 **** --- 200 ---- + uid_t saveeuid; *************** *** 234 **** --- 236,237 ---- + + saveeuid=geteuid(); *************** *** 235 **** --- 239 ---- + *************** *** 246 **** --- 251,259 ---- + + /* Now that the box is created and permissions are correct, we + close it and go back to the top so that we will come in + and write as the user. We dont seteuid() before the above + open, because we have to be root/bin to write in var/mail */ + + close(mbfd); + goto tryagain; + *************** *** 251 **** --- 265,272 ---- + + /* Become the user, so quota enforcement will occur */ + + if(seteuid(pw->pw_uid) != 0) { + warn("Unable to setuid()"); + return; + } + *************** *** 258 **** --- 280 ---- + seteuid(saveeuid); *************** *** 265 **** --- 288,289 ---- + seteuid(saveeuid); + *************** *** 285 **** --- 310 ---- + *************** *** 304 **** --- 330 ---- + seteuid(saveeuid); *************** *** 311 **** --- 338 ---- + seteuid(saveeuid); *************** *** 313 **** --- 341,342 ---- + + seteuid(saveeuid); >Audit-Trail: >Unformatted: