summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) cleanup.ru2004-01-271-39/+72
|
* Fix a reentrancy issue in md5_calc().des2004-01-271-4/+1
|
* Fixed memory leak in NgSendAsciiMsg().ru2004-01-271-1/+4
|
* Preserve acls option on mounts when taking a snapshot.mckusick2004-01-271-1/+5
| | | | Submitted by: Wiktor Niesiobedzki <freebsd-lists@w.evip.pl>
* Remove only X[0-9]-lock.njl2004-01-271-1/+1
|
* Back out part of 1.21, since it breaks `script interactive-program`. Thiscperciva2004-01-271-2/+1
| | | | | | | | | re-breaks non-interactive portupgrade (or at least old versions of portupgrade); I'll see if I can put together a solution which avoids breaking anything later. Approved by: rwatson (mentor) Noticed by: Stefan Farfeleder, Joshua Goodall
* o add missing breaksam2004-01-271-1/+10
| | | | | | | | o remove extraneous bzero o add SYSINIT to properly initialize ip4_def_policy Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Submitted by: gnn@neville-neil.com
* change SYSINIT starting point to be consistent with other modulessam2004-01-272-2/+2
|
* add spdcachelookup and spdcachemiss to our version of struct ipsecstat sosam2004-01-271-0/+3
| | | | | | netstat works properly Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
* Fix the example back the way it was. Fix the commentary to say itimp2004-01-271-2/+2
| | | | allocates a 32 byte range of ioports.
* Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. Todes2004-01-274-8/+14
| | | | | | | | | | | assure backward compatibility (conditional on !BURN_BRIDGES), look it up by its old name first, and log a warning (but accept the setting) if it was found. If both the old and new name are defined, the new name takes precedence. Also export vm.kmem_size as a read-only sysctl variable; I find it hard to tune a parameter when I don't know its default value, especially when that default value is computed at boot time.
* While USB keyboards attach as ukbd[0-9]+, the device node created bydes2004-01-271-1/+2
| | | | | | | | | | | kbd_attach() is called kbd[0-9]+, with a different unit number. This makes it impossible to write a devd rule which will automatically switch to a USB keyboard when one is attached, because there is no way to guess the correct device node to pass to kbdcontrol. Therefore, change kbd_attach() to create a device node using the keyboard device's real name (atkbd0, ukbd0...), and create the kbd[0-9]+ node as an alias for backward compatibility.
* The ataraid device is not needed for pc98.nyan2004-01-271-0/+1
|
* Fixed pc98 partition type.nyan2004-01-271-1/+1
|
* - Fix for sparc64 to use new __panic() functionkensmith2004-01-271-2/+4
| | | | | | Adapted from patch by: David Cornejo <dcornejo@firetide.com> Reviewed by: freebsd-sparc64 (harti) Approved by: rwatson (mentor)
* Add an entry for RELENG_5_* to match the RELENG_4_* entry.cperciva2004-01-271-0/+1
| | | | | | Reviewed by: nectar Approved by: rwatson (mentor) Bikesheds to: nectar
* Turn uio_resid/uio_offset comments into KASSERTsache2004-01-271-16/+8
| | | | Reviewed by: bde
* Don't confuse NULL and 0, use 0 where an integer is expected.harti2004-01-271-2/+2
|
* Style: add __FBSDID, relocate some { that were on the wrong line,harti2004-01-271-36/+24
| | | | | correct some indendation, change __FUNCTION__ to __func__ and remove a local KASSERT definition.
* This should have been checked in as part of the last update to if_ndis.c:wpaul2004-01-271-0/+1
| | | | | add yet another member to the ndis_softc as part of the workaround for the net80211 dain bramage.
* Some Windows .INF files are deliberately sabotaged to prevent them fromwpaul2004-01-271-1/+22
| | | | | | | | | | | | | | | | | | | | | | | loading on a particular version of Windows. For example, a .INF file for a Windows 2000 driver may have an empty [foo.NT.5.1] section which will be ingored on Win2K (whose .INF parser won't look for sections decorated with .NT.5.1) in favor of a [foo] section. Likewise, a WinXP file will have an empty [foo] section which will be ignored in favor of [foo.NT.5.1]. The problem is, we can handle both Win2K and WinXP drivers, and we don't want to exclude either one. As a workaround, we try to pretend we are WinXP by default and search for sections decorated with .NT.5.1, but if we don't turn up any records, we assume that maybe we're being fooled by a sabotaged .INF file and make one more pass looking for undecorated sections instead. This allows us to parse the .INF files for both the Win2K and the WinXP Centrino wireless drivers. I'd give anything for 5 minutes alone in a room with whoever wrote Microsoft's .INF file parser. Just 5 minutes. That's all.
* Implement NdisVirtualBufferAddress() and NdisVirtualBufferAddressSafe().wpaul2004-01-271-0/+21
| | | | The RealTek 8180 driver seems to need this.
* Add a kludge to avoid having ndis_init() called needlessly by dhclientwpaul2004-01-271-10/+22
| | | | | | | | on an SIOCSIFADDR (by way of brain damage in net80211). Also, avoid trying to set NDIS_80211_AUTHMODE_AUTO since the Microsoft documentation I have recommends not using it, and the Centrino driver seems to dislike being told to use it.
* Add TUNABLE_STR to make "hw.acpi.os_name" more correct. However, the callnjl2004-01-271-3/+2
| | | | to getenv_string() still doesn't work.
* Document my adventures in newbus land. Clarify some examples, especiallynjl2004-01-272-11/+17
| | | | | that count is in bytes, not bits. There are some drivers that I think make this mistake. (I've seen counts of 16 in the tree).
* Discontinuation of an action that now fits on one.obrien2004-01-271-3/+1
|
* Stick two XXX's in the syscall() code: we call STOPEVENT() twice forrwatson2004-01-271-0/+8
| | | | | | every system call, and that grabs and release the process lock each time. Don't fix it (yet), but document it so we know to fix it. Also should be a 5.3-RELEASE todo item.
* Clean up macro usage in if_attach():brooks2004-01-271-2/+2
| | | | | - Use the system offsetof macro rather then making out own. - undef ROUND after we use it rather then polluting the whole file.
* Use the M_BZERO flag with malloc() in a couple of places.wpaul2004-01-271-8/+6
|
* Use IFNAMSIZ instead of a magic value for the length of an interfacebrooks2004-01-272-4/+5
| | | | | | | | name. Prevent the kernel from potentially overflowing the interface name variable. The size argument of strlcpy is complex because the name is not null-terminated in sdl_data.
* Modified release note: Rewrite CVS update note to reflect realitybmah2004-01-272-12/+12
| | | | Submitted by: nectar
* Reorganize the timer code a little and implement NdisInitializeTimer()wpaul2004-01-263-17/+96
| | | | | | | | | | | and NdisCancelTimer(). NdisInitializeTimer() doesn't accept an NDIS miniport context argument, so we have to derive it from the timer function context (which is supposed to be the adapter private context). NdisCancelTimer is now an alias for NdisMCancelTimer(). Also add stubs for NdisMRegisterDevice() and NdisMDeregisterDevice(). These are no-ops for now, but will likely get fleshed in once I start working on the Am1771/Am1772 wireless driver.
* Fix ~/.hushlogin handling.fjoe2004-01-261-3/+4
| | | | | PR: 61354 Submitted by: Eugeny Grosbein <eugen (at) kuzbass.ru>
* *BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK*jhb2004-01-268-604/+0
| | | | | | | *BANG* *BANG* *BANG* *BANG* *BANG* *BANG* *CLICK* *CLICK* *CLICK* Death to the stripped down BOOTMFS kernel for boot floppies and all the cruft that goes along with it.
* Overhaul our boot floppy generation system so that it scales better andjhb2004-01-261-179/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requires minimal care and feeding for future releases. - Consolidate multitude of floppy related constants down to a normal FLOPPY set for 1.44 floppies and on PC98 a SMALLFLOPPY set for 1.2 floppies. Also, cleanup the i386 arch section by not duplicating constants that are the same on both machine types (i386 and pc98). - Update the ZIPNSPLIT macro to generate a file chunks that will actually fit onto 1.44 floppies formatted with UFS1. Unfortunately, split(1) seems to be somewhat buggy, so the files generated are slightly larger than the argument passed to split. - Split the release.10 target into 3 targers: floppies.1, floppies.2 and floppies.3 that are added to EXTRAS only if NOFLOPPIES is defined. floppies.1 builds the install floppies, floppies.2 builds the fixit floppy, and floppies.3 generates the md5 sums and READMEs for the floppies/ directory. - Drop the by now largely obsolete and less useful boot.flp picture. This was more useful when the mfsroot lived inside the kernel rather than being loaded from a separate file by the loader. - Only build a single mfsroot containing no modules that is used for all installation methods. - Use split-file.sh to split up a gzipped GENERIC kernel into however many floppies it takes for the boot kernel. Currently, a stock 5.2 GENERIC kernel including WITNESS, INVARIANTS, DDB, and other assorted bloat fits onto 2 additional floppies besides the boot floppy with some room to spare. - If SPLIT_MFSROOT is defined, the mfsroot.gz file is similar split into however many floppies are needed. Currently it is not defined as the mfsroot.gz fits onto the current boot.flp with room to spare. - Add a 'makeFloppySet' target which builds a floppy set for a file that was split using split-file.sh. - Rename the doMFSKERN target to 'buildBootFloppy' as that more closely matches what it does now. We no longer build a custom BOOTMFS kernel for each boot floppy. - We no longer build a 2.88 boot.flp image to use with emulated CD booting. The non-emulated cdboot works for almost everyone who boots off of CD and if it doesn't work on a particular machine, the user can always boot from the 1.44 floppy images. - We no longer build a driver floppy or stick kernel modules in the mfsroot since we now use a stock kernel when booting from floppy.
* Add a script to split a single file up into chunks using split along withjhb2004-01-261-0/+39
| | | | | | | | a list file suitable for use with libstand's splitfs filesystem. The first chunk of the file is 16k and has an extension of '.boot' and is meant to be placed on the boot floppy. This is required because the current implementations of gzipfs and bzipfs in libstand want to read in the header of the file each time it is opened.
* The problem Makefile rev 1.70 and fbsd-kgdb-i386.h rev 1.4 fixed is thatobrien2004-01-260-0/+0
| | | | | | | GDB was using the instruction pointer for 'calltrap', rather than the infinitely more useful instruction pointer where the trap occurred. Submitted by: Peter Edwards <pmedwards@eircom.net>
* - Call acpi_Startup() before parsing interrupt-related APIC resources so wejhb2004-01-261-7/+43
| | | | | | | | | | | | | | | | | can look at the ACPI tables. If the startup fails, we panic and tell the user to try rebooting with ACPI disabled. Previously in this case we would try to use $PIR interrupt routing which only works for the atpic while using the apic to handle interrupts which would result in misrouted interrupts and a hang at boot time with no error message. - Read the SCI out of the FADT instead of hardcoding 9 when checking to see if an interrupt override entry is for the SCI. - Try to work around some BIOS brain damage for the SCI's programming by forcing the SCI to be level triggered and active low if it is routed to a non-ISA interrupt (greater than 15) or if it is identity mapped with edge trigger and active high polarity. This should fix some of the hangs with device apic and ACPI that some people see. Reviewed by: njl
* Move the code to initialize ACPI-CA into a separate acpi_Startup() functionjhb2004-01-262-24/+42
| | | | | | | that other modules can call to initialize ACPI-CA before the new-bus probe and change acpi_identify() to call it. Reviewed by: njl
* Implement pam_sm_close_session().des2004-01-261-1/+13
| | | | | PR: bin/61657 Submitted by: Joe R. Doupnik <jrd@cc.usu.edu>
* New release note: SMBFS request signing [1].bmah2004-01-262-4/+44
| | | | | | | Modified release notes: Expand on ULE features [2], provide a further clarification on CVS changes. Submitted by: tjr [1], jeffr [2]
* Get rid of the last two uses of NG_NODELEN + 1 in the base system byharti2004-01-262-2/+2
| | | | replacing them with NG_NODESIZ.
* Add missing 'device ataraid' to support ATA software RAID.ale2004-01-261-0/+1
| | | | | | Noticed by: Dario Freni <saturnero@gufi.org> Approved by: blackend (mentor) Reviewed by: sos
* Do not treat make variables as Perl variables.kan2004-01-261-4/+4
|
* Xref kqueue and polleivind2004-01-261-0/+2
|
* Xref kqueueeivind2004-01-261-0/+1
|
* Replace deprecated NG_NODELEN with the new NG_NODESIZ. There is oneharti2004-01-263-4/+9
| | | | | | | problem here still to be solved: the sockaddr_hci has still a 16 byte field for the node name. The code currently does not correctly use the length field in the sockaddr to handle the address length, so node names get truncated to 15 characters when put into a sockaddr_hci.
* Avoid dereferencing null pointers in fsck_ffs. (pfatal may return,cperciva2004-01-262-2/+7
| | | | | | | so it isn't a safe way of handling [mc]alloc failures.) PR: misc/61800 Approved by: rwatson (mentor)
* Get rid of the old *LEN constants in favour of the new *SIZ constantsharti2004-01-262-6/+6
| | | | that also include the trailing \0 byte.
* Define the new command NGM_SOURCE_START_NOW to allow generation ofharti2004-01-261-0/+1
| | | | | traffic for non-ethernet hooks. This commit should have been packaged with the commit to ng_source.c.
OpenPOWER on IntegriCloud