summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prefer FreeBSD.org to freebsd.org in mail alias examples.rwatson2003-09-281-2/+2
|
* Remove unused variable.davidxu2003-09-282-4/+0
|
* Removed some nearly dead code in comparam(). We don't need to recoverbde2003-09-281-9/+0
| | | | | | from fiddling with CS_TTGO since fiddling with CS_TTGO was removed in rev.1.218 of the i386/isa version (which was merged with loss of history in rev.1.223 of this version).
* Use the new style struct sockaddr instead of osockaddr in system callstjr2003-09-282-2/+11
| | | | | | so that talk works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs
* Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makestjr2003-09-281-1/+1
| | | | | | | no function changes, but removes an unnecessary reference to a deprecated struct. Obtained from: NetBSD (thorpej)
* Use the new style struct sockaddr instead of osockaddr in system callstjr2003-09-281-4/+6
| | | | | | so that talkd works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs
* Use the POSIX tty interface instead of the old interface. This makestjr2003-09-282-104/+58
| | | | | | rlogin work properly without COMPAT_43. Obtained from: NetBSD (mycroft)
* Remove remnants of Kerberos -Kkx options.tjr2003-09-282-25/+4
|
* Set the baud rate to 1200 if the device is a keyboard.jake2003-09-281-1/+4
|
* Only create the ofwcons device nodes if it has been initialized, notjake2003-09-281-1/+2
| | | | just probed.
* Reworked rev.1.14. Use the ELF symbol type again to summarily rejectbde2003-09-281-0/+5
| | | | | | | | | | | | | some symbols in X_db_search_symbol(). Reject the same symbols that rev.1.13 did (all except STT_OBJECT and STT_FUNC), except don't reject typeless symbols. This keeps the typeless symbols in non-verbosely written assembler code visible, but makes file symbols invisible. ELF file symbols have type STT_FILE and value 0, so this stops small values and offsets sometimes being displayed in terms of the first file symbol in the kernel (usually device_if.c). I think it rejects some other unwanted symbols (small absolute symbols for things like struct offsets). It may reject some wanted symbols (large absolute symbols for addresses like PTmap).
* Make ofw_console a low priority console device, so that uart will bejake2003-09-281-1/+1
| | | | preferred in all cases, even if the "remote" bit is not set.
* Add a "low" console priority. This specifies that the console devicejake2003-09-281-3/+4
| | | | | may have limited functionality and should only be used as a last resort, perhaps only to tell the user that they should be using something else.
* Drop any and all support for varargs. There's no history to worrymarcel2003-09-281-14/+1
| | | | | | | about because we're still tier 2 and our current compiler, as well as future compilers will not support varargs. This is mostly a no-op in practice, because <sys/varargs.h> should already cause compile failures.
* Tweak "system security profiles:rwatson2003-09-282-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | (1) Don't modify the configuration of the NFS server as a result of selecting a profile. We already explicitly prompt for the NFS server configuration during install, and the user may not get much advance notice that we're turning it off again. Instead, use profiles (for better or for worse) only for security tuning. (2) Don't modify the sendmail setting as part of the security profile: use the default from /etc/defaults/rc.conf rather than explicitly specifying. Note that the default in /etc/defaults/rc.conf is more conservative than the explicit rc.conf entry added by sysinstall during install, as it does not permit SMTP delivery. (3) Update "congratulations on your profile" text to reflect these changes. Note that security profiles now affect only the securelevel and sshd settings. My leaning would be to make sshd an explicit configuration option, move securelevels to the security menu, and drop security profiles entirely. However, that requires more plumbing of sendmail than I'm currently willing to invest. We may want to add a "permit SMTP delivery" question to the install process.
* In vm_page_remove(), assert that the vm object is locked, unless an Alpha.alc2003-09-281-2/+3
| | | | (The Alpha still requires updates to its pmap.)
* Typo when setting wirespeed. || != |ps2003-09-281-1/+1
| | | | Found by: jake
* - Another update to list of FTP siteskensmith2003-09-282-0/+34
| | | | Approved by: murray
* Having had to spend several hours today figuring out just what it is thatwollman2003-09-281-11/+101
| | | | | VOP_GETPAGES() is supposed to do, share the results with everyone who isn't Alan Cox.
* Add vm object locking to pmap_release().alc2003-09-281-2/+4
|
* Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse.marcel2003-09-273-12/+24
| | | | | | | | | | | On ia64, where there's no libc_r at all, libkse is now the default thread library by virtue of these links. The reasons for this change are: 1. libkse is slated to become the default thread library anyway, 2. active development and maintenance is only present for libkse, 3. GNOME and KDE, both in the process of being supported on ia64, work better with KSE; even on ia64.
* Remove the regstkpages sysctl variable. We have a growable registermarcel2003-09-271-6/+0
| | | | stack now.
* Part 2 of implementing rstacks: add the ability to create rstacks andmarcel2003-09-274-56/+68
| | | | | | | | | | | | | | | | | | | | use the ability on ia64 to map the register stack. The orientation of the stack (i.e. its grow direction) is passed to vm_map_stack() in the overloaded cow argument. Since the grow direction is represented by bits, it is possible and allowed to create bi-directional stacks. This is not an advertised feature, more of a side-effect. Fix a bug in vm_map_growstack() that's specific to rstacks and which we could only find by having the ability to create rstacks: when the mapped stack ends at the faulting address, we have not actually mapped the faulting address. we need to include or cover the faulting address. Note that at this time mmap(2) has not been extended to allow the creation of rstacks by processes. If such a need arises, this can be done. Tested on: alpha, i386, ia64, sparc64
* Two minor fixes:imp2003-09-271-2/+15
| | | | | | | | | | o It is the /usr/include files, not the /usr include files. o Document the practice of converting to the c99 standard uintXX_t form from the older, but non-standard, BSD-style u_intXX_t. This has been going on in the tree for a while now, and I've heard other developers also state that this conversion is happening. Note also that this is a slow process and should be treated like whitespace changes.
* Make life a little bit easier for cloning device drivers.phk2003-09-271-0/+9
|
* Add an explanation why MAJOR_AUTO should not be specified explicitly.phk2003-09-272-0/+8
|
* Correctly name r_unit member tun_unit.phk2003-09-272-5/+4
| | | | Remove unused tun_wsel member.
* Provide a bit more help with "memory overwritten after free" style bugs.phk2003-09-271-4/+4
|
* Eliminate the pte object.alc2003-09-272-27/+49
|
* More style fixes to improve diffability with OpenBSD.phk2003-09-271-46/+54
| | | | Pull 'A' evilness for realloc(3) from OpenBSD.
* - Add the Dell PERC 4/Di to the list of supported devices; itsimon2003-09-271-1/+4
| | | | | | | | has been supported for the last 10 months. [1] - Make the device list compact, since it is getting rather large. Reported by: David Magda <dmagda@magda.ca> [1] MFC after: 2 weeks
* Disable #define DEBUG in libdisk by default: since libdisk is primarilyrwatson2003-09-271-1/+1
| | | | | | | there to support sysinstall, and enabling DEBUG creates spurious console output that can't be read anyway... This slightly cleans up the visual impression of the system install by not spamming the console during the labeling of the disks.
* Don't install etc/printcap in the NO_LPR case; ports like 'cups'markm2003-09-271-1/+6
| | | | make their own etc/printcap if they need it.
* Style changes to improve diffability against OpenBSD version.phk2003-09-271-91/+91
|
* No need to check for the directory, fols are assumed to have all themarkm2003-09-271-1/+1
| | | | correct sources. Only check the crypto macros.
* Add a note about kiconv(3).fjoe2003-09-271-0/+4
|
* Update an email address overlooked by scottl.trhodes2003-09-271-1/+1
| | | | Prompted by: scottl's commit message (see rev 1.9 of iir.c).
* Fix a cut n paste typo I introduced in rev 1.211.trhodes2003-09-272-2/+2
| | | | | | | PR: 57012 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version) Friendly prod provided by: murray MFC: after re approval
* A number of fixes/enhancements for the ipfilter rc script:mux2003-09-271-15/+22
| | | | | | | | | | | | | | | - Use a more robust check to determine if we need to load ipl.ko. - Don't try to run ipf -E if ipfilter is already enabled. Look at the net.inet.ipf.fr_running sysctl to figure this out. This fixes a warning message about ipfilter being already initialized. - Only one ipf -E command is needed. We don't need an extra one for the -6 case which would only print a warning message about ipfilter being already initialized. - Fix one occurence where we were running /sbin/ipf directly without using the ${ipfilter_program} variable if set. - In ipfilter_stop(), don't try to save the firewall state tables if ipfilter is disabled. Similarly, don't try to disable it if it's already disabled. This fixes some more error messages.
* Introduce no_poll() default method for device drivers. Have itphk2003-09-278-236/+76
| | | | | | | | | | | | | | | | | | | | do exactly the same as vop_nopoll() for consistency and put a comment in the two pointing at each other. Retire seltrue() in favour of no_poll(). Create private default functions in kern_conf.c instead of public ones. Change default strategy to return the bio with ENODEV instead of doing nothing which would lead the bio stranded. Retire public nullopen() and nullclose() as well as the entire band of public no{read,write,ioctl,mmap,kqfilter,strategy,poll,dump} funtions, they are the default actions now. Move the final two trivial functions from subr_xxx.c to kern_conf.c and retire the now empty subr_xxx.c
* Don't use seltrue when that is not really what we mean.phk2003-09-271-1/+2
|
* MFsio (sio.c 1.413: cleaned up and fixed setting of speeds in comparam()).bde2003-09-273-69/+36
| | | | | | This is just a cleanup here (modulo rev.1.108 of kern/tty.c), since the input speed can be different from to output speed and extra code to handle both speeds naturally handled all cases.
* forgot to remove static declaration of fdesc_poll()phk2003-09-271-1/+0
|
* Return ENOIOCTL for unknown ioctls, don't use noioctl to return ENODEV.phk2003-09-271-1/+1
|
* fdesc_poll() called seltrue() to do the default thing, this is pointlesslyphk2003-09-271-13/+0
| | | | wrong when we have a default in vop_nopoll() which does the right thing.
* noopen() and noclose() is now no longer used.phk2003-09-272-4/+0
|
* nopsize is no longer used.phk2003-09-272-10/+0
|
* The present defaults for the open and close for device drivers whichphk2003-09-2714-27/+2
| | | | | | | | | | | | | | provide no methods does not make any sense, and is not used by any driver. It is a pretty hard to come up with even a theoretical concept of a device driver which would always fail open and close with ENODEV. Change the defaults to be nullopen() and nullclose() which simply does nothing. Remove explicit initializations to these from the drivers which already used them.
* Cleaned up and fixed setting of speeds in comparam():bde2003-09-271-31/+20
| | | | | | | | | | | | | | | | | - Removed conversion of a zero input speed to the output speed. This has been done better in ttioctl() since rev.1.108 of kern/tty.c almost 5 years ago. comparam() did the conversion incompletely for the case where the output speed is also zero. It had complications to avoid using zero speeds, but would still have used a zero input speed for setting watermarks if kern/tty.c had passed one. - Never permit the input speed to be different from the output speed. There was no validity check on the input speed for the case of a zero output speed. Then we didn't change the physical speeds, but we used the unvalidated input speed for setting watermarks and didn't return an error, so ttioctl() stored the unvalidated input speed in the tty struct where it could cause problems later. - Removed complications that were to avoid using a divisor of 0. The divisor is now always valid if the speed is accepted.
* Quick fix for bitrot in locking in the SMP case. cd_getreg() andbde2003-09-273-12/+72
| | | | | | | | | | cd_setreg() were still using !(read_eflags() & PSL_I) as the condition for the lock hidden by COM_LOCK() (if any) being held. This worked when spin mutexes and/or critical_enter() used hard interrupt disablement, but it has caused recursion on the non-recursive mutex com_mtx since all relevant interrupt disablement became soft. The recursion is harmless unless there are other bugs, but it breaks an invariant so it is fatal if spinlocks are witnessed.
OpenPOWER on IntegriCloud