| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
more than once.
|
| |
|
|
|
|
|
| |
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
|
|
|
|
| |
Submitted by: The Perl Gods as described in the advisory
|
|
|
|
|
| |
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
|
| |
|
| |
|
|
|
|
| |
with a submitter-id, and that a new one is not required.
|
|
|
|
| |
Restore writting cat's functionality
|
|
|
|
| |
Screeched-For By: Michael Smith
|
| |
|
|
|
|
| |
sorted properly too.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Change man so that it will still display the man page even if it
cannot create a "cat" file.
|
|
|
|
|
|
|
|
| |
-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}
|
| |
|
|
|
|
|
|
|
| |
file. The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.
Submitted by: Bruce Evans <bde@freebsd.org>
|
| |
|
|
|
|
|
| |
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: peter
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
of clobbering the entire database.
sort options in alphabetic order.
install manpage makewhatis.local.8
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 [...]
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
|
|
|
|
| |
PGOFSET -> PAGE_MASK
|
|
|
|
| |
Avoid using the struct pte stuff.
|
|
|
|
|
|
| |
name in alphabetical order (broken by my previous commit).
Pointed out by: asami
|
| |
|
|
|
|
|
| |
Uhm, guys? This Makefile doesn't build anything anymore. The isdn
stuff under here isn't compiled. Is this normal?
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
possible before.
|
|
|
|
| |
fade. Fixed.
|
|
|
|
|
|
|
|
| |
"-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.
|
|
|
|
|
| |
"volume" instead of tape. Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
|
| |
|