summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Spoiling is now not possible, because we keep consumers open for writingpjd2005-01-043-38/+13
| | | | | | all the time. Remove unused code then. MFC after: 4 days
* Fix 'redraw' of checklist box. It is occurs in situation when size ofphantom2005-01-041-0/+9
| | | | | | | | | checklist box is strictly set via command line, but amount of checklist items less than height of checklist box. In this case bottom part of box was not redrawn (occurs when passing focus behind of 'Cancel' button while configuring any FreeBSD port OPTIONS) MFC after: 3 days
* Remove old wdc driver completely.nyan2005-01-043-20/+0
|
* Minor nits in formatting continued linesimp2005-01-041-2/+2
|
* cnw as a pccard device was commented out, so uncomment it so LINT will build.imp2005-01-041-1/+1
|
* Since we do not support forceful unmount of DEVFS we can do away withphk2005-01-041-45/+3
| | | | the partially implemented vnode-readoption code in vgonechrl().
* Unsupport forceful unmounts of DEVFS.phk2005-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After disscussing things I have decided to take the easy and consistent 90% solution instead of aiming for the very involved 99% solution. If we allow forceful unmounts of DEVFS we need to decide how to handle the devices which are in use through this filesystem at the time. We cannot just readopt the open devices in the main /dev instance since that would open us to security issues. For the majority of the devices, this is relatively straightforward as we can just pretend they got revoke(2)'ed. Some devices get tricky: /dev/console and /dev/tty for instance does a sort of recursive open of the real console device. Other devices may be mmap'ed (kill the processes ?). And then there are disk devices which are mounted. The correct thing here would be to recursively unmount the filesystems mounte from devices from our DEVFS instance (forcefully) and if this succeeds, complete the forcefully unmount of DEVFS. But if one of the forceful unmounts fail we cannot complete the forceful unmount of DEVFS, but we are likely to already have severed a lot of stuff in the process of trying. Event attempting this would be a lot of code for a very far out corner-case which most people would never see or get in touch with. It's just not worth it.
* There's no longer a wd driver.imp2005-01-042-90/+0
|
* Catchup to wd removalimp2005-01-041-12/+0
|
* Allow usbd to handle event notificatiosn where mor ethan onejulian2005-01-041-47/+67
| | | | | | | | | device is involved, (e.g. plugin a hub with multiple devices already attached to it) Submitted by: Naoyuki Tai <ntai@smartfruit.com> PR: 43993 MFC in: 1 week
* Remove last vestiges of old wd driver. ata works well on pc98 andimp2005-01-048-5551/+0
| | | | | there was no objection on the pc98 list when I asked if it could be removed a while ago.
* move all the card entries to files.pc98imp2005-01-043-1734/+1732
| | | | style change: regularize tabbing
* First step in removing OLDCARD from FreeBSD 6.0:imp2005-01-042-6/+6
| | | | | o Move card from all architectures to just pc98. It is only needed there, although real issues remain with NEWCARD's support of ISA devices.
* - list the LSI MegaRAID SATA 150-(2|4|6) controllers as supported (1)brueffer2005-01-041-5/+12
| | | | | | | | | | | - mention SATA support in a few places - AMI -> AMI/LSI for controllers now sold my LSI - bump .Dd PR: 61878 (1) Submitted by: Sten Spans <sten@blinkenlights.nl> Discussed with: simon (sorting) MFC after: 3 days
* nologin(8) does not seem to require any command line parameters,delphij2005-01-041-2/+2
| | | | | | | | | | | | so remove argc and argv from main() argument. At the same time, user and tt is not likely to be changed during execution so mark them const. This commit should guarantee nologin to pass WARNS=6. Tested on: i386 MFC After: 1 month
* Because the `permission' field in conf_entry is intended to be used asdelphij2005-01-041-1/+1
| | | | | | | | | | parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t), it's more likely that it should be defined as an unsigned variable. This commit should make newsyslog WARNS=6 clean, but don't bump the knob until I have a universe build. MFC After: 1 month
* - list the 3Com 3c920B-EMB-WNM as supported.brueffer2005-01-031-2/+2
| | | | - bump .Dd
* Add a simple regression test for mlock()/munlock() to make sure theyrwatson2005-01-032-0/+97
| | | | | | work on a single page as root, and fails on a single page as nobody. Intended to help diagnose reports regarding insecure memory use with gnupg.
* Fix 'rebuild' command (we ignore retaste event now, so don't relay on it).pjd2005-01-033-11/+23
|
* Add PCI and device ID's to if_xl to support:rwatson2005-01-032-1/+6
| | | | | | | | | | | 3C920B-EMB-WNM Integrated Fast Ethernet Controller Submitter reports that the card appears to autonegotiate properly, and operate well with high levels of NFS traffic. PR: 75253 Submitted by: "Oleg V. Nauman" <oleg at reis dot zp dot ua> MFC after: 2 weeks
* The badsect(8) utility uses atol(), which doesn't allow very good errorrwatson2005-01-031-1/+4
| | | | | | | | | | checking and only recognizes numbers in base 10. The attached patch checks errno after strtol() and uses a base of 0 to allow octal, or hex sector numbers too. PR: 73112 Submitted by: keramida MFC after: 2 weeks
* The ffsinfo utility uses atol() to parse numeric values out of optargrwatson2005-01-031-3/+10
| | | | | | | | | | | | | | strings. This isn't necessarily a bug, but it can be slightly inconvenient, because atol() doesn't know how to parse hexadecimal or octal numbers and at least one of the options of ffsinfo(8) would be easier to use if it did. Changing atol() -> strtol() allows one to use hex masks for -l MASK, i.e.: orion:/a/freebsd/src/sbin/ffsinfo# ./ffsinfo -l 0x3ff / PR: 73110 Submitted by: keramida MFC after: 2 weeks
* Use byteorder(9) functions to implement the [g,s]et[d,w][b,l]e macros somarius2005-01-031-36/+14
| | | | | | | | | only one set is needed for either endianess. This also completes them for big endian archs and fixes the compilation of libncp, netncp, etc. there. Reviewed by: bp, rwatson Compile tested on: i386, sparc64 MFC after: 1 week
* There is a better way to find out whether a port is installed or not.josef2005-01-031-3/+2
|
* When allocating bio's in the swap_pager use M_WAITOK since thephk2005-01-031-6/+7
| | | | alternative is much worse.
* Reduce diffs to work in progress before checking in serious changes.philip2005-01-032-38/+40
| | | | | | | | | | | | | | | | o Move the sysctls under debug.psm.* and hw.psm.* making them a bit clearer and more consistent with other drivers. o Remove the debug.psm_soft_timeout sysctl. It was introduced many moons ago in r1.64 but never referenced anywhere. o Introduce hw.psm.tap_threshold and hw.psm.tap_timeout to control the behaviour of taps on touchpads. People might like to fiddle with these if tapping seems to slow or too fast for them. o Add debug.psm.loglevel as a tunable so that verbosity can be set easily at boot-time (to watch probes and such) without having to compile a kernel with options PSM_DEBUG=N.
* Garbage collect unused ipx_abort().rwatson2005-01-032-13/+2
| | | | | | Spell NULL right in a KASSERT() panic message. MFC after: 1 week
* Remove unused #include.pjd2005-01-031-1/+0
|
* Exempt the superuser from mac_seeotheruids checks.rwatson2005-01-031-0/+3
| | | | | | Submitted by: bkoenig at cs dot tu-berlin dot de PR: 72238 MFC after: 2 weeks
* Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)sobomax2005-01-035-15/+12
| | | | | | | | which doesn't end in \n, since it may be very confusing. Also this should increase consistency, since most other config files work just fine regardless of the presence of traling \n in the last line. MFC After: 2 weeks
* Remove comment that doesn't seem to be true and add comments describingjulian2005-01-031-17/+16
| | | | | | what is going on, to replace it. Slight formatting changes Code here is alredy different to NetBSD. MFC after: 1 week
* A much simpler way to work out if the required transfer can be done in 2julian2005-01-031-3/+2
| | | | | | scatter gather segments. MFC after: 1 week
* Back out previous commits. Installing new share/mk fixes this.njl2005-01-031-1/+0
|
* Add a sysctl (net.inet.tcp.insecure_rst) which allows one to specifysilby2005-01-032-2/+14
| | | | | | | that the RFC 793 specification for accepting RST packets should be following. When followed, this makes one vulnerable to the attacks described in "slipping in the window", but it may be necessary in some odd circumstances.
* First cut at RockRidge support.kientzle2005-01-031-95/+288
| | | | | | Large thanks to the easy-to-read and well-documented sys/isofs/cd9660 source code, which provided many of the details I needed for this exercise.
* NO_MAN is now NOMAN.njl2005-01-031-1/+1
|
* Fix kernel modules build. For some reason, this module now bails out withnjl2005-01-031-0/+1
| | | | an error that there is no aicasm.1 man page.
* Catch up with the kernel and set any global variables we are using, innjl2005-01-031-0/+6
| | | | | | particular, enabling interpreter workarounds for bad ASL. MFC after: 1 day
* Constify arguments.marcel2005-01-036-17/+17
|
* Next round of work on ISO9660 support:kientzle2005-01-031-79/+151
| | | | | | | | | | | | | * Reference-count the directory data so that we don't leak memory. * Correctly step through the directory records (skipping unrecognized extensions) * Use better defaults for file modes * Sort directory entries by offset of the end of the file rather than the beginning of the file. This fixes a lot of "out-of-order" problems with zero-length files, in particular. * Style fixes, remove some debug code, add some error messages.
* Regen.marcel2005-01-035-6/+6
|
* uuidgen(2) is MP safe.marcel2005-01-031-1/+1
|
* If MALLOC() fails in at_pcballoc(), return ENOBUFS rather thanrwatson2005-01-031-1/+3
| | | | | | potentially panicking. MFC after: 1 week
* Replace a mention of the ia64_unaligned directory with one of themarcel2005-01-021-1/+1
| | | | | ia64 subdirectory. All ia64 specific regression tests live under the ia64 directory.
* Regression test for unaligned loads and stores for short, int, long,marcel2005-01-022-0/+144
| | | | | | float, double and long double types. No post-increment tests yet. All tests are skipped if the debug.unaligned_test sysctl variable cannot be set to 1.
* evise use of queue(9) macros for netipx when used from userspace:rwatson2005-01-021-11/+5
| | | | LIST_FOREACH() is difficult to use correctly, so don't try to.
* Remove trailing spaces.krion2005-01-026-7/+7
| | | | MFC after: 3 days
* Remove trailing spaces.krion2005-01-027-10/+10
| | | | | Reviewed by: brueffer MFC after: 3 days
* Acquire the socket buffer receive lock in spx_rcvoob() to permitrwatson2005-01-021-0/+3
| | | | multiple reads of receive buffer state to be performed atomically.
* Increase the coverage scope of the receive socket buffer lock inrwatson2005-01-021-10/+9
| | | | | | spx_reass() to increase atomicity across multiple operations on the socket buffer when iterating over the SPX fragment reassembly list for the ipxpcb, as well a to reduce the number of locking operations.
OpenPOWER on IntegriCloud