summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use <sys/queue.h> macro API.phk2001-02-049-39/+34
|
* 'device agp' was missingpeter2001-02-042-0/+8
|
* Remove some stray traces of KMODDEPSpeter2001-02-042-2/+0
|
* Document API CS20wilko2001-02-041-1/+53
|
* Remove a DIAGNOSTIC check which belongs in <sys/queue.h> if anyplace at all.phk2001-02-045-20/+0
|
* Warn if people include vn(4) in their config.phk2001-02-041-1/+2
|
* Pull the rug from under the 'LKM Compatability' macro - PSEUDO_SET().peter2001-02-044-27/+59
| | | | | | | | There are two 3rd party code chunks using this still - the IPv6 stuff and i4b. Give them a private copy as an alternative to changing them too much. XXX sys/kernel.h still has a #include <sys/module.h> in it. I will be taking this out shortly - this affects a number of drivers.
* Remove the LABPC driver.phk2001-02-047-1107/+0
| | | | Doesn't work, no maintainer, more promising code exists elsewhere.
* Zap obsolete (died with LKM) EXPORT_SYMS variablepeter2001-02-044-4/+0
|
* Use macro API to <sys/queue.h>phk2001-02-041-1/+1
|
* Remove a sizeof(void *) == sizeof(int) assumption.phk2001-02-041-7/+7
| | | | Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
* Zap some bad examples:peter2001-02-0417-50/+10
| | | | | | opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
* All the world is not an i386. Merge rev 1.438 of i386/i386/machdep.c.peter2001-02-044-0/+4
| | | | Make buffer_map a system map.
* This commit represents work mainly submitted by Tor and slightly modifieddillon2001-02-044-13/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | by myself. It solves a serious vm_map corruption problem that can occur with the buffer cache when block sizes > 64K are used. This code has been heavily tested in -stable but only tested somewhat on -current. An MFC will occur in a few days. My additions include the vm_map_simplify_entry() and minor buffer cache boundry case fix. Make the buffer cache use a system map for buffer cache KVM rather then a normal map. Ensure that VM objects are not allocated for system maps. There were cases where a buffer map could wind up with a backing VM object -- normally harmless, but this could also result in the buffer cache blocking in places where it assumes no blocking will occur, possibly resulting in corrupted maps. Fix a minor boundry case in the buffer cache size limit is reached that could result in non-optimal code. Add vm_map_simplify_entry() calls to prevent 'creeping proliferation' of vm_map_entry's in the buffer cache's vm_map. Previously only a simple linear optimization was made. (The buffer vm_map typically has only a handful of vm_map_entry's. This stabilizes it at that level permanently). PR: 20609 Submitted by: (Tor Egge) tegge
* Grumble, I broke this file with a vi accident before commit. :-(peter2001-02-041-0/+1
| | | | Submitted by: Christian Weisgerber <naddy@mips.inka.de>
* Spelling.mckay2001-02-041-1/+1
|
* In the hope of saving others from hours of tedious recovery work,mckay2001-02-041-0/+10
| | | | | document that cp still isn't very useful for recursive copies even with the -R flag. This is because hard links are broken by cp.
* Extend the sanity checks in ufs_lookup to ensure that each directoryiedowse2001-02-041-1/+2
| | | | | | | | | | | | | | entry fits within its DIRBLKSIZ block. The surrounding code is extremely fragile with respect to corruption of the directory entry 'd_reclen' field; if directory corruption occurs, it can blindly scan forward beyond the end of the filesystem block. Usually this results in a 'fault on nofault entry' panic. Directory corruption is now much more likely to be detected, resulting in a 'ufs_dirbad' panic. If the filesystem is read-only, it will simply print a warning message, and skip the corrupted block. Reviewed by: mckusick
* MPPE_MasterKeyValid is only there if HAVE_DES is defined.brian2001-02-041-0/+2
|
* Don't send an authentication failure response if we fail sendingbrian2001-02-041-13/+26
| | | | a radius accounting packet.
* Make the MPPE MasterKey Invalid messages a bit clearer (it nowbrian2001-02-042-4/+6
| | | | | | complains that you can't do MPPE without CHAP81). Reset MasterKeyValid to zero when we hit phase DEAD.
* Untangle some cunfusion between the CLOSE_STAYDOWN, CLOSE_LCP andbrian2001-02-043-18/+21
| | | | | | | | CLOSE_NORMAL meanings. CLOSE_NORMAL doesn't change the currently required state, the others do. This should stop ppp from entering DATALINK_READY when LCP shutdown doesn't end up happening cleanly. Bump our version number to reflect this change.
* Don't specify root:wheel for tun*, it's the default.brian2001-02-031-1/+1
| | | | Pointed out by: bde
* Use the correct flags field when checking for a read-only filesystemiedowse2001-02-031-1/+1
| | | | | | | | | | in ufs_dirbad(). The mnt_stat.f_flags field is only updated by the syscalls *statfs and getfsstat, so mnt_flag should be used instead. This only affects whether or not a panic is generated on detection of certain types of directory corruption. Reviewed by: mckusick
* Add a -g flag for verifying an installed package against its recordedjkh2001-02-035-2/+41
| | | | | | | | checksums (to see if it's been modified post-installation). Naturally, this mechanism is only as secure as the contents of /var/db/pkg if you're using it for auditing purposes. Submitted by: Roman Shterenzon <roman@xpert.com>
* Document API CS20 support.wilko2001-02-031-0/+2
| | | | HARDWARE.TXT update to follow.
* Make the code act the same in the case of BRIDGE being defined, but notjulian2001-02-031-16/+26
| | | | | | | turned on, and the case of it not being defined at all. i.e. Disabling bridging re-enables some of the checks it disables. Submitted by: "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
* Use LIST_FOREACH() to traverse ifp->if_multiaddrs list, instead ofphk2001-02-0326-70/+35
| | | | | | | <sys/queue.h> implementation details. Created with: /usr/sbin/sed Reviewed with: /sbin/md5
* Use <sys/queue.h> macro api rather than fondle its implementation detals.phk2001-02-0313-79/+79
| | | | | Created with: /usr/bin/sed Reviewed by: /sbin/md5
* Move wicontrol from i386 to MI section. (yes, it compiles on alpha, wherepeter2001-02-031-1/+1
| | | | | theoretically NEWCARD might work one day). if_wi.c is in the MI config section already.
* Conditionalize the alpha interrupt preemption for now to buy us somepeter2001-02-032-0/+28
| | | | | | | time to sort out the quirks. Add 'options PREEMPTION' to test it on the Alpha. Reviewed by: jhb
* o Reinstate Kerberos IV support for sshd when MAKE_KERBEROS4 isrwatson2001-02-031-0/+1
| | | | | | | | | compiled in. This involves a commented out sshd line to match the remainder of the commented out pam_kerberosIV.so entries. This doesn't quite restore the correct behavior, as ticket files are not managed properly, but it's an improvement. Forgotten by: green
* Pick up all messages* files less than two days old rather thanbrian2001-02-031-8/+9
| | | | | | | | | | just messages{,.0*} when looking for login failures and refused connections. PR: 23415 Mostly submitted by: phk Convert a few " "s to tabs while I'm here - for consistency.
* Change the permissions on /dev/tun* to 0600 root:wheelbrian2001-02-031-1/+1
|
* o Allow non-root users to open /dev/tun* (remove suser()brian2001-02-031-8/+5
| | | | | | | | | | | | | in tunopen()) o Change the default device permissions to 0600 root:wheel (were uucp:dialer) o Only let root (suser()) change the MTU This makes it possible for an administrator to open up the permissions on /dev/tun*, letting non-root programs service a tun interface. Co-operation is still required with a priviledged program that will configure the interface side of things.
* At the point in time where most devices are created, we don't know whatphk2001-02-022-1/+16
| | | | | time it is because boottime is not yet initialized. Finagle the relevant fields when we get the chance.
* Unfortunately low-altitude overflights is not enough to make penguins crash.phk2001-02-022-0/+36
|
* When turning off TCP_NOPUSH, call tcp_output to immediately flushjlemon2001-02-021-4/+14
| | | | | | out any data pending in the buffer. Submitted by: Tony Finch <dot@dotat.at>
* Only superuser can create symlinks.phk2001-02-021-2/+5
| | | | | Give symlinks mode 755 by default to avoid triggering alert eyes. (the mode isn't use on symlinks)
* BIND update now has security advisory number.bmah2001-02-022-2/+2
|
* quieten the esscontrol devicecg2001-02-021-1/+6
|
* strcpy -> strlcpy paranoianectar2001-02-021-1/+4
| | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit
* Removed vestiges of vop_mmap.bde2001-02-022-72/+1
|
* Fix tftpd and tftp to support file transfers of over 65535 blocksasmodai2001-02-024-4/+14
| | | | | | | (about 31 MB - 32 MB). Submitted (partially) by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
* * Move exception_return to exception.s which is a more logical home for it.dfr2001-02-021-8/+6
| | | | | | | | | * Optimise the return path for syscalls so that they only restore a minimal set of registers instead of performing a full exception_return. A new flag in the trapframe indicates that the frame only holds partial state. When it is necessary to perform a full state restore (e.g. after an execve or signal), the flag is cleared to force a full restore.
* Patch the reintroduced (~0 << 32) == 1 bug with a cryptic but functionalmsmith2001-02-022-2/+4
| | | | | | version. This should fix the read-before-write problem again. Obtained from: "Adam J. Richter" <adam@yggdrasil.com>
* Allocate lock table and mutex not only for parity plexes, but also forgrog2001-02-021-3/+3
| | | | | | | striped plexes. This prevents various panics introduced in the last rewrite of the locking code. Suffered by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* Pass the minor number rather than the unit number to make_dev()brian2001-02-022-4/+3
| | | | from the clone handler.
* KASSERT that the minor number passed to make_dev() is valid.brian2001-02-021-0/+3
|
* Fix typo.nik2001-02-023-3/+3
| | | | | PR: docs/23936 Submitted by: Garret Rooney <rooneg@rpi.edu>
OpenPOWER on IntegriCloud