chs
3628675acf
implement pmap_wired_count().
2001-09-24 01:48:15 +00:00
chs
fd3414abea
fix typo in previous.
2001-09-24 01:29:06 +00:00
sommerfeld
98b0d5654c
replace %ecx with %cl to silence new assembler warnings.
2001-09-24 01:09:33 +00:00
tls
5cb98b6cb9
Fix some lossage in previous commit: don't remove everything when cleaning
...
in a source directory, just the object files. This is a _very temporary_
fix; I will untangle the meaning of UPDATE, etc. in this context presently.
2001-09-24 01:05:47 +00:00
tls
38809e7a94
Split "cleanprog" target apart: now you can zap only object files or
...
CLEANFILES (needed to fix crunchgen lossage).
2001-09-24 01:04:32 +00:00
tls
0b6a2936aa
Changes to the emitted makefiles that actually build the objects:
...
1) Always do a make clean before building objects in any directory. This
is wasteful, but there's really no other simple way to cope with the
fact that the compilation settings (e.g. CFLAGS) appropriate for the
non-crunched build of a program may not be appropriate for the crunched
build. If the objdir magic in make didn't rely upon the presence of an
"obj" or "obj.${MACHINE}" symlink, we could abuse it to handle this but
unfortunately, it does.
2) Override $DBG to cause object files to be built with -Os. We can't emit
"DBG?=" into the generated makefile because of order-of-inclusion issues
with the system Makefiles; the result would be that the default setting
(currently -O2) would always be used instead of -Os. If you're crunching,
you almost certainly are doing it to get a smaller executable (!) so -Os
is almost certainly appropriate for you.
2001-09-24 00:40:35 +00:00
sommerfeld
b27c418d40
Deal with invokers who pass us environment variable settings as part
...
of the command they want us to run.
Fixes part 3A of PR#14046
2001-09-24 00:20:11 +00:00
tls
9b9300274d
GCC 2.95 generates significantly larger code with -O2 than our old compiler did; this can cause the second-stage bootblock to exceed the number of blocks that fit in the list in the first-stage bootblock. I thought we used to explicitly set -Os in here; anyway, with this change, we do now!
2001-09-23 23:43:29 +00:00
tls
aeb590fb1f
GCC 2.95 generates significantly larger code with -O2 than our old compiler did; thus we overflow the floppies. I thought we used to explicitly set -Os in here; anyway, with this change, we do now!
2001-09-23 23:40:29 +00:00
jdolecek
f5599abc0a
fix typo
2001-09-23 19:59:19 +00:00
perry
5f93a646a5
add raid, remove cd drives and floppy drives from the nightly disk
...
permissions checks.
note: This whole thing needs to be rototilled. And yes, I'm
volunteering to do it.
2001-09-23 19:51:20 +00:00
manu
2d16421460
Moved COMPAT_LINUX config stuff from arch/sgimips to arch/mips, so that it's
...
available on all Mips ports.
2001-09-23 19:45:41 +00:00
jdolecek
d08f6c6e2e
pull <sys/exec.h> to get setregs prototype.
...
problem noted by Chuck Silvers
2001-09-23 19:32:10 +00:00
perry
247041e342
Update the password sanity checking thusly:
...
1) If a password entry is of the form \*[A-z-]+, do not complain that
the account is off but has a valid password. Thus you can do
passwords like *ssh to indicate ssh only logins.
We should come up with a standard scheme for what various *keywords mean.
Note that if the field length is 13, 20 or 34 you'll still get
bitched at.
This code should be cleaned up. (So should the password scheme.)
2) If the entry is for "toor", don't complain that the account is off
but has a valid shell. We ship with toor:*:, there is no point in
complaining about it.
Part of the campaign against spurious security warning output.
2001-09-23 19:10:25 +00:00
eeh
c9a848a23c
32-bit kernels have 32-bit pointers.
2001-09-23 17:31:17 +00:00
fredb
43ff3eb524
Nit -- this kernel is called "INSTALLSBC", not "INSTALL".
2001-09-23 17:30:52 +00:00
fredb
780a06ff07
Sync with "GENERIC".
2001-09-23 17:18:00 +00:00
yamt
eb8d48e92a
enable checking limit of setid and msgid.
2001-09-23 16:32:35 +00:00
uch
6c1c0aff9c
improve interrupt response.
2001-09-23 14:32:52 +00:00
simonb
b77ae95a9e
For ns32k-netbsd, don't add ns32k/xm-netbsd.h to $xm_file; it gets
...
included in tconfig.h anyway.
2001-09-23 13:55:13 +00:00
simonb
8e868c5d17
Don't define mem{cmp,cpy,set}; from gcc-current after the 2.95.3 release.
2001-09-23 13:42:39 +00:00
chs
59c12af6f5
implement pmap_wired_count().
2001-09-23 09:01:13 +00:00
jdolecek
6f081befa2
set CC and DESTDIR for mkioctls accordingly
...
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00
chs
62b6d75cc8
implement pmap_wired_count().
2001-09-23 08:12:59 +00:00
chs
a467bddfdc
bump the rusage counter for "swaps" when we swap out a process.
...
addresses PR 6170.
2001-09-23 07:10:08 +00:00
chs
2adcba997b
make pmap_resident_count() non-optional.
2001-09-23 06:35:30 +00:00
chs
a29a7b1934
when creating a symlink, set the vnode's copy of the size also.
2001-09-23 05:28:23 +00:00
assar
7b980ee03e
remove files that were not part of last import
2001-09-23 05:03:52 +00:00
chs
f0b6149f57
change spec_{read,write}() to specify the device blkno in units of DEV_BSIZE
...
rather than the device's sector size. this allows /dev/rcd0a and /dev/cd0a
to return the same data. fixes PRs 3261 and 14026.
2001-09-23 04:39:25 +00:00
chs
65752b4854
remove SAVESTART from the symlink, mknod and create operations.
...
it was unnecessary, and removing it also fixes a v_usecount leak
that was introduced in the previous revision.
2001-09-23 01:37:03 +00:00
sommerfeld
9ce108757e
use fifo_putpages
2001-09-22 22:49:32 +00:00
chs
520b477a5a
check early for reads beyond EOF.
2001-09-22 22:44:08 +00:00
sommerfeld
acf40b361c
Correct comment to match code
2001-09-22 22:36:30 +00:00
sommerfeld
181c4513dc
Add fifo_putpages() placebo so that the vnode's uobj is unlocked.
2001-09-22 22:35:18 +00:00
sommerfeld
cc8633edd3
VOP_PUTPAGES must release the uobj's lock for us, so ensure it's locked
...
beforehand and unlocked afterwards using LOCK_ASSERT().
2001-09-22 22:33:16 +00:00
chs
da3f862846
typo in previous.
2001-09-22 22:20:00 +00:00
chs
5148b779c3
check early for reads past EOF.
2001-09-22 22:14:29 +00:00
hubertf
d57da0cf92
Seems people are very confused by the fact that floppy/disk2 is a symlink
...
to a .tgz file. Try to be a *bit* clearer. (Todd, please use hardlinks
next time ;-)
2001-09-22 21:46:50 +00:00
manu
db17f39501
Added Mips to COMPAT_LINUX
2001-09-22 21:35:31 +00:00
manu
142bd48453
config stuff for COMPAT_LINUX
2001-09-22 21:30:15 +00:00
manu
151b90c898
Added Linux emulation support to Mips port
2001-09-22 21:29:20 +00:00
manu
c56e2ccc5d
I'm working on Mips
2001-09-22 21:26:40 +00:00
manu
75e9ab7f5f
Enabled Mips Linux emul in header files
2001-09-22 21:25:49 +00:00
manu
e302bb5bc5
Enable Mips Linux emulation in header files
2001-09-22 21:24:16 +00:00
manu
40a2d61d92
Fixes for mips support
2001-09-22 21:22:57 +00:00
manu
63d1ca8449
Initial support for running Linux binaries on the Mips. Both static and
...
dynamic binaries work on 32 bit mips. Signals are completely broken yet,
and ptrace is not supported.
2001-09-22 21:19:10 +00:00
manu
a0cca8f7f6
One file that was missing from a previous commit
2001-09-22 21:17:55 +00:00
manu
2207c50687
Fixed errors in header files
2001-09-22 21:15:18 +00:00
manu
84d266e55c
More work on Linux compat for Mips: system calls mapping.
2001-09-22 21:14:37 +00:00
eeh
4061423088
BADREG was no longer defined.
2001-09-22 19:58:28 +00:00