summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Free the correct buffer in error handling.mbr2003-01-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Handle that malloc may return NULL. NetBSD Rev. 1.8 Reviewed by: phk Obtained from: NetBSD
* | | Reset the record lenght and received bytes once a recordmbr2003-01-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is finished. This fixes clients doing two RPCs over the same connection at the same time. Without this fix, we could end with a reply to old data. Submitted by: Frank van der Linden <fvdl@netbsd.org> Reviewed by: rwatson Obtained from: NetBSD
* | | Update mount_nfs documentation to reference new sysctl for -c default.dillon2003-01-271-2/+6
| | |
* | | Add the sabtty children devices as unordered. Use the unit numbr ofjake2003-01-271-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | the sabtty device to create its description so that they will be unique for machines with multiple sab chips. This fixes a panic on machines with an rsc card. Tested by: obrien (e250)
* | | A few changes for clarity.trhodes2003-01-271-13/+17
| | | | | | | | | | | | | | | PR: 47170 Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
* | | Don't try to fseek before the beginning of the file; POSIX requires thatfenner2003-01-271-7/+8
| | | | | | | | | | | | | | | | | | this return an error. This re-enables display of the first entry in /var/account/acct instead of the error "lastcomm: /var/account/acct: Invalid argument"
* | | Unbreak i386 snapshots by moving the 802.11 support (device wlan)ru2003-01-272-0/+2
| | | | | | | | | | | | out from BOOTMFS to the drivers floppy.
* | | Don't dereference null vnode pointer if controling terminal was revoked.phk2003-01-271-3/+5
| | | | | | | | | | | | Submitted by: "Peter Edwards" <pmedwards@eircom.net>
* | | Actually extract the second field from a line in ftpchroot(5)yar2003-01-271-15/+17
| | | | | | | | | | | | instead of just using the rest of the line behind the first field.
* | | Allow more than one separator character between fields in ftpchroot(5).yar2003-01-271-1/+3
| | |
* | | Add PCI id for fxp(Intel Pro/100 M Mobile Connection).sanpei2003-01-271-0/+1
| | | | | | | | | | | | | | | | | | PR: i386/41915 Submitted by: Ross A. Lippert <ripper@eskimo.com> MFC after: 1 week
* | | Back the previous commit out. It didn't actually fix the problem I wasbenno2003-01-271-3/+5
| | | | | | | | | | | | | | | | | | seeing and the memory barrier isn't needed with the bridges we're using. Fix the function style however.
* | | Put the Perfection 1660 scanner entry in the right place. (Entriesjoe2003-01-271-1/+1
| | | | | | | | | | | | are sorted by product id).
* | | Update the code that deals with disk enclosures:sos2003-01-274-69/+135
| | | | | | | | | | | | | | | | | | | | | | | | Properly handle the newer Promise SuperSwap 1000 enclosures. Print out what kind of enclosure was found in the probe. Misc cleanups in the enclosure handling code. Sponsored by: Advanis Inc.
* | | Don't use the kern.disks sysctl to find a list of md devices, use thephk2003-01-271-41/+7
| | | | | | | | | | | | | | | | | | MDIOCLIST ioctl instead. Spotted by: keramida
* | | Implement MDIOCLIST which returns the unit numbers of configured md(4)phk2003-01-271-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | devices. We use the md_pad[] array and if there are more units than its size the last returned unit number will be -1, but the number of units returned is correct.
* | | Add an ioctl to return the unit numbers of the configured md devices.phk2003-01-271-1/+3
| | |
* | | Ensure that the TTY file descriptor is greater than or equal to 10 so thattjr2003-01-271-1/+14
| | | | | | | | | | | | | | | | | | | | | it doesn't interfere with the user's redirections. PR: 47136 MFC after: 1 week
* | | Convert newfs to use libufs. I've tested this on md filesystems, as hasjmallett2003-01-274-111/+42
| | | | | | | | | | | | keramida, and all seems well.
* | | MFp4:imp2003-01-274-63/+63
| | | | | | | | | | | | u_int*_t -> uint*_t to conform more closely with C99.
* | | Enable device zs and device sab by default.jake2003-01-271-2/+2
| | |
* | | Add a note about the ofwcons device name change.jake2003-01-271-0/+4
| | |
* | | Teach sysinstall about the em(4) device.trhodes2003-01-272-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | PR: 46439 Submitted by: Dan Lukes <dan@obluda.cz> Approved by: re (murray) Tested? yes MFC: 1 day
* | | Change ofwcons to use the output-device property from the firmware for thejake2003-01-272-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name of the device that it creates. Update /etc/ttys accordingly. An alias is created for the old name so that old /etc/ttys will continue to work, but due to aliases being implemented as symlinks in devfs you cannot login as root when using the alias device. Discussed with: grehan
* | | Back out some changes that snuck in with the last commit.benno2003-01-274-538/+62
| | | | | | | | | | | | Pointy hat to: benno
* | | Flesh out bus_dmamap_sync.benno2003-01-275-63/+544
| | |
* | | Use td->td_sticks, not td->td_kse->ke_sticks.benno2003-01-272-2/+2
| | | | | | | | | | | | Forgotten by: davidxu
* | | Remove a duplicate definition of the __FBSDID macro.benno2003-01-271-6/+0
| | |
* | | Now return NULLified struct in case of empty config fileache2003-01-271-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly). It not affect existen programs because property_find() now returns NULL for both NULL pointer and NULLified struct.
* | | Handle read errorsache2003-01-271-3/+6
| | |
* | | Note that -c is no longer supported. This was requested by a few users andtrhodes2003-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | we even have a PR about it. PR: 47388 Discussed with: bmah Requested by: many
* | | If we don't know where the sblock is (e.g. filling out a blank disk), thenjmallett2003-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | get it from the fs structure. Really libufs should have interfaces to generate both what we export, and what we import, based on eachother, and this should be full of redundant code to make sure everything is right... But really, we don't even deal with checksums, so plenty of room to improve.
* | | Simplify vm_object_page_remove(): The object's memq is now ordered. Thealc2003-01-271-62/+31
| | | | | | | | | | | | | | | two cases that existed before for performance optimization purposes can be reduced to one.
* | | Unbreak SMP cases for these architectures.julian2003-01-272-2/+2
| | | | | | | | | | | | | | | | | | statclock_process() changed arguments. note: it may be worth checking if curkse is needed on these architectures.. (and if so, why?)
* | | Fix standard kse breakage of non-x86 platforms.jake2003-01-261-2/+1
| | | | | | | | | | | | Pointy hat to: davidxu
* | | Use kg_numupcalls to see if we are closing a thread group,davidxu2003-01-262-4/+4
| | | | | | | | | | | | not kg_kses which is not changed when a group is still working.
* | | Very minor EOL whitespace diff-reducer.markm2003-01-261-1/+1
| | |
* | | Missed a bit of cleanup.markm2003-01-261-2/+0
| | |
* | | fix warningsalfred2003-01-261-2/+2
| | |
* | | make these more useful for lint(1). Minor diff-reductions while I'mmarkm2003-01-266-1/+7
| | | | | | | | | | | | about it.
* | | Fix namespace pollution introduced in previous commit.mbr2003-01-262-5/+5
| | | | | | | | | | | | Reviewed by: phk
* | | Remove the get_term() function. It pretty much can't work formarkm2003-01-261-36/+7
| | | | | | | | | | | | | | | | | | | | | | | | FreeBSD, and makes ugly diffs with the other crt1.c's. Leave behind a comment (words supplied by Thomas Moestl) that explain the issue. OK'ed by: tmm
* | | Fix a typo and reword a bit the description of the new SCHED_xxx stuff.keramida2003-01-261-4/+4
| | | | | | | | | | | | Reviewed by: jeff
* | | If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctlsphk2003-01-262-0/+12
| | | | | | | | | | | | | | | | | | to fiddle the disk we can get away with it. Try to use DIOCBSDBB to write boot code.
* | | Implement DIOCBSDBB ioctl which overwrites first BBSIZE bytes of BSDphk2003-01-261-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | labeled disk. This is complicated by the fact that BBSIZE is greater than the PAGE_SIZE limit ioctl inflicts on arguments which are automatically copied in. As long as we don't need access to userland memory (copyin/out) we can deal with the ioctl using g_callme() which executes it from the GEOM event thread. Once we need copyin/out, we need to return the bio with EDIRIOCTL in order to make geom_dev call us back in the original process context where copyin will work. Unfortunately, that results in us getting called with Giant, so we have to DROP_GIANT/PICKUP_GIANT around the code where we diddle GEOMs internals. Sometimes you just can't win... ... But it does make geom_bsd.c an almost complete example of the GEOM beastiarium.
* | | Add ioctl which overwrites the first BBSIZE bytes of a BSD labeled disk.phk2003-01-261-0/+1
| | |
* | | Fix KSE related patch.julian2003-01-266-12/+6
| | | | | | | | | | | | | | | Make it compile for the SMP case.. statclock_process() has changed prototypes.
* | | Correct typo.murray2003-01-262-2/+2
| | | | | | | | | | | | Submitted by: Andreas Kohn <andreas.kohn@gmx.net> (via -STABLE)
* | | regenalfred2003-01-261-2/+2
| | |
* | | Add const qualifier to data argument for msgsnd.alfred2003-01-264-6/+5
| | | | | | | | | | | | | | | PR: standards/45274 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
OpenPOWER on IntegriCloud