From owner-cvs-lib Mon Dec 2 12:04:24 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA09639 for cvs-lib-outgoing; Mon, 2 Dec 1996 12:04:24 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA09616; Mon, 2 Dec 1996 12:04:10 -0800 (PST) Date: Mon, 2 Dec 1996 12:04:10 -0800 (PST) From: Wolfram Schneider Message-Id: <199612022004.MAA09616@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys _exit.2 access.2 chdir.2 chmod.2 chown.2 close.2 dup.2 getgid.2 getpgrp.2 getpid.2 getuid.2 kill.2 link.2 lseek.2 mkdir.2 mkfifo.2 read.2 rename.2 setpgid.2 setsid.2 setuid.2 sigaction.2 sigpending.2 sigprocmask.2 sigsuspend.2 stat.2 umask.2 write.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/12/02 12:04:10 Modified: lib/libc/sys _exit.2 access.2 chdir.2 chmod.2 chown.2 close.2 dup.2 getgid.2 getpgrp.2 getpid.2 getuid.2 kill.2 link.2 lseek.2 mkdir.2 mkfifo.2 read.2 rename.2 setpgid.2 setsid.2 setuid.2 sigaction.2 sigpending.2 sigprocmask.2 sigsuspend.2 stat.2 umask.2 write.2 Log: upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macro use ``is expected to conform to'' phrase, not ``conforms to'' Pointed out by: Bruce->NIST-PCTS Revision Changes Path 1.5 +3 -3 src/lib/libc/sys/_exit.2 1.3 +5 -4 src/lib/libc/sys/access.2 1.3 +5 -4 src/lib/libc/sys/chdir.2 1.4 +5 -4 src/lib/libc/sys/chmod.2 1.5 +5 -4 src/lib/libc/sys/chown.2 1.5 +5 -4 src/lib/libc/sys/close.2 1.4 +5 -5 src/lib/libc/sys/dup.2 1.3 +4 -3 src/lib/libc/sys/getgid.2 1.4 +2 -2 src/lib/libc/sys/getpgrp.2 1.4 +5 -4 src/lib/libc/sys/getpid.2 1.3 +5 -4 src/lib/libc/sys/getuid.2 1.3 +3 -4 src/lib/libc/sys/kill.2 1.5 +5 -5 src/lib/libc/sys/link.2 1.4 +3 -4 src/lib/libc/sys/lseek.2 1.3 +5 -4 src/lib/libc/sys/mkdir.2 1.3 +2 -2 src/lib/libc/sys/mkfifo.2 1.4 +4 -3 src/lib/libc/sys/read.2 1.3 +5 -4 src/lib/libc/sys/rename.2 1.2 +4 -3 src/lib/libc/sys/setpgid.2 1.4 +1 -1 src/lib/libc/sys/setsid.2 1.5 +2 -2 src/lib/libc/sys/setuid.2 1.8 +2 -2 src/lib/libc/sys/sigaction.2 1.3 +2 -2 src/lib/libc/sys/sigpending.2 1.3 +1 -1 src/lib/libc/sys/sigprocmask.2 1.3 +2 -3 src/lib/libc/sys/sigsuspend.2 1.7 +3 -4 src/lib/libc/sys/stat.2 1.3 +3 -3 src/lib/libc/sys/umask.2 1.5 +4 -3 src/lib/libc/sys/write.2 From owner-cvs-lib Tue Dec 3 07:38:46 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA21954 for cvs-lib-outgoing; Tue, 3 Dec 1996 07:38:46 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA21937; Tue, 3 Dec 1996 07:38:32 -0800 (PST) Date: Tue, 3 Dec 1996 07:38:32 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612031538.HAA21937@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getdomainname.3 src/lib/libc/sys _exit.2 access.2 chdir.2 chmod.2 chown.2 close.2 dup.2 getgid.2 getpgrp.2 getpid.2 getuid.2 kill.2 link.2 lseek.2 mkdir.2 mkfifo.2 read.2 rename.2 setpgid.2 setsid.2 setuid.2 sigaction.2 sigpending.2 sigprocmask.2 sigsuspend.2 stat.2 umask.2 write.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/03 07:38:31 Branch: lib/libc/gen RELENG_2_2 lib/libc/sys RELENG_2_2 Modified: lib/libc/gen getdomainname.3 lib/libc/sys _exit.2 access.2 chdir.2 chmod.2 chown.2 close.2 dup.2 getgid.2 getpgrp.2 getpid.2 getuid.2 kill.2 link.2 lseek.2 mkdir.2 mkfifo.2 read.2 rename.2 setpgid.2 setsid.2 setuid.2 sigaction.2 sigpending.2 sigprocmask.2 sigsuspend.2 stat.2 umask.2 write.2 Log: YAMFC Revision Changes Path 1.3.2.1 +13 -11 src/lib/libc/gen/getdomainname.3 1.4.2.1 +3 -3 src/lib/libc/sys/_exit.2 1.2.2.1 +5 -4 src/lib/libc/sys/access.2 1.2.2.1 +5 -4 src/lib/libc/sys/chdir.2 1.3.2.1 +5 -4 src/lib/libc/sys/chmod.2 1.4.2.1 +5 -4 src/lib/libc/sys/chown.2 1.4.2.1 +5 -4 src/lib/libc/sys/close.2 1.3.2.1 +5 -5 src/lib/libc/sys/dup.2 1.2.2.1 +4 -3 src/lib/libc/sys/getgid.2 1.3.2.1 +2 -2 src/lib/libc/sys/getpgrp.2 1.3.2.1 +5 -4 src/lib/libc/sys/getpid.2 1.2.2.1 +5 -4 src/lib/libc/sys/getuid.2 1.2.2.1 +3 -4 src/lib/libc/sys/kill.2 1.4.2.1 +5 -5 src/lib/libc/sys/link.2 1.3.2.1 +3 -4 src/lib/libc/sys/lseek.2 1.2.2.1 +5 -4 src/lib/libc/sys/mkdir.2 1.2.2.1 +2 -2 src/lib/libc/sys/mkfifo.2 1.3.2.1 +4 -3 src/lib/libc/sys/read.2 1.2.2.1 +5 -4 src/lib/libc/sys/rename.2 1.1.1.1.8.1 +4 -3 src/lib/libc/sys/setpgid.2 1.3.2.1 +1 -1 src/lib/libc/sys/setsid.2 1.4.2.1 +2 -2 src/lib/libc/sys/setuid.2 1.7.2.1 +2 -2 src/lib/libc/sys/sigaction.2 1.2.2.1 +2 -2 src/lib/libc/sys/sigpending.2 1.2.2.1 +1 -1 src/lib/libc/sys/sigprocmask.2 1.2.2.1 +2 -3 src/lib/libc/sys/sigsuspend.2 1.6.2.1 +3 -4 src/lib/libc/sys/stat.2 1.2.2.1 +3 -3 src/lib/libc/sys/umask.2 1.4.2.1 +4 -3 src/lib/libc/sys/write.2 From owner-cvs-lib Tue Dec 3 09:56:00 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA02173 for cvs-lib-outgoing; Tue, 3 Dec 1996 09:56:00 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA02153; Tue, 3 Dec 1996 09:55:51 -0800 (PST) Date: Tue, 3 Dec 1996 09:55:51 -0800 (PST) From: Bill Paul Message-Id: <199612031755.JAA02153@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/12/03 09:55:51 Modified: lib/libc/gen getpwent.c Log: Add support for detecting and hopefully using the passwd.adjunct.byname NIS map which is present on SunOS NIS servers with the SunOS C2 security hack^Woption installed. I'm convinced that the C2 security option restricts access to the passwd.adjunct.byname map in the same way that I restrict access to the master.passwd.{byname,buid} maps (checking for reserved ports), which means that we should be able to handle passwd.adjunct.byname map correctly. If _havemaster() doesn't find a master.passwd.byname map, it will now test for a passwd.adjunct.byname map before defaulting back to the standard non-shadowed passwd.{byname,byuid} maps. If _pw_breakout_yp() sees that the adjunct map was found and the password from the standard maps starts with ##, it will try to grab the correct password field from the adjunct map. As with the master.passwd maps, this only happens if the caller is root, so the shadowing feature is preserved; non-root users just get back ##username as the encrypted password. Note that all we do is grab the second field from the passwd.adjunct.byname entry, which is designated to be the real encrypted password. There are other auditing fields in the entry but they aren't of much use to us. Also switched back to using yp_order() to probe for the maps (instead of yp_first()). The original problem with yp_order() was that it barfed with NIS+ servers in YP compat mode since they don't support the YPPROC_ORDER procedure. This condition is handled a bit more gracefully in yplib now: we can detect the error and just punt on the probing. Revision Changes Path 1.36 +65 -13 src/lib/libc/gen/getpwent.c From owner-cvs-lib Tue Dec 3 15:03:38 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA18724 for cvs-lib-outgoing; Tue, 3 Dec 1996 15:03:38 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA18677; Tue, 3 Dec 1996 15:03:24 -0800 (PST) Date: Tue, 3 Dec 1996 15:03:24 -0800 (PST) From: Mike Pritchard Message-Id: <199612032303.PAA18677@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys semget.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/03 15:03:24 Modified: lib/libc/sys semget.2 Log: The semget man page uses the incorect symbol for alter access. Closes PR# 1712. Submitted by: Kent Vander Velden Revision Changes Path 1.2 +7 -7 src/lib/libc/sys/semget.2 From owner-cvs-lib Wed Dec 4 08:02:55 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA22823 for cvs-lib-outgoing; Wed, 4 Dec 1996 08:02:55 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA22796; Wed, 4 Dec 1996 08:02:44 -0800 (PST) Date: Wed, 4 Dec 1996 08:02:44 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612041602.IAA22796@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys semget.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/04 08:02:43 Branch: lib/libc/sys RELENG_2_2 Modified: lib/libc/sys semget.2 Log: YAMFC Revision Changes Path 1.1.4.1 +7 -7 src/lib/libc/sys/semget.2 From owner-cvs-lib Thu Dec 5 10:05:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21134 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:05:15 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21125; Thu, 5 Dec 1996 10:05:13 -0800 (PST) Date: Thu, 5 Dec 1996 10:05:13 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051805.KAA21125@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/db/recno rec_close.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:05:12 Modified: lib/libc/db/recno rec_close.c Log: make u_char * -> char * conversion explicit. Found-By: insight's "insure++" tool. Revision Changes Path 1.2 +39 -20 src/lib/libc/db/recno/rec_close.c From owner-cvs-lib Thu Dec 5 10:14:59 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21618 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:14:59 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21609; Thu, 5 Dec 1996 10:14:57 -0800 (PST) Date: Thu, 5 Dec 1996 10:14:57 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051814.KAA21609@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen gethostname.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:14:57 Modified: lib/libc/gen gethostname.c Log: gethostname() returns int, not long. Answered my own question by RTFM'ing. Either both the header files and the man pages are wrong or this code is, and I'll take the majority decision. :-) Revision Changes Path 1.2 +1 -1 src/lib/libc/gen/gethostname.c From owner-cvs-lib Thu Dec 5 10:22:03 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA22039 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:22:03 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA22030; Thu, 5 Dec 1996 10:22:02 -0800 (PST) Date: Thu, 5 Dec 1996 10:22:02 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051822.KAA22030@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getnetgrent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:22:01 Modified: lib/libc/gen getnetgrent.c Log: _key is a char array and we don't need to pass its address to _buildkey() when buildkey is expecting a char *. Revision Changes Path 1.18 +1 -1 src/lib/libc/gen/getnetgrent.c From owner-cvs-lib Thu Dec 5 10:27:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA22262 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:27:23 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA22253; Thu, 5 Dec 1996 10:27:21 -0800 (PST) Date: Thu, 5 Dec 1996 10:27:21 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051827.KAA22253@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen sethostname.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:27:21 Modified: lib/libc/gen sethostname.c Log: sethostname() returns int, not long. I could get used to having this copy of insure++, too bad the runtime only works for BSD/OS. :-( Maybe they'll be so impressed by my initial 15 entry bug report for it that they'll take the FreeBSD version more seriously. :-) :-) Revision Changes Path 1.2 +2 -2 src/lib/libc/gen/sethostname.c From owner-cvs-lib Thu Dec 5 10:41:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA23084 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:41:38 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA23075; Thu, 5 Dec 1996 10:41:36 -0800 (PST) Date: Thu, 5 Dec 1996 10:41:36 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051841.KAA23075@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/net getservent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:41:36 Modified: lib/libc/net getservent.c Log: Eliminate 3 more examples of gratutiously passing arrays by address. Everyone please call ParaSoft today and say "I will buy 57 copies of Insure++ tomorrow, but first I want a FreeBSD version." :-) Revision Changes Path 1.6 +3 -3 src/lib/libc/net/getservent.c From owner-cvs-lib Thu Dec 5 10:46:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA23333 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:46:24 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA23323; Thu, 5 Dec 1996 10:46:22 -0800 (PST) Date: Thu, 5 Dec 1996 10:46:22 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612051846.KAA23323@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/net ether_addr.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 10:46:21 Modified: lib/libc/net ether_addr.c Log: Remove more instances of passing arrays by address when they should have simply been passed as arrays. In some cases, casts had even been added to remove the warnings generated by such misuse! Aieee! Revision Changes Path 1.5 +7 -7 src/lib/libc/net/ether_addr.c From owner-cvs-lib Thu Dec 5 10:54:08 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA24061 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:54:08 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-91.rdcy01.pacbell.net [206.170.5.91]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA24050; Thu, 5 Dec 1996 10:54:02 -0800 (PST) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.3/8.7.3) with ESMTP id KAA03962; Thu, 5 Dec 1996 10:53:52 -0800 (PST) Message-Id: <199612051853.KAA03962@precipice.shockwave.com> To: "Jordan K. Hubbard" cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-reply-to: Your message of "Thu, 05 Dec 1996 10:41:36 PST." <199612051841.KAA23075@freefall.freebsd.org> Date: Thu, 05 Dec 1996 10:53:51 -0800 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk From: "Jordan K. Hubbard" Subject: cvs commit: src/lib/libc/net getservent.c jkh 96/12/05 10:41:36 Modified: lib/libc/net getservent.c Log: Eliminate 3 more examples of gratutiously passing arrays by address. Since I'm being so contrarian today, -Wall and -pedantic will find 95% of the same stuff that ParaSoft is finding, and we have it today. Everyone please call ParaSoft today and say "I will buy 57 copies of Insure++ tomorrow, but first I want a FreeBSD version." :-) Revision Changes Path 1.6 +3 -3 src/lib/libc/net/getservent.c From owner-cvs-lib Thu Dec 5 10:59:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA24317 for cvs-lib-outgoing; Thu, 5 Dec 1996 10:59:09 -0800 (PST) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA24312; Thu, 5 Dec 1996 10:59:03 -0800 (PST) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id TAA01094; Thu, 5 Dec 1996 19:58:57 +0100 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id VAA03917; Thu, 5 Dec 1996 21:00:17 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.4/keltia-uucp-2.9) id TAA23200; Thu, 5 Dec 1996 19:53:03 +0100 (CET) Message-ID: Date: Thu, 5 Dec 1996 19:53:03 +0100 From: roberto@keltia.freenix.fr (Ollivier Robert) To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c References: <199612051841.KAA23075@freefall.freebsd.org> X-Mailer: Mutt 0.52 Mime-Version: 1.0 X-Operating-System: FreeBSD 3.0-CURRENT ctm#2768 In-Reply-To: <199612051841.KAA23075@freefall.freebsd.org>; from Jordan K. Hubbard on Dec 5, 1996 10:41:36 -0800 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Jordan K. Hubbard: > Everyone please call ParaSoft today and say "I will buy 57 copies of > Insure++ tomorrow, but first I want a FreeBSD version." :-) DId you looked at Purify ? I've not tested insure++ but Purify is great too... -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #31: Tue Dec 3 23:52:58 CET 1996 From owner-cvs-lib Thu Dec 5 11:11:26 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA25077 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:11:26 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA25067; Thu, 5 Dec 1996 11:11:20 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id LAA12451; Thu, 5 Dec 1996 11:11:18 -0800 (PST) To: Paul Traina cc: "Jordan K. Hubbard" , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-reply-to: Your message of "Thu, 05 Dec 1996 10:53:51 PST." <199612051853.KAA03962@precipice.shockwave.com> Date: Thu, 05 Dec 1996 11:11:18 -0800 Message-ID: <12447.849813078@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Since I'm being so contrarian today, -Wall and -pedantic will find 95% of the > same stuff that ParaSoft is finding, and we have it today. Actually, not in this case. I did actually think of that, and ran some comparative runs (my first question too: "I wonder how this compares to -Wall"). -Wall finds lots of "might be uninitialized" cases that Insure++ seems to ignore, but Insure++ in turn finds a lot more bogus casts and gratuitious address-of usage. It also caught the long != int declarations where gcc was strangely content. If the runtime also worked, I'd probably be finding a lot more malloc/bounds error stuff, it just seems to have trouble with our symbol tables vs BSD/OS's ones for now. Jordan From owner-cvs-lib Thu Dec 5 11:15:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA25347 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:15:10 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id LAA25338; Thu, 5 Dec 1996 11:15:04 -0800 (PST) Received: by sequent.kiae.su id AA08882 (5.65.kiae-2 ); Thu, 5 Dec 1996 23:11:35 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Thu, 5 Dec 96 23:11:34 +0400 Received: from localhost (ache@nagual.ru [127.0.0.1]) by nagual.ru (8.8.4/8.8.4) with SMTP id WAA01566; Thu, 5 Dec 1996 22:07:29 +0300 (MSK) Date: Thu, 5 Dec 1996 22:07:29 +0300 (MSK) From: =?KOI8-R?Q?Andrey_Chernov=2C_=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= To: "Jordan K. Hubbard" Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-Reply-To: <199612051841.KAA23075@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 5 Dec 1996, Jordan K. Hubbard wrote: > Everyone please call ParaSoft today and say "I will buy 57 copies of > Insure++ tomorrow, but first I want a FreeBSD version." :-) Jordan, where you get it? I didn't find even BSDI evaluation copy on www.parasoft.com :-( -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Thu Dec 5 11:21:25 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA25695 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:21:25 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA25690; Thu, 5 Dec 1996 11:21:22 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id LAA12517; Thu, 5 Dec 1996 11:21:14 -0800 (PST) To: roberto@keltia.freenix.fr (Ollivier Robert) cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-reply-to: Your message of "Thu, 05 Dec 1996 19:53:03 +0100." Date: Thu, 05 Dec 1996 11:21:14 -0800 Message-ID: <12513.849813674@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > DId you looked at Purify ? I've not tested insure++ but Purify is great > too... Yeah, and it would be greater if it supported any platform even remotely close to ours. :-( I've known about Purify since I was one of its earliest BETA testers, back when the company had 3 people working for it. :) For most of its lifecycle it has supported only RISC load/store architectures due to the way it does instruction replacement. I see now that they have an NT version, but still no SCO or Solaris x86 or (to say the least) BSD/OS versions of the product. Maybe now that they've merged with Atria this focus will change, but until/unless that happens, Purify will remain merely a pipe dream for FreeBSD users. Jordan From owner-cvs-lib Thu Dec 5 11:25:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA26285 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:25:40 -0800 (PST) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA26265; Thu, 5 Dec 1996 11:25:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id LAA23138; Thu, 5 Dec 1996 11:18:04 -0800 (PST) Message-Id: <199612051918.LAA23138@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: "Jordan K. Hubbard" Cc: Paul Traina , "Jordan K. Hubbard" , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 05 Dec 1996 11:18:04 -0800 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 05 Dec 1996 11:11:18 -0800 "Jordan K. Hubbard" wrote: > more bogus casts and gratuitious address-of usage. It also caught the > long != int declarations where gcc was strangely content. ...you obviously haven't used gcc on an alpha :-) Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939 From owner-cvs-lib Thu Dec 5 11:28:28 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA26557 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:28:28 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA26550; Thu, 5 Dec 1996 11:28:24 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id LAA12599; Thu, 5 Dec 1996 11:28:15 -0800 (PST) To: =?KOI8-R?Q?Andrey_Chernov=2C_=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= cc: "Jordan K. Hubbard" , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-reply-to: Your message of "Thu, 05 Dec 1996 22:07:29 +0300." Date: Thu, 05 Dec 1996 11:28:15 -0800 Message-ID: <12595.849814095@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Thu, 5 Dec 1996, Jordan K. Hubbard wrote: > > > Everyone please call ParaSoft today and say "I will buy 57 copies of > > Insure++ tomorrow, but first I want a FreeBSD version." :-) > > Jordan, where you get it? I didn't find even BSDI evaluation copy > on www.parasoft.com :-( They don't currently make evaluation copies available, I'm afraid. Mine is a special case, given that I'm working with them in trying to get this to actually function with FreeBSD. Once that stage is reached and we're actually looking at the possibility of *having* a functional copy to evaluate, I will make a strong sales pitch to them that the FreeBSD community practically demands that they be able to try a product before they shell out their hard-earned cash for it. Given the degree of support for this model in user communities other than FreeBSD, I think I might even be successful here. Jordan From owner-cvs-lib Thu Dec 5 11:33:04 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA27090 for cvs-lib-outgoing; Thu, 5 Dec 1996 11:33:04 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA27084; Thu, 5 Dec 1996 11:32:59 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id LAA12729; Thu, 5 Dec 1996 11:32:54 -0800 (PST) To: Jason Thorpe cc: Paul Traina , "Jordan K. Hubbard" , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net getservent.c In-reply-to: Your message of "Thu, 05 Dec 1996 11:18:04 PST." <199612051918.LAA23138@lestat.nas.nasa.gov> Date: Thu, 05 Dec 1996 11:32:54 -0800 Message-ID: <12725.849814374@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Thu, 05 Dec 1996 11:11:18 -0800 > "Jordan K. Hubbard" wrote: > > > more bogus casts and gratuitious address-of usage. It also caught the > > long != int declarations where gcc was strangely content. > > ...you obviously haven't used gcc on an alpha :-) Not YET, no. :-) Jordan From owner-cvs-lib Thu Dec 5 16:12:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA14005 for cvs-lib-outgoing; Thu, 5 Dec 1996 16:12:36 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA13996; Thu, 5 Dec 1996 16:12:34 -0800 (PST) Date: Thu, 5 Dec 1996 16:12:34 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612060012.QAA13996@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/net getnetbynis.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/05 16:12:34 Modified: lib/libc/net getnetbynis.c Log: I asked Bill Paul why _getnetbynis() was only being called with 2 parameters, and he said: The 3rd agrument is new; looks like it was part of the upgrade to a new BIND with some IPv6 support. The third argument here should be AF_INET. In order for it to be anything else, I'd have to add new NIS functions to support IPv6 lookups. I don't even know what those look like yet. So there ya go, add AF_INET as the 3rd argument to the call. Submitted-by: wpaul Revision Changes Path 1.7 +3 -3 src/lib/libc/net/getnetbynis.c From owner-cvs-lib Fri Dec 6 14:53:56 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA15802 for cvs-lib-outgoing; Fri, 6 Dec 1996 14:53:56 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA15794; Fri, 6 Dec 1996 14:53:54 -0800 (PST) Date: Fri, 6 Dec 1996 14:53:54 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199612062253.OAA15794@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys setuid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/12/06 14:53:54 Modified: lib/libc/sys setuid.2 Log: Turn POSIX_SAVED_IDS off Revision Changes Path 1.6 +20 -20 src/lib/libc/sys/setuid.2