Commit Graph

745 Commits

Author SHA1 Message Date
Mike Pritchard 834c252e5c Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release. 1996-07-10 23:53:13 +00:00
Andrey A. Chernov 21045c6802 Restore my backed out changes (writting cats) because they was
not reviewed by pst in claimed period (1 week) and over 3 weeks passed.
CONSTRUCTIVE complaints welcome!
1996-07-09 15:37:26 +00:00
Wolfram Schneider e3908fd51f add manpage getNAME(1) 1996-07-08 20:18:28 +00:00
Wolfram Schneider bfab15f069 Exits 0 on success, and 1 if no keyword matched.
Start $PAGER only if we find a manual page.
1996-07-08 20:03:18 +00:00
Wolfram Schneider bb9656377b install fast version of zgrep 1996-07-02 23:01:01 +00:00
Wolfram Schneider 141f35e88e checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
Joerg Wunsch 6d41a714b2 Back out Nate's changes from rev. 1.6; our Perl has not been
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
1996-06-30 09:47:56 +00:00
Nate Williams 11b7f01b8f Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
Submitted by:	The Perl Gods as described in the advisory
1996-06-26 19:12:25 +00:00
Jordan K. Hubbard cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Andrey A. Chernov 14970a0492 Back out security changes until pst review them 1996-06-22 21:10:19 +00:00
Andrey A. Chernov 55c148f316 Do not produce empty cat file in debug mode 1996-06-22 08:05:11 +00:00
Gary Palmer 372fa2cd81 Try to make it a bit clearer that our send-pr comes pre-configured
with a submitter-id, and that a new one is not required.
1996-06-22 06:59:25 +00:00
Andrey A. Chernov b08645daa4 Close security holes and restore suid bit
Restore writting cat's functionality
1996-06-21 18:49:36 +00:00
Jordan K. Hubbard faf4b6d3b5 Nuke xditview. It was in the same category as xroach.
Screeched-For By: Michael Smith
1996-06-16 13:15:35 +00:00
Andrey A. Chernov a43ba36d4f Increase performance using pre-calculated collate table 1996-06-10 01:32:40 +00:00
Andrey A. Chernov 9cca9761a6 Follow alphabetical order more closely, now ISO8859-1 characters
sorted properly too.
1996-06-09 18:55:57 +00:00
Andrey A. Chernov 089fdd06d3 Compare 8bit alpha characters alphabetically using strcoll() 1996-06-09 16:19:08 +00:00
Bruce Evans d85327d7bc Stop using the alias `pcb_ptd' for `pcb_tcc.tss_cr3'. Use the (existing)
alias `pcb_cr3' instead.  That is still one alias too many, but is convenient
for me since I've replaced the tss in the pcb by a few scalar variables in
the pcb.
1996-06-08 11:03:19 +00:00
Bill Paul a13bb127d2 Aw c'mon. I'm being driven mad by plenty of other things. I don't
need this.

Consider the following code:

	case 'O':
		output_filename = malloc(strlen(arg)+4);
		strcpy(output_filename, arg);
		strcat(output_filename, ".tmp");
		real_output_filename = arg;
		return;

The idea here is to malloc() a buffer big enough to hold the name of
a supplied file name, plus ".tmp". So we malloc() 'size of filename'
bytes plus 4, right? Wrong! ".tmp" is _FIVE_ bytes long! There's a
traling '\0' which strcat() gleefully tacks on _outside_ the bounds
of the buffer. Result: program corrupts own memory. Program SEGVs at
seemingly random times. Bill not like random SEGVs. Bill smash.

Know how I found this? I've been trying to bootstrap -current on my
2.1.0-RELEASE machine at work and I couldn't seem to get libc.a built
because the linker would intermittently blow chunks while executing
things like 'ld -O foo.o -X -r foo.o'. Since this is an initial
bootstrap version of ld, it was linked against the 2.1.0 libc, who's
malloc() behaves differently than that in -current.

Presumeably ld -O doesn't blow up in -current, otherwise someone would
have spotted this already. I don't know if this is a bug or a feature.

Anyway. I'm changing the strlen(arg)+4 to strlen(arg)+5. Bah.
1996-06-08 04:52:57 +00:00
Gary Palmer b9d38b0c2f Use setreuid instead of seteuid for permissions management 1996-06-02 19:59:26 +00:00
Lars Fredriksen 24161867cf Reviewed by: joerg
Change man so that it will still display the man page even if it
cannot create a "cat" file.
1996-06-01 03:19:59 +00:00
Poul-Henning Kamp b5938566d8 Add an option -O <filename> to ld. From the manpage:
-O filename
             Specifies the name of the output file.  The file is created as
             filename.tmp and when output is complete renamed to filename.
This allows us to:
	ld -O ${.TARGET} -x -r ${.TARGET}
1996-05-28 16:17:48 +00:00
Poul-Henning Kamp 4fbec7bfd1 Make rules reentrant. 1996-05-28 00:34:38 +00:00
John Polstra 20c29c9fd8 Zero out an unused field in a structure that is written to the output
file.  The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.

Submitted by:	Bruce Evans <bde@freebsd.org>
1996-05-27 18:06:02 +00:00
Peter Wemm 37eb8f3805 Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
Jordan K. Hubbard bdf70e6dd8 There's no -p flag to our diff. 1996-05-26 22:27:52 +00:00
Jordan K. Hubbard cfbaf65d93 Fix some argument ordering and redundancy bogons. 1996-05-26 21:56:24 +00:00
Paul Traina 3ad4f8a0b7 Remove setuid bit, it's not necessary. 1996-05-22 15:53:38 +00:00
Paul Traina ee8d2caadc Call groff directly instead of using nroff shell script.
Submitted by:	peter
1996-05-22 15:53:19 +00:00
John Polstra 1dd43c183e When checking to see whether a needed shared library has already
been loaded, look for a match by device and inode number if the
traditional pathname comparisons don't find a match.  This detects
the case in which a library is requested using two different names
which are really links to the same file, and avoids loading it
twice.

Requested by:	peter@freebsd.org
Reviewed by:	peter@freebsd.org
1996-05-22 06:34:12 +00:00
Wolfram Schneider d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Wolfram Schneider 33d9c4e18e remove INFODIR?= /usr/share/info, already defined in bsd.own.mk 1996-05-22 00:29:40 +00:00
Wolfram Schneider d16e1f5c68 remove SHAREDIR?=/usr/share, already defined in bsd.own.mk 1996-05-22 00:26:57 +00:00
Jordan K. Hubbard 8f4196ac5e Invoke proper gzip 1996-05-20 12:52:08 +00:00
Wolfram Schneider 60fa1b8390 Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1)   - define SHIFTED [...]
now: vt220keys(1), vt220(1)   - define SHIFTED [...]
1996-05-14 23:07:05 +00:00
Wolfram Schneider 7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Wolfram Schneider 63cdf05c43 faster
average 2-3 x
	for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)
1996-05-12 16:20:26 +00:00
Wolfram Schneider 9fb933075e ``mv'' -> ``mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Poul-Henning Kamp 74de633578 PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK
1996-05-02 13:08:51 +00:00
Poul-Henning Kamp 1fa6b8217d NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.
1996-05-02 09:42:45 +00:00
Joerg Wunsch f1420840d1 Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami
1996-04-28 12:32:43 +00:00
John Polstra 55e214c197 When a local symbol that would normally be eliminated by "-x" or
"-X" must survive, because of references from relocations, don't
qualify the symbol name with the name of the input file.  This
saves some string space.  It makes libc_pic.a about 2.4% smaller.

Adapted from a suggestion by Bruce Evans.
1996-04-24 23:31:08 +00:00
Jordan K. Hubbard 4c043bb29e Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape.  Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
1996-04-24 21:20:17 +00:00
John Polstra 7aa5215c03 Add a couple of needed X11 libraries. Discovered when trying to build a
static version.
1996-04-22 20:24:56 +00:00
John Polstra dd2b076850 Implement support for LD_PRELOAD in the dynamic linker. Remove
descriptions of LD_NO_INTERN_SEARCH and LD_NOSTD_PATH from the manual
page, since they are not supported.

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:29:50 +00:00
John Polstra c049096e82 Implement support for LD_PRELOAD in the dynamic linker.
Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:27:56 +00:00
Mark Murray 01aa0a09a4 Attempt to break a $Log$ snafu where a *** /--- (minus space)
was fouling up a comment in the checked-out code.
1996-04-12 11:37:32 +00:00
Mark Murray 2bff10e8b9 Priorities were broken. If there was an Index: line and ***/--- lines
with valid names, the ***/---names were taken first.
this broke eg:
Index: foo/Makefile
==========
RCS <blah>
Retrieving <blah>
diff <blah>
*** Makefile <blah>
--- Makefile <blah>

By trying to patch the Makefile in the _curent_ directory, rather than
the one in the foo/ directory.
1996-04-11 10:13:40 +00:00
Mike Pritchard edf0e5b3f8 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
Joerg Wunsch e8b90f0072 Make `easy-import' ready for vendor-branch imports.
I'm also going to install the new version on freefall.
1996-04-07 10:22:37 +00:00