summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) anddes2009-11-108-867/+1
| | | | | | | | | | | | | | | offer to install an SMP kernel. The way this worked was: on supported platforms, code to read ACPI tables and BIOS MP tables was compiled into sysinstall, and if an SMP kernel config was present in the source tree when sysinstall was built, code that called it was also compiled. Since we haven't had SMP kernel configs in years, the latter was never compiled and the former never ran. This only removes dead and unreachable code; it does *not* remove the NCpus variable, nor the code that sets it to 1, nor the code that asks the user to select a kernel from a list. Discussed with: re@, randi@ and others
* Set umask to 0x077 instead of the default. This prevents non-root userdelphij2009-11-031-0/+2
| | | | | | | | from reading crashinfo output, which could contain some sensitive information. Reviewed by: jhb MFC after: 1 week
* Add more verbose output when dumping the configuration descriptor.thompsa2009-11-021-12/+57
| | | | Submitted by: Hans Petter Selasky
* MFV of r198828, tzcode2009qedwin2009-11-022-6/+6
| | | | | | | - Cleanup unnecessary local variables in zdump. - Fix man-page MFC after: 1 week
* Use our canonical .Dd format.brueffer2009-11-023-3/+3
| | | | Submitted by: Ulrich Spoerlein
* Expand DESCRIPTION and a basic EXAMPLES section.brueffer2009-11-011-1/+9
| | | | | | PR: 139605 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 1 week
* Include the output of the ddb(4) capture buffer.jhb2009-10-291-0/+7
| | | | | Submitted by: Mikolaj Golub to my trociny of gmail MFC after: 3 days
* Don't leak a file descriptor when ejecting a CDROM.cperciva2009-10-261-0/+1
| | | | | Submitted by: Ronald Klop, trhodes Note to self: don't do commits while half-asleep
* Eject CDROM after installation if used as source media.cperciva2009-10-261-0/+22
| | | | | Submitted by: randi MFC after: 1 month
* - Add support for chrooted installs.edwin2009-10-212-77/+156
| | | | | | - Add examples to the man-page. MFC after: 1 week
* Introduce 'netDev=ANY' support for scripted (install.cfg) installs, which ↵rink2009-10-211-10/+73
| | | | | | | | results in the first ethernet interface with physical link being selected. While here, fix a minor typo causing an 'if' to be missed. Submitted by: randi
* Instead of having to know which timezone was picked last time, youedwin2009-10-202-16/+80
| | | | | | | now can run "tzsetup -r" which will reinstall the last choice. This data is recorded in /var/db/zoneinfo. MFC after: 1 week
* Make the usage of the default zoneinfo file to install clearer.edwin2009-10-191-5/+6
| | | | MFC after: 1 week
* When tzsetup is run as non-root and the "CMOS clock question onedwin2009-10-191-1/+3
| | | | | | | UTC" is answered as No, it would abort without properly ending the dialog session. MFC after: 1 week
* Merge ACPICA 20091013.jkim2009-10-191-1/+2
|
* Don't forget to increment the man page date.ed2009-10-181-1/+1
| | | | Reported by: bz
* Fix a typo in the jail(8) manpage.ed2009-10-181-1/+1
| | | | | Submitted by: Jille Timmermans <jille quis cx> MFC after: 1 week
* Correct typo: thetime -> the timeemaste2009-10-131-1/+1
| | | | | PR: docs/139447 Submitted by: Guido Falsi mad at madpilot dot net
* When run() returns an error, print the error message also injh2009-10-071-2/+6
| | | | | | | | | non-interactive mode. Previously error messages were printed only in interactive mode. PR: bin/124517 Approved by: trasz (mentor) MFC after: 1 month
* Fix using lp(1) without the new -t option after r194171.jilles2009-09-291-2/+2
| | | | | | PR: standards/129554 Tested by: Steve Kargl MFC after: 1 week
* Special-case "-r X" where X is [0-9.]+ to mean "-r X-RELEASE".cperciva2009-09-291-0/+3
| | | | | Tripped over by: too many people to count MFC after: 1 month
* Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c andjkim2009-09-272-1/+4
| | | | install apm(8) and apm_bios.h on amd64.
* Make the keyboard layer Unicode aware.ed2009-09-192-5/+5
| | | | | | | | | | | | Just take keyent_t to use an u_int to store the Unicode codepoints. Unfortunately the keymap is now too big to be loaded using an ioctl argument, so change the ioctl to pick a pointer. This change breaks kbdcontrol ABI. It doesn't break X11, because X11 doesn't do anything with syscons keymaps. It just switches the device out of K_XLATE. Obtained from: //depot/user/ed/newcons/...
* Spell Israel correctly.ed2009-09-181-1/+1
| | | | | Submitted by: Alexey Savartsov <asavartsov gmail com> PR: bin/138580
* Fixed markup.ru2009-09-171-4/+4
|
* Add support for ND6_IFF_IFDISABLED and ND6_IFF_ACCEPT_RTADV tohrs2009-09-124-7/+60
| | | | | | the -F flag. MFC after: 3 days
* Improve flexibility of receiving Router Advertisement andhrs2009-09-122-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | automatic link-local address configuration: - Convert a sysctl net.inet6.ip6.accept_rtadv to one for the default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a global knob. The default value of the sysctl is 0. - Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a sysctl net.inet6.ip6.auto_linklocal to one for its default value. The default value of the sysctl is 1. - Make ND6_IFF_IFDISABLED more robust. It can be used to disable IPv6 functionality of an interface now. - Receiving RA is allowed if ip6_forwarding==0 *and* ND6_IFF_ACCEPT_RTADV is set on that interface. The former condition will be revisited later to support a "host + router" box like IPv6 CPE router. The current behavior is compatible with the older releases of FreeBSD. - The ifconfig(8) now supports these ND6 flags as well as "nud", "prefer_source", and "disabled" in ndp(8). The ndp(8) now supports "auto_linklocal". Discussed with: bz and jinmei Reviewed by: bz MFC after: 3 days
* Catch up with ACPICA 20090903.jkim2009-09-111-5/+5
|
* The boot loader is a FreeBSD a.out binary for x86, not a VAX binary.imp2009-09-101-1/+1
| | | | | | | | | | | | | Rather than writing out a MID of '0', write a MID of 0x86 (aka MID_I386) so that file gets it right. This is a nop for boot2. It just checks the MAGIC part of the field, ignoring the MID. boot2 is the only thing that loads this file, and only on x86 so the MID_i386 is always the right value (the rest of the code is already x86 specific). Reviewed by: bde@, jhb@ MFC after: 8.0 is out the door :)
* In the NEXTADDR macro use SA_SIZE() rather than directly usingbz2009-09-051-1/+1
| | | | | | | | | | sizeof(), as introduced in r186119, for advancing the current position into the buffer. See comment in net/route.h for a description of the difference. This makes ndp -s work again. Reviewed by: qingli X-MFC after: now
* Don't bother obtaining the ident if we are not going to print it.pjd2009-09-031-4/+1
|
* - Bump PKG_INSTALL_VERSION to 20090902 after dougb's changes.flz2009-09-021-3/+3
| | | | | - Change the comment to say that version must be changed when a non-cosmetic change is made.
* Add support for INDEX-9 [1]dougb2009-08-311-3/+3
| | | | | | While I'm here, strip off support for FreeBSD 5.x. Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> [1]
* MFV of r195794edwin2009-08-271-2/+2
| | | | | | | | | MFV of tzcode2009k zic.c: Do not end a binary file with a POSIX-style time zone string for locations that end up in permanent DST (thanks to Andreas Schwab).
* - Use the headers from ACPI-CA to define various constants and structuresjhb2009-08-254-740/+523
| | | | | | | | | | | | for table layouts, etc. rather than homerolling our own structures and constants in acpidump.h. - Verify the extended checksum on the RSDP. - Handle new ACPI 3.0 fields in MADT including X2APIC entries and UIDs for local SAPICs. - Add handling for new ACPI 3.0 flags in the FADT. Reviewed by: jkim MFC after: 1 month
* Document that ppp handles pipe(2) descriptors specially in -direct mode.brian2009-08-251-1/+14
| | | | MFC after: 3 days
* When ``ppp -direct'' is invoked by a program that uses pipe(2) tobrian2009-08-244-126/+305
| | | | | | | | | | | | | create stdin and stdout, don't blindly try to use stdin as a bi-directional channel. Instead, detect the pipe and set up a special exec handler that indirects write() calls through stdout. This fixes the problem where ``set device "!ssh -e none host ppp -direct label"'' no longer works with an openssh-5.2 server side as that version of openssh ignores the USE_PIPES config setting and *always* uses pipes (rather than socketpair) for stdin/stdout channels. MFC after: 3 days
* When realloc()ing device memory for transfer to another ppp process,brian2009-08-243-11/+13
| | | | | | | | don't continue to use the realloc()d pointer - it might have changed! Remove some stray diagnostics while I'm here. MFC after: 3 days
* Unhardcode 0x100 inside kbdcontrol.ed2009-08-241-71/+73
| | | | | | | | | | In preparation for Unicode support for the keyboard layer, we'd better get rid of all the hardcoded 0x100/0xff constants in kbdcontrol. Instead, add a flag called SPECIAL stored in the top bit of the integer. Adding Unicode support is very simple now; just change u_char map[] to u_int map[] in keyent_t, change the bounds checking in kbdcontrol to 0x1FFFFF and modify the ioctls to allow loading these new keymaps.
* Oops. Needed to adjust a little bit more of the line for packages-8-stablekensmith2009-08-241-1/+1
| | | | | | | now that we're prepping for 8.0's release. Submitted by: pluknet at gmail dot com Pointy hat: kensmith
* - Add AS lookup functionality to traceroute6(8) as well.ume2009-08-233-3/+42
| | | | | | | | | - Support for IPv6 transport for AS lookup. - Introduce $RA_SERVER to set whois server. - Support for 4 byte ASN. - ANSIfy function declaration in as.c. Tested by: IHANet folks.
* Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properlysam2009-08-231-0/+2
| | | | | | | | for it's unix domain socket. Before this change wpa_cli would take the first file in the directory that was not "." or "..". Submitted by: Brandon Gooch <jamesbrandongooch@gmail.com> MFC after: 3 days
* Make head 9.0-CURRENT in preparation for lifting code freeze.kensmith2009-08-221-1/+3
| | | | Approved by: re (implicit)
* Add support for backing up the old kernel when installing a new kernelsimon2009-08-191-1/+161
| | | | | | | | | | | | | | | | | | using freebsd-update. This applies to using freebsd-update in "upgrade mode" and normal freebsd-update on a security branch. The backup kernel will be written to /boot/kernel.old, if the directory does not exist, or the directory was created by freebsd-update in a previous backup. Otherwise freebsd-update will generate a new directory name for use by the backup. By default symbol files are not backed up to save diskspace and avoid filling up the root partition. This feature is fully configurable in the freebsd-update config file, but defaults to enabled. MFC after: 1 week (stable/7) Reviewed by: cperciva Approved by: re (kib)
* Update the mptutil man page for FreeBSD 8.0scottl2009-08-171-3/+6
| | | | Approved by: re
* Update the man page for manual section 8scottl2009-08-171-1/+1
| | | | Approved by: re
* Update the man page for FreeBSD 8.0scottl2009-08-171-14/+6
| | | | Approved by: re
* Move mfiutil.1 to mfiutil.8 for consistency. Remove superfulous README.scottl2009-08-173-104/+1
| | | | Approved by: re
* Prevent sysinstall from needlessly waiting for confirmation when using an USBrink2009-08-161-1/+2
| | | | | | | | | | | | | device in non-interactive mode. If there are no USB devices, sysinstall gives an error messages, and if there is >1, it'll ask which one is to be used. This change allows a non-interactive install from USB media to succeed without any user interaction if there is exactly one USB disk device in the system it can use. Submitted by: Daniel O'Connor < doconnorat gsoft dot com dot au > Reviewed by: randi Approved by: re (rwatson)
* iostat: add a bit of space between tty in/out columnskeramida2009-08-151-6/+6
| | | | | | | | | The columns for tty input and output may bump against each other if the tty output needs more than 5 columns. Add a bit of space that pushes everything 1 column to the right, but also avoids the problem. Approved by: re (rwatson)
OpenPOWER on IntegriCloud