Commit Graph

135769 Commits

Author SHA1 Message Date
wiz 0bb532e823 Bump date for previous; add commas to make
sentences more readable.
2005-04-13 23:08:03 +00:00
drochner b31fb0b5e2 We don't fall back to the "default" login class if a login class was
given in the password file but not defined in login.conf. Just for
"no class is given". The former is an error and leads to rejection.
2005-04-13 20:39:05 +00:00
drochner 1a771b22ec Allow for a login.conf file without an explicite "default" class
definition.
The login.conf(5) manpage states that the "default" class is used
*if it exists*.
2005-04-13 20:32:42 +00:00
tron 20442260d4 Remove copy of manual page created during build. 2005-04-13 17:51:12 +00:00
nathanw c700f1d7a3 CIOCCRYPT takes a "struct crypt_op *", not a "struct crpyto_op *". 2005-04-13 16:28:06 +00:00
scw 6f90190b50 Add netbsd32_vm_default_addr() and MAXDSIZ32/MAXSSIZ32. (Spotted
by Havard Eidnes).
2005-04-13 09:35:46 +00:00
scw 1cc2a2688d Add support for the DMA and AC97 controllers on PXA2x0, and enable them
on the Lubbock evaluation board.

Many thanks to Hiroyuki Bessho for testing this driver with the new
aurateconv interface, as I no longer have access to the hardware.

Contributed by Wasabi Systems, Inc.
2005-04-13 07:42:28 +00:00
christos 69637e8009 Write the database file into a temporary file first, because otherwise if
we don't specify an output filename, the database file we create will end
up being used during population as the database file to find entries quickly.
2005-04-13 04:50:22 +00:00
yamt 221945ca1c s3c2xx0_bs_unmap: overlooked yamt-km API update.
from Havard Eidnes, tweaked by me.
2005-04-13 03:39:18 +00:00
mrg 335721258b fix an error message: could -> could not 2005-04-13 00:19:44 +00:00
perseant b0a56e6928 Take care preserving the integrity of the free list during roll forward.
Also, avoid freeing a deleted vnode twice when a file is remove during
roll forward.
2005-04-12 23:14:18 +00:00
christos a76abbed58 PR/29958: Peter Bex: add rl_variable_bind and rl_attempted_completion_over 2005-04-12 22:01:40 +00:00
drochner 179747d76c getmntinfo() if a compatibility function, so there is no point in hiding
references to the compatibility getfsstat()
The real problem behind PR lib/29919 was a stale weak_alias, so back out
the workaround.
2005-04-12 21:36:46 +00:00
jmcneill 212a4fdeb4 * Reduce timeout for codec powerup
* Return ENXIO from ac97_attach_type if the modem codec fails to power-on.
  This will prevent broken AC97 modems *cough*Conexant*cough* from giving
  the impression that they will actually work.
2005-04-12 21:11:43 +00:00
drochner ec387481a6 the real reason behind PR lib/29919 was that there was a __weak_alias,
obviously copied from getmntinfo.c, referencing the compatibility
getmntinfo()
2005-04-12 20:49:19 +00:00
jmcneill eddca7ac5f Some broken codecs don't release the CAS on reads to AC97_REG_GPIO_STATUS.
In auich_read_codec, do a dummy read to the RESET register if we're
reading GPIO_STATUS to be safe.
2005-04-12 17:30:51 +00:00
jmcneill 4f351ce9a0 Don't touch AC97_REG_RESET if we're dealing with a modem (modems use
AC97_REG_EXT_MODEM_ID instead). Also set the default audio rate to 8000;
12000 was a stupid choice since we don't actually support it in the driver
yet.
2005-04-12 17:28:02 +00:00
wiz 37172421f7 Adapt .Dt argument for man page renaming, and use more macros. 2005-04-12 17:04:46 +00:00
kleink 2debc92229 Actually give /var/chroot/spamd an `obsolete' keyword. 2005-04-12 16:59:16 +00:00
drochner a00e491cf3 Both libcurses and libc installed a getcap(3) manpage, and both used it
as target for a bunch of MLINKS. This had the effect that whatever came
last in install overwrote everything from the other camp.
Solve this by renaming the libc page -- this makes sense because no
function is really named "getcap" here.
2005-04-12 16:27:42 +00:00
drochner 4ba6a2ab76 this should refer to "cgetset", not "cgetseq" 2005-04-12 16:11:33 +00:00
jwise 17d8f2eb11 Missed commit -- /var/chroot/spamd is now /var/chroot/pfspamd. 2005-04-12 15:55:38 +00:00
kleink 7a5e7ac8e9 Adjust for the Argentina directory that came with tzdata2004b;
noted by Geoff C. Wing in PR bin/29954.
2005-04-12 15:35:54 +00:00
jwise 50ee2bcb04 spamlogd is now pfspamlogd. 2005-04-12 14:47:08 +00:00
jwise 58015a4d36 Finally, spamlogd -> pfspamlogd, for consistency. 2005-04-12 14:44:10 +00:00
jwise f876c1012e spamd.conf is now pfspamd.conf. 2005-04-12 14:39:39 +00:00
jwise 200b4f7e06 Now that we can override the name of /etc/spamd.conf, make it /etc/pfspamd.conf. 2005-04-12 14:36:15 +00:00
jwise c48b1f0323 If path to /etc/spamd.conf is passed in on cpp command line, don't override it. 2005-04-12 14:35:36 +00:00
jwise 88573cf3f3 Pass in path to /etc/spamd.conf in CPPFLAGS. 2005-04-12 14:34:57 +00:00
jwise bfd29aa656 /var/chroot/spamd is now /var/chroot/pfspamd. 2005-04-12 14:24:32 +00:00
jwise a8293ab76d Now that we can specify the chroot location, make it /var/chroot/pfspamd. 2005-04-12 14:23:26 +00:00
jwise 20e85ad185 Instead of hardcoding /var/chroot/spamd in two places, use a macro
SPAMD_CHROOT, which is passed in by src/usr.sbin/pf/spamd/Makefile.
2005-04-12 14:22:43 +00:00
jwise aac5bfbda9 Pass in a value for SPAMD_CHROOT in CPPFLAGS, to specify the path to the
chroot dir spamd will use.
2005-04-12 14:21:20 +00:00
hannken 23bc271d48 `lkmlookup()' is called with its name argument either from kernel or from
user space. Add an argument `need_copyin' to only use `copyinstr()' if
the name is from user space.

