summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-291-2/+2
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* Add software PMC support.fabient2012-03-281-0/+15
| | | | | | | | | | | | | New kernel events can be added at various location for sampling or counting. This will for example allow easy system profiling whatever the processor is with known tools like pmcstat(8). Simultaneous usage of software PMC and hardware PMC is possible, for example looking at the lock acquire failure, page fault while sampling on instructions. Sponsored by: NETASQ MFC after: 1 month
* - Support inlined location in calltree output.fabient2012-03-282-241/+402
| | | | | | | | | | | | In case of multiple level of inlining all the locations are flattened. Require recent binutils/addr2line (head works or binutils from ports with the right $PATH order). - Multiple fixes in the calltree output (recursion case, ...) - Fix the calltree top view that previously hide some shared nodes. Tested with Kcachegrind(kdesdk4)/qcachegrind(head). Sponsored by: NETASQ
* mdoc: correct .Bd/.Bl arguments.joel2012-03-267-19/+19
| | | | Reviewed by: brueffer
* mdoc: sort prologue macros.joel2012-03-261-1/+1
|
* mdoc: terminate quoted strings.joel2012-03-267-9/+9
| | | | Reviewed by: brueffer
* Fix date.joel2012-03-261-1/+1
|
* mdoc: document title should be all caps.joel2012-03-251-1/+1
|
* Remove superfluous paragraph macro.joel2012-03-2514-18/+0
|
* Fix base vaddr detection for ELF binaries. PT_LOAD with offset 0 is notgonzo2012-03-221-2/+2
| | | | | mandatory for ELF binaries so we'll use the segment with offset less then alignment and align it appropriately (which covers pt_offset == 0 case)
* Fix a sentence in a paragraph that describes time and interval basedglebius2012-03-211-2/+2
| | | | | trimming. This sentence vaguely can be interpreted as if it was speaking about time and size interaction, while it wasn't about it.
* Don't run through time checks when entry is definitely oversized. Thisglebius2012-03-211-2/+5
| | | | | | leads to newsyslog rotating on (size OR time) if both are specified. PR: 100018, 160432
* Merge ACPICA 20120320.jkim2012-03-201-1/+12
|
* Fix the following warning from clang trunk:dim2012-03-191-1/+4
| | | | | | | | | | | | usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat] snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset); ~~^ ~~~~~~~~~ %llx Silence this by casting dc->reset to intmax_t, and using the appropriate length modifier. While here, wrap the line to a 80 character margin. MFC after: 3 days
* An intel RAID can have any arbitrary name.jpaetzel2012-03-191-4/+1
|
* Redirect camcontrol stderr to /dev/null.jpaetzel2012-03-181-1/+1
|
* The UMS module is now loaded by rules in /etc/devd/usb.conf whichhselasky2012-03-171-10/+1
| | | | | | | are executed by devd. Remove duplicate kldload. Reported by: joel @ MFC after: 1 week
* Create new file header format to simplify the endian and cross platform issues.hselasky2012-03-161-82/+70
| | | | | | This patch does not break binary compatibility with previous versions. MFC after: 1 week
* Fix cross-platform issue about the file-format in whichhselasky2012-03-161-8/+97
| | | | | | | | | | usbdump stores data. Until this patch it was not possible to exchange traces between 32-bit, 64-bit, big- and little endian platforms. The problem is the dynamic nature of the BPF timestamp in the header. All other fields are fixed size and little endian. MFC after: 5 days
* Update man page to present -T argument in synopsissbruno2012-03-141-1/+1
| | | | | | MFC with r183347 MFC after: 0 days
* Fix crunchide on MIPS with other than the O32 ABI.jmallett2012-03-131-1/+2
|
* sysinstall was removed from usr.sbin/Makefile in r225937. Because per-archjmallett2012-03-132-2/+0
| | | | | Makefiles were split out in this directory and others in userland, it makes it quite easy to miss per-arch conditionals when changing something generally.
* Use gpart "-a" flag to 4k alignment.jpaetzel2012-03-122-62/+3
| | | | | Submitted by: kris Obtained from: PC-BSD
* Add the ability to use a varity of ZFS dataset options.jpaetzel2012-03-125-47/+78
| | | | | | | While here fix a bug causing zpools with /tmp mount-points to fail Submitted by: kris Obtained from: PC-BSD
* Improve ZFS exporting functionality, only export pools which are on ajpaetzel2012-03-121-16/+18
| | | | | | | | | specific device we happen to be writing to. This fixes an issue when running pc-sysinstall on a running system which needs ZFS and the main disk gets exported. Submitted by: kris Obtained from: PC-BSD
* Check for intel RAID devicesjpaetzel2012-03-121-1/+13
| | | | | Submitted by: kris Obtained from: PC-BSD
* Fix a couple of bugs saving network config.jpaetzel2012-03-121-4/+10
| | | | | | | | Don't duplicate wlans_ lines. Enable ipv6 on wireless devices correctly. Submitted by: kris Obtained from: PC-BSD
* Make sure when creating new MBR partition it is set to active by default.jpaetzel2012-03-122-2/+7
| | | | | Submitted by: kris Obtained from: PC-BSD
* Fix a bug running the autoinstall functionality.jpaetzel2012-03-121-1/+1
| | | | | Submitted by: kris Obtained from: PC-BSD
* Perform even more style changes.ed2012-03-101-4/+8
| | | | | | | | - Remove unneeded whitespace for function calls. - Add empty line at the top of functions without local variables. - Change while (1) to for (;;). MFC after: 1 week
* Fix whitespace.ed2012-03-101-35/+29
| | | | MFC after: 1 week
* Improve error reporting in diskinfo(8) by not displaying errno whentrasz2012-03-091-4/+8
| | | | it doesn't make sense.
* Work around broken BIOS memory reportingemaste2012-03-081-2/+9
| | | | | | | | Andrzej has a machine with 32GB of RAM, but only 16GB is reported by the smbios.memory.enabled. Thus, use the greater of hw.realmem and the smbios value. Reported by: Andrzej Tobola <ato of iem pw edu pl>
* Make parallel build more safer.jkim2012-03-071-8/+10
| | | | Reviewed by: tijl
* Improve multi-line kernel ident parsingemaste2012-03-071-3/+4
| | | | | | | | | | Instead of blindly grabbing the line with 'Version string' and the following one from the core info file, take all lines after 'Version string' until the one one that matches the field format in the core info file. This provides compatibility with VendorBSD modifications that have a different kernel ident format. Reviewed by: jhb
* Fix building with WITHOUT_INET_SUPPORT set.bz2012-03-061-2/+4
| | | | | Reviewed by: jamie (actually provided the real fix) MFC after: 3 days
* Add LUN resizing to CTL. Also make it possible to explicitly settrasz2012-03-063-7/+131
| | | | | | | size when creating file-backed or device-backed LUN. Reviewed by: ken (earlier version) Sponsored by: The FreeBSD Foundation
* Make the chroot shell more functional by providing devfs.nwhitehorn2012-03-051-0/+1
| | | | | Reported by: Robert Simmons MFC after: 4 days
* Permit the use of raidz3 in pc-sysinstalleadler2012-03-041-1/+1
| | | | | | | | PR: conf/164709 Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days
* Add entry for packages-8.3-release directory.kensmith2012-03-031-0/+1
|
* Grammar: tzsetup now has more than one option.emaste2012-02-291-1/+1
|
* Bump .Dd to reflect latest updatemm2012-02-291-1/+1
| | | | | Reported by: bz MFC after: 1 week
* Add procfs to jail-mountable filesystems.mm2012-02-291-0/+8
| | | | | Reviewed by: jamie MFC after: 1 week
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-281-3/+1
| | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* mdoc(7) stype - start new sentences on new linemm2012-02-281-8/+10
| | | | MFC after: 1 week
* Drop setuid status while doing file operations to prevent potentialdelphij2012-02-271-12/+21
| | | | | | | | information leak. This changeset is intended to be a minimal one to make backports easier. Reviewed by: kevlo, remko MFC after: 1 week
* Fix segfault if distfetch and distextract binaries are run standalonenwhitehorn2012-02-262-2/+16
| | | | | | | | without the DISTRIBUTIONS environment variable set. PR: bin/165492 Submitted by: Fernando Apesteguia MFC after: 4 days
* Analogous to r232059, add a parameter for the ZFS file system:mm2012-02-261-1/+12
| | | | | | | | | | | | | | | | allow.mount.zfs: allow mounting the zfs filesystem inside a jail This way the permssions for mounting all current VFCF_JAIL filesystems inside a jail are controlled wia allow.mount.* jail parameters. Update sysctl descriptions. Update jail(8) and zfs(8) manpages. TODO: document the connection of allow.mount.* and VFCF_JAIL for kernel developers MFC after: 10 days
* When using uidstart in /etc/adduser.conf, get the nextdeischen2012-02-251-0/+1
| | | | | | | | available user id and show it in the "Uid [xxx]" prompt. PR: 163863 Submitted by: Moritz Wilhelmy (mw at wzff dot de) MFC after: 2 weeks
* Exit with proper status when wake() fails.jh2012-02-241-5/+8
| | | | | | PR: bin/153527 Submitted by: Douglas Steinwand MFC after: 2 weeks
OpenPOWER on IntegriCloud