summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed broken "make depend; make clean; make all" sequence.ru2002-04-101-1/+1
| | | | | | | | I've looked for this example for a long time, to demonstrate some people why it's a really BAD idea to use ${.OBJDIR} instead of ".". I hope these people are reading this. :-) Approved by: des
* Fix broken `checkdpadd'.ru2002-04-101-1/+1
| | | | | | | | -lroken is an installable library, there's no need to give an explicit path to it. In any case, -L paths should be specified in LDFLAGS if needed. Approved by: des
* Don't override standard _EXTRADEPEND actions, add to them.ru2002-04-101-5/+5
| | | | | Fix CLEANFILES. Collapse openpam_static_modules.o generation.
* Don't suggest that the digi firmware modules are normally loadedbrian2002-04-101-1/+1
| | | | | dynamically, as this will only happen if you kldload digi after the machine has booted or explicitly mention them in loader.conf.
* Don't build manuals at inappropriate time.ru2002-04-101-13/+5
| | | | Collapse generation of md[245].3 manpages.
* find.1 does not encourage users to DTRT when piping to xargs(1)trhodes2002-04-101-0/+7
| | | | | | | PR: 36602 Submitted by: Joshua Goodall <joshua@roughtrade.net> No objections from: ru MFC after: 2 days
* Call ast() from the syscall exit path as well as for full exceptiondfr2002-04-102-2/+84
| | | | restores.
* Initialise PCPU_GET(current_pmap) in pmap_bootstrap - cpu_switch needsdfr2002-04-101-0/+1
| | | | | | to be sure that it is always correct and this was not true for the first call to cpu_switch. When thread0 resumed later, it ended up calling pmap_install with a null pmap, which is bad.
* Remove the hack for segsz_t from <sys/types.h>; use the normalmike2002-04-106-5/+10
| | | | _BSD_FOO_T_ method for defining segsz_t.
* Add manifest constants: _LITTLE_ENDIAN, _BIG_ENDIAN, _PDP_ENDIAN, andmike2002-04-105-30/+75
| | | | | | _BYTE_ORDER. These are far more useful than their non-underscored equivalents as these can be used in restricted namespace environments. Mark the non-underscored variants as deprecated.
* Yet another adjustment of digi_delay(). The delay is now consistentbrian2002-04-103-18/+19
| | | | irrespective of whether tsleep() or DELAY() is used.
* o Fix an arguments number check in -n case.maxim2002-04-101-6/+1
| | | | | | | o Remove duplicated prio check, donice() makes it for us. Spotted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 week
* Postpone I/O to the device until attach has finished. This fixesn_hibma2002-04-101-21/+23
| | | | | | | | | | | | | attachment after boot in some cases where the device gets confused if spoken to over two different pipes simultaneously (resulting in TIMEOUT errors on requesting INQUIRY data). This solution is far from perfect, as after umass_attach has returned the USB stack fetches the string descriptors in order for creating the event that is sent to userland. It just makes the chances of collisions less likely. Tested by: Tomas Pluskal <plusik@pohoda.cz>
* Change more uses of tsleep() to digi_delay() and make the loop counts morebrian2002-04-103-19/+22
| | | | sane.
* Unconditionalize the definition of INET_ADDRSTRLEN andmike2002-04-102-4/+0
| | | | | INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd party software.
* Fix the FreeBSD native ATA RAID code a bit.sos2002-04-102-31/+34
|
* Implement POSIX -n option, cleanup an arguments parsing a bit.maxim2002-04-102-8/+55
| | | | | | | PR: bin/34076, bin/35929 Reviewed by: bde Obtained from: NetBSD MFC after: 1 week
* style(9) cleanup.maxim2002-04-101-22/+22
| | | | | Reviewed by: bde MFC after: 1 week
* Be more strict about exposing BSD-specific functions when a standardmike2002-04-101-10/+4
| | | | | | | | has been requested. Unconditionalize the definition of INET_ADDRSTRLEN and INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd party software.
* Close a very small window during which new (empty) instances of rotated logsheldonh2002-04-101-4/+13
| | | | | | | | | | | | | files are owned by the caller of newsyslog (usually root:wheel) even if alternative ownerships were specified in newsyslog.conf. Note that this is part of a wider problem which is fully addressed in OpenBSD. Anyone with the time and inclination to incorporate the full fix for the wider problem will receive no complaints from me and should feel free to walk all over this delta. PR: bin/36738 MFC after: 1 week
* Stop exporting ntohl(), ntohs(), htonl(), and htons() to userland inmike2002-04-101-4/+1
| | | | <sys/param.h>.
* Document NO_RCMNDS flag introduced in rev. 1.20 src/bin/Makefile.maxim2002-04-101-0/+7
| | | | | Approved by: ru MFC after: 1 week
* intline == 0 is not a valid intline on 386. See pci_cfgintr() inn_hibma2002-04-101-1/+5
| | | | | | | sys/i386/pci/pci_cfgreg.c. This should resolve some cases where adding USB support to the kernel produced an interrupt storm.
* Add missing 'struct ifreq ifr;' that was forgotten in the last commit.peter2002-04-101-0/+1
|
* A couple more sendmail-related filesgshapiro2002-04-101-0/+2
|
* I've fixed the X11 port, so I can remove the (ioctl) hack.imp2002-04-101-6/+1
| | | | | | | | | | | | | | | This hack turns out to be a bad idea. Many auto configuration scripts will #include a bunch of system headers, run it through cpp and then grep/sed to see if there was really a prototype. The regular expressions that are used to test this didn't accept all possible legal ANSI-C prototypes. In particular, they didn't accept the () around ioctl. Several different programs do this, so eliminating the parans will keep FreeBSD maximally compatible with other systems. Appologies to: obrien (he was right in the end) This potentally breaks some ports (and fixes vim and others that haven't been fixed to deal with the parens).
* fixed a kernel crash when enabling multicast on vlan interfacesuz2002-04-101-4/+9
| | | | | | | owing to a NULL argument to vlan_ioctl() at if_allmulti(). Reviewed by: ume MFC after: 1 week
* - Change settime() to take a thread as its first argument instead of a procjhb2002-04-101-36/+27
| | | | | | | | | so it can use td_ucred. - Push Giant down into the end of settime() where we actually set the time on the timecounter and time of day clock. - Remove Giant from clock_settime(). - Push Giant down in settimeofday() to just protect the 'tz' global variable.
* Update mail queue related periodic scripts to account for sendmail 8.12'sgshapiro2002-04-104-11/+51
| | | | | | | | | | | | | | | | | | | | clientmqueue (submit mail queue). The new mailq display is only active if both the old daily_status_mailq_enable is set to "YES" and the new daily_status_include_submit_mailq is set to "YES" so people who disabled 440.status-mailq won't have any surprises. Likewise, the new queue run is only active if both the old daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun is set to "YES" so people who disabled 500.queuerun won't have any surprises. While I am here, remove the [ ! -d /var/spool/mqueue ] checks from both scripts as the queue directory isn't always /var/spool/mqueue for the main daemon -- it can be set to anything in the sendmail.cf file. MFC after: 1 week
* Treat input on the snp device as an `unsigned char'. According to thedd2002-04-101-1/+1
| | | | | | | | submitter, this permits Russian (and probably other locales') characters to be entered via watch(8). PR: 35636 Submitted by: Gleb Smirnoff <glebius@rinet.ru>
* Add a digi_delay() function and use it instead of tsleep() when pollingbrian2002-04-101-5/+14
| | | | | | | | | the card for command completion. digi_delay() uses either tsleep() or DELAY() depending on the value of ``cold''. Pointed in the right direction by: jhb
* Style.obrien2002-04-101-3/+3
|
* Record sendmail 8.12.3 importgshapiro2002-04-103-6/+6
|
* Fix conflicts from sendmail 8.12.3 importgshapiro2002-04-105-42/+119
|
* This commit was generated by cvs2svn to compensate for changes in r94334,gshapiro2002-04-1092-1000/+2555
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.12.3gshapiro2002-04-1097-1042/+2674
| |
| * Remove files no longer part of the sendmail 8.12.2 distribution.gshapiro2002-02-1714-2580/+0
| |
* | Quiet uninitialized warnings.obrien2002-04-102-0/+2
| |
* | Add WARNS levels 5 and 6:obrien2002-04-101-1/+8
| | | | | | | | | | 5 gives us -Wuninitialized rather than -Wno-uninitialized 6 gives us full BDECFLAGS
* | In the cross case we need to provide TARGET_MACHINE.obrien2002-04-101-1/+4
| |
* | Remember to unlock the zone if the fill count is too high.jeff2002-04-101-3/+4
| | | | | | | | Pointed out by: pete, jake, jhb
* | Change YACCing.obrien2002-04-103-22/+16
| | | | | | | | Submited by: ru
* | Remove the code that masks an EEXIST returned from rtinit() whenbrian2002-04-101-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calling ioctl(SIOC[AS]IFADDR). This allows the following: ifconfig xx0 inet 1.2.3.1 netmask 0xffffff00 ifconfig xx0 inet 1.2.3.17 netmask 0xfffffff0 alias ifconfig xx0 inet 1.2.3.25 netmask 0xfffffff8 alias ifconfig xx0 inet 1.2.3.26 netmask 0xffffffff alias but would (given the above) reject this: ifconfig xx0 inet 1.2.3.27 netmask 0xfffffff8 alias due to the conflicting netmasks. I would assert that it's wrong to mask the EEXIST returned from rtinit() as in the above scenario, the deletion of the 1.2.3.25 address will leave the 1.2.3.27 address as unroutable as it was in the first place. Offered for review on: -arch, -net Discussed with: stephen macmanus <stephenm@bayarea.net> MFC after: 3 weeks
* | Don't add host routes for interface addresses of 0.0.0.0/8 -> 0.255.255.255.brian2002-04-101-6/+18
| | | | | | | | | | | | | | | | | | | | This change allows bootp to work with more than one interface, at the expense of some rather ``wrong'' looking code. I plan to MFC this in place of luigi's recent #ifdef BOOTP stuff that was committed to this file in -stable, as that's slightly more wrong that this is. Offered for review on: -arch, -net MFC after: 2 weeks
* | Display the recursion count in the lock_instance in the show locksjhb2002-04-101-1/+2
| | | | | | | | | | | | output. Indirectly requested by: peter
* | Cosmetic fixup in output of lock types in show locks output.jhb2002-04-101-1/+1
| |
* | Use the PCI port for pci cards, not just for PCIXR cards.brian2002-04-101-6/+6
| | | | | | | | | | | | | | | | Add the card name to the error message for the first initialisation failure, giving us more info about what was actually discovered. This code has been tested by Robert Suetterlin <robert@mpe.mpg.de> to work on a PCI Xem card.
* | In linker_load_module(), check that rootdev != NODEV before callingbrian2002-04-101-3/+5
| | | | | | | | | | | | | | | | | | | | | | linker_search_module(). Without this, modules loaded from loader.conf that then try to load in additional modules (such as digi.ko loading a card's BIOS) die badly in the vn_open() called from linker_search_module(). It may be worth checking (KASSERTing?) that rootdev != NODEV in vn_open() too.
* | Change linker_reference_module() so that it's passed a structbrian2002-04-103-6/+26
| | | | | | | | | | | | | | | | | | | | mod_depend * (which may be NULL). The only consumer of this function at the moment is digi_loadmoduledata(), and that passes a NULL mod_depend *. In linker_reference_module(), check to see if we've already got the required module loaded. If we have, bump the reference count and return that, otherwise continue the module search as normal.
* | Add some missing MODULE_VERSIONsbrian2002-04-108-0/+9
| | | | | | | | | | Without these, the kern_linker interface doesn't record these pseudo-drivers, making them unavailable via modlist_lookup2*().
OpenPOWER on IntegriCloud