modstat -n NAME works again.

Reviewed by: Peter Postma <peter@netbsd.org>
2005-04-12 14:13:16 +00:00
itohy 43d5a75df2 Allow multiple modem interfaces per configuration. 2005-04-12 13:12:10 +00:00
yamt 01c07ef7bd fix unreasonably frequent "killed: out of swap" on systems which have
little or no swap.
- even on a severe swap shortage, if we have some amount of file-backed pages,
  don't bother to kill processes.
- if all pages in queue will be likely reactivated, just give up
  page type balancing rather than spinning unnecessarily.
2005-04-12 13:11:45 +00:00
itohy 1bf2f3ae6e Add usb_find_desc_if(), which is similar to usb_find_desc(),
but searches only in the specified interface rather than
in whole configuration.
2005-04-12 13:10:14 +00:00
martin 9edc493234 When creating an int hash value from pointer, go via intptr_t.
Fixes PR 29953.
2005-04-12 12:42:02 +00:00
wiz 5c35c1667a Improve formatting. 2005-04-12 11:50:29 +00:00
drochner 10e5ded54b add definition for "security freeze" 2005-04-12 11:45:40 +00:00
drochner e69243d0ea document the "security" command 2005-04-12 11:41:14 +00:00
drochner 48eac6e41a Implement a "security" command with subcommands to query the status of
the "security" extension and to "freeze" it. With the security extension
frozen, disk passwords cannot be set anymore, until the next hard reset.
Normally, this is the business of the BIOS, but older/buggy/embedded
BIOSes don't care. This leaves the (theoretical) possibility that a
malicious program in posession of superuser rights sets a disk password,
rendering the disk useless (or at least uneconomical to recover from).
Inspired by an article in the german "ct" magazine.
Being here, consolidate the implementations of IDENTIFY into one, and
fix an obvious alignment problem.
2005-04-12 11:40:46 +00:00
perseant 4c0e96afd6 Use the buffer cache improvements from fsck_lfs. Make it build again. 2005-04-12 01:06:39 +00:00
jwise ed335360d1 Provide obsolete list entries for old names of pfspamd et al. 2005-04-11 23:39:12 +00:00
perseant 1d4cc6a17b Be more efficient with the hash tables for the buffer and vnode caches.
Note that roll-forward can add more inodes to the filesystem; don't overflow
the tables but reallocate them.
2005-04-11 23:19:24 +00:00
jwise d4a770bc93 spamd (et al) man pages have also changed to pfspamd (et al). 2005-04-11 22:42:47 +00:00
jwise d757dd5564 spamd (et al) -> pfspamd (et al). 2005-04-11 22:35:45 +00:00
jwise d32dabfd88 Per discussion on tech-userlevel and tech-security, install `spamd',
`spamd-setup', and `spamdb' as `pfspamd', `pfspamd-setup', and `pfspamdb'.

To quote Steven M. Bellovin:

  This [having a program in basesrc with the same name as a widely used and
  completely different program in pkgsrc] is a seriously bad idea; it
  violates the rule of least surprise.  That's bad enough in normal
  situations; here, we're talking about security.  You do *not* want to
  confuse people about security features; they're hard enough to get right
  as is.
2005-04-11 22:34:18 +00:00
yamt a69d29a9d9 mention pf mailing list. 2005-04-11 22:22:58 +00:00
nathanw 1e16e443e6 Rewrite the inner loop of vcopypage() and vzeropage() to be entirely
in inline asm and include turning the DMMU off and back on. This
prevents the compiler (especially gcc -O0) from inserting accesses to
locations in virtual address space when such accesses would fail.
2005-04-11 18:35:38 +00:00