Brian Somers
afcf65b56b
Allow the output of /etc/security to be logged or mailed to different
...
users in line with ${daily,weekly,monthly}_output using a new
$daily_status_security_output variable.
PR: 24643
2001-01-30 10:24:18 +00:00
Poul-Henning Kamp
7cf109c1b4
Make mount_mfs annoy users for 15 seconds and point them at mdconfig(8).
2001-01-30 10:21:20 +00:00
John Hay
01b96fdf9e
Make klds for the ar and sr devices and hook them up.
...
The normal versions are called if_ar.ko and if_sr.ko and the netgraph
versions ng_sync_ar.ko and ng_sync_sr.ko.
2001-01-30 10:20:43 +00:00
Poul-Henning Kamp
48b8568826
Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.
2001-01-30 10:12:51 +00:00
Brian Somers
12e0a85bba
Run purgedir (a local function) on /var/run instead of rm /var/run/*
...
PR: 24612
Submitted by: David Drum <david@mu.org>
2001-01-30 10:07:03 +00:00
Poul-Henning Kamp
4997ad7c1f
Add a BUF_KERNPROC() in the BIO_DELETE path.
...
This seems to fix the problem which md(4) backed filesystems exposed.
2001-01-30 10:06:08 +00:00
John Hay
8a6d185698
The ar and sr devices have moved to sys/dev/.
2001-01-30 10:05:44 +00:00
John Hay
ec2dd907f0
This include file has found a new home in sys/dev/ic/.
2001-01-30 10:04:25 +00:00
John Hay
1a3d993a0b
Newbusify the sr device and move it to its new location.
2001-01-30 10:02:10 +00:00
John Hay
59b7f2afcd
Update include files to reflect the new location of the ar device.
2001-01-30 10:01:15 +00:00
John Hay
083b300fe2
Reflect the new location of the ar and sr devices.
2001-01-30 10:00:04 +00:00
Peter Wemm
55063c26c1
Style (whitespace) nit.
2001-01-30 09:44:37 +00:00
Poul-Henning Kamp
aadf265525
Fix two minor nits.
...
Existences revealed, but no details offered by: bp
2001-01-30 08:39:52 +00:00
Julian Elischer
d2a57575f1
Fix cut and paste error in a comment.
...
Submitted by: Peter Wemm <peter@freebsd.org>
2001-01-30 07:58:30 +00:00
Matthew Dillon
f8e071a1eb
Fix a race between the syncer and umount. When you umount a softupdates
...
filesystem softdep_process_worklist() is called in a loop until it indicates
that no dependancies remain, but the determination of that fact depends on
there only being one softdep_process_worklist() instance running. It was
possible for the syncer to also be running softdep_process_worklist()
and the pre-existing checks in the code to prevent this were not sufficient
to prevent the race. This patch solves the problem.
Approved-by: mckusick
2001-01-30 06:31:59 +00:00
Bruce A. Mah
209a653f29
Update release notes: devfs(5) now in GENERIC, libc_r changes.
2001-01-30 05:02:15 +00:00
Peter Wemm
aa0b4c590f
Remove some leftovers from the CMAP* stuff in globaldata and the
...
BSP and AP startup.
2001-01-30 04:02:28 +00:00
Peter Wemm
d87ad35b4a
Remove unused GD_CPU_LOCKID, GD_OTHER_CPUS, PS_IDLESTACK and
...
PS_IDLESTACK_TOP
2001-01-30 04:00:11 +00:00
John Baldwin
7ad1d369bb
Remove unnecessary locking to protect the p_upages_obj and p_addr
...
pointers.
2001-01-30 00:35:35 +00:00
John Baldwin
4c8bd1a325
- Use the right name for the proctree lock in the locking key.
...
- Add a note about the special locking semantics used for members such as
p_cred that are read by multiple processes but only written to by the
current process.
- Change p_upages_obj's locking key to note that it is created at fork
and left alone afterwards (the actual pointer, not what it points to.)
- Mark p_intr_nesting_level as being implicitly locked since only curproc
accesses it.
Reviewed by: jake
2001-01-30 00:10:37 +00:00
Bruce A. Mah
034fcee1e3
Update for security advisories: 01:11, 01:12, 01:13, BIND fix/update.
2001-01-29 23:54:48 +00:00
Luigi Rizzo
a0ab7f4419
Put picobsd build scripts in sync with the ones in -STABLE.
...
With these scripts i was able to build a _working_ image of a
bridge-like floppy image with a reasonable set of utilities
in it, despite the code size increase we have in 5.0
The scripts are slightly different from the previous ones especially
on the place where the kernel and binaries are built. Hopefully
this will not cause too much trouble to people (is there any???)
using the old scripts.
2001-01-29 22:47:46 +00:00
Daniel Eischen
f47892a9f7
Unbreak world by correctly specifying the prototype for __sys_aio_suspend.
...
A make buildworld was done but not with the committed pthread_private.h.
Reported by: Manfred Antar <null@pozo.com>
2001-01-29 18:59:53 +00:00
Søren Schmidt
6fe4e0a915
Add option ATA_ENABLE_WC for enabling write caching (now off by default).
2001-01-29 18:00:35 +00:00
Søren Schmidt
bb0030a4f8
Add text for option ATA_ENABLE_WC.
2001-01-29 17:58:16 +00:00
Peter Wemm
2860fa873e
AARGH! This does not mix too well with the -o noatime mount option.
...
:-(
2001-01-29 15:26:35 +00:00
Doug Rabson
109ba4608b
Flesh out EFI support somewhat.
2001-01-29 13:31:19 +00:00
Peter Wemm
5bb5f2c942
Supply a stub bpf_validate() (always returning false - the script is not
...
valid) if BPF is missing.
The netgraph_bpf node forced bpf to be present, reflect that in the
options.
Stop doing a 'count bpf' - we provide stubs.
Since a handful of drivers still refer to "bpf.h", provide a more accurate
indication that the API is present always. (eg: netinet6)
2001-01-29 13:26:14 +00:00
Peter Wemm
2d0a97fbde
Use M_PANIC instead of if (sc == NULL) panic();
2001-01-29 13:21:34 +00:00
Peter Wemm
fea8c9f26d
Remove unused variable 'int n;'
2001-01-29 13:05:21 +00:00
Boris Popov
9211b0b657
Add M_PANIC flag to the list of available flags passed to malloc().
...
With this flag set malloc() will panic if memory allocation failed.
This usable only in critical places where failed allocation is fatal.
Reviewed by: peter
2001-01-29 12:48:37 +00:00
Peter Wemm
920c17857f
Stop counting sppp interfaces, we were just testing its presence to give
...
a warning if it was missing.
2001-01-29 12:27:46 +00:00
Peter Wemm
f444a0efe9
Convert mca (microchannel bus support) from something that we count
...
(bogus) to something that we test for the presence of.
2001-01-29 11:57:27 +00:00
Brian Somers
435ff15c3b
Add a few ``const''s to silence some -Wwrite-strings warnings
2001-01-29 11:44:13 +00:00
Peter Wemm
93cd41f72d
Zap silly #if NPCI > 0 and the hoops that we jump through for the module
...
case. Use an 'and' case in conf/files so that it only gets compiled if
pci is present.
2001-01-29 11:38:39 +00:00
Peter Wemm
0634b4a7b2
Yikes, these files bogusly #include "loop.h" but didn't use the value.
...
My searching for NLOOP missed them. :-(
2001-01-29 11:28:20 +00:00
Peter Wemm
30484008d7
Convert 'count en', 'count lnc', 'count fpa', 'count loop' and 'count ar'
...
back to standard 'optional'.
2001-01-29 11:21:00 +00:00
Peter Wemm
2eedcf55e9
Remove unused #include "lnc.h"
2001-01-29 11:19:30 +00:00
Peter Wemm
90d9802fe7
Make the number of loopback interfaces dynamically tunable. Why one
...
would *want* to is a different story, but it used to be able to be done
statically. Get rid of #include "loop.h" and struct ifnet loif[NLOOP];
This could be used as an example of how to do this in other drivers,
for example: ccd.
2001-01-29 11:06:26 +00:00
Ben Smithurst
e50fa3d247
Fix 'tunefs -p'
...
Reviewed by: sheldonh
2001-01-29 11:00:16 +00:00
Peter Wemm
c83abe02aa
Remove unused #include "snp.h"
2001-01-29 10:06:22 +00:00
Peter Wemm
358f1800c0
Convert ata and atapi #if NATA* > 0 to options instead. Stop config
...
trying to count the number of ata* devs since they were not used anyway.
2001-01-29 10:01:11 +00:00
Poul-Henning Kamp
941ee63274
Use <sys/queue.h> instead of home-rolled list.
...
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
2001-01-29 09:45:51 +00:00
Peter Wemm
810d0bd1a9
Turn '#if NSNP > 0' into an option.
2001-01-29 09:43:36 +00:00
Peter Wemm
03927d3c33
Send "#if NISA > 0" to the bit-bucket and replace it with an option.
...
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.
2001-01-29 09:38:39 +00:00
Peter Wemm
e3701bdd59
I confess. This is a truely nasty hack. I am so ashamed!
...
(I think config(8) source does bad things to your brain :-)
Clean up likely stray *.h files in the build directory.
Eg: if isa.h ceases being generated, zap it.
The heuristics to figure out a 'likely' file are pretty revolting.
2001-01-29 09:34:43 +00:00
Dag-Erling Smørgrav
f5fccbbcb4
Style police.
...
Submitted by: ru
2001-01-29 08:59:30 +00:00
Brian Somers
2525421508
Fix some log_Printf() casting
...
Obtained from: NetBSD (pkgsrc)
2001-01-29 08:46:58 +00:00
Peter Wemm
9ff4ede1d0
Gag. These compiled because I had a stray "eisa.h" in my config dir.
2001-01-29 08:40:16 +00:00
Peter Wemm
5022186bc6
Remove stray #include "isa.h"
2001-01-29 08:33:55 +00:00