summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-155-20/+96
|\
| * MFC r290811:jtl2016-01-144-18/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix hwpmc "stalled" behavior Currently, there is a single pm_stalled flag that tracks whether a performance monitor was "stalled" due to insufficent ring buffer space for samples. However, because the same performance monitor can run on multiple processes or threads at the same time, a single pm_stalled flag that impacts them all seems insufficient. In particular, you can hit corner cases where the code fails to stop performance monitors during a context switch out, because it thinks the performance monitor is already stopped. However, in reality, it may be that only the monitor running on a different CPU was stalled. This patch attempts to fix that behavior by tracking on a per-CPU basis whether a PM desires to run and whether it is "stalled". This lets the code make better decisions about when to stop PMs and when to try to restart them. Ideally, we should avoid the case where the code fails to stop a PM during a context switch out. MFC r290813: Optimizations to the way hwpmc gathers user callchains Changes to the code to gather user stacks: * Delay setting pmc_cpumask until we actually have the stack. * When recording user stack traces, only walk the portion of the ring that should have samples for us. MFC r290929: Change the driver stats to what they really are: unsigned values. When pmcstat exits after some samples were dropped, give the user an idea of how many were lost. (Granted, these are global numbers, but they may still help quantify the scope of the loss.) MFC r290930: Improve accuracy of PMC sampling frequency The code tracks a counter which is the number of events until the next sample. On context switch in, it loads the saved counter. On context switch out, it tries to calculate a new saved counter. Problems: 1. The saved counter was shared by all threads in a process. However, this means that all threads would be initially loaded with the same saved counter. However, that could result in sampling more often than once every X number of events. 2. The calculation to determine a new saved counter was backwards. It added when it should have subtracted, and subtracted when it should have added. Assume a single-threaded process with a reload count of 1000 events. Assuming the counter on context switch in was 100 and the counter on context switch out was 50 (meaning the thread has "consumed" 50 more events), the code would calculate a new saved counter of 150 (instead of the proper 50). Fix: 1. As soon as the saved counter is used to initialize a monitor for a thread on context switch in, set the saved counter to the reload count. That way, subsequent threads to use the saved counter will get the full reload count, assuring we sample at least once every X number of events (across all threads). 2. Change the calculation of the saved counter. Due to the change to the saved counter in #1, we simply need to add (modulo the reload count) the remaining counter time we retrieve from the CPU when a thread is context switched out. MFC r291016: Support a wider history counter in pmcstat(8) gmon output pmcstat(8) contains an option to output sampling data in a gmon format compatible with gprof(1). Currently, it uses the default histcounter, which is an (unsigned short). With large sets of sampling data, it is possible to overflow the maximum value provided by an (unsigned short). This change adds the -e argument to pmcstat. If -e and -g are both specified, pmcstat will use a histcounter type of uint64_t. MFC r291017: Fix the date on the pmcstat(8) man page from r291016.
| * MFC r293312:garga2016-01-141-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Make cap_mkdb and services_mkdb file operations sync Similar fix was done for passwd and group operations in r285050. When a temporary file is created and then renamed to replace official file there are no checks to make sure data was written to disk and if a power cycle happens at this time, system can end up with a 0 length file Approved by: bapt Sponsored by: Netgate Differential Revision: https://reviews.freebsd.org/D2982
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-145-65/+734
|\ \ | |/
| * Convert usr.sbin/sesutil to LPADD/DPADD for stable/10allanjude2016-01-141-1/+2
| | | | | | | | | | | | Direct commit to stable/10 Pointy Hat To: allanjude
| * MFC: r287473allanjude2016-01-145-65/+733
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the new sesutil(8) utility for managing SCSI Enclosure Services (SES) device. MFC: r287493 Fix iteration bug MFC: r287485, r287494, r287992 Please the angry gcc 4.2 gods MFC: r287988 Improve and expand sesutil(8) Return an error if no matching device is found Locate can address a slot, in addition to a drive Added fault, similar to locate but blinks a different LED Added the map command, lists all devices connected to the SES controller Added the status command, overall status of the SES controller MFC: r292092 sesutil: fix map not printing the status of the LED device in an array MFC: r292093 sesutil: pass the correct element type when printing the SES map MFC: r292121 sesutil: Add extra information specific to some SES devices to sesutil map MFC: r292122 Fix sesutil locate when a sesid is passed to locate command MFC: r292262 Show the enclosure name and id in sesutil map Relnotes: yes Sponsored by: Gandi.net Sponsored by: ScaleEngine Inc.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-1326-71/+381
|\ \ | |/
| * MFC: r284589allanjude2016-01-126-20/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability to detect ZFS and GELI encrypted file systems to fstyp(8) MFC: r284644 Fix GCC Warnings MFC: r284728 Only build ZFS support in absense of WITHOUT_ZFS MFC: r285426 Remove excess copyrights MFC: r286569 Use GELI sentinel constant MFC: r287937 Eliminate unneeded copying of vdev data, goto, etc. and add a note that checksum of vdev label should be checked (which is not done currently). No functional change. While I'm there, raise WARNS to 2. MFC: r292757 Fix order of includes in usr.sbin/fstyp/zfs.c MFC: r292829 Eliminate unneeded includes.
| * MFC: r287576allanjude2016-01-121-0/+2
| | | | | | | | | | | | | | service(8) -e does not respect /etc/rc.conf.d/* entries PR: 173454 Submitted by: giantlock@gmail.com (original patch)
| * MFC r292019asomers2016-01-111-2/+57
| | | | | | | | | | | | | | When iostat(8) receives SIGINT while running with "-w" or "-c", it will now print statistics one more time before exiting. Also, it now implements the wait using setitimer instead of sleep, so the waits will be more consistent when the system is heavily loaded.
| * MFC r287396:trasz2016-01-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | It's 2015, and some people are still trying to use fdisk and then go asking what debug flags to set for GEOM to make it work. Advice them to use gpart(8) instead. Something similar should probably done with disklabel, but I need to rewrite the disklabel examples first. Sponsored by: The FreeBSD Foundation
| * MFC: r290153 (by bdrewery)bapt2016-01-111-1/+3
| | | | | | | | | | | | | | | | | | Fix unlikely memory leak. It is unlikely since the first check in the function is that dir[0] is '/', but later code changes may make it real. Coverity CID: 1332104
| * MFC: 278899bapt2016-01-111-1/+1
| | | | | | | | Regression: fix usershow -7
| * Merge r293423, r293469:glebius2016-01-119-22/+38
| | | | | | | | | | | | ntp 4.2.8p5 Relnotes: yes
| * MFC r279567, r279568: Add and document an option to cause syslogd to runrpokala2016-01-092-6/+21
| | | | | | | | | | | | | | | | | | | | in the foreground. This allows a separate process to monitor when and how syslogd exits. That process can then restart syslogd if needed. Approved by: jhb Sponsored by: Panasas, Inc.
| * MFC r293055: kbdmap.5: Use current names for ASCII control codes lf, ff, usemaste2016-01-091-4/+10
| | | | | | | | | | | | Refer to the old names nl, np, ns as historical aliases. PR: 205776, 205778
| * MFC 293043jpaetzel2016-01-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Unset the gss kernel state when gssd exits When gssd exits it leaves the kernel state set by gssd_syscall(). nfsd sees this and waits endlessly in an unkillable state for gssd to come back. If you had acidentally started gssd then stopped it, then started nfsd you'd be in a bad way until you either restarted gssd or rebooted the system. This change fixes that by setting the kernel state to "" when gssd exits.
| * MFC: r292982araujo2016-01-081-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused variable after r292981 to unbreak the build. MFC: r292981 Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4773
| * MFC: r292971araujo2016-01-081-5/+0
| | | | | | | | | | | | | | | | | | Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4776
| * MFC: r292970araujo2016-01-081-2/+1
| | | | | | | | | | | | | | | | | | Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4777
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-0736-49/+177
|\ \ | |/
| * MFC r291377: vidfont: with vt(4) omit size from vidcontrol -femaste2016-01-071-5/+13
| | | | | | | | | | | | | | | | When using syscons, vidfont extracts the font size from the filename passes it to vidcontrol -f. In vt(4) mode the size argument is not required, and some of the fonts in /usr/share/vt/fonts do not have the size in the filename, which caused vidfont to fail. Thus, just omit the size argument in vt(4) mode.
| * MFC r290693: Add support for "rc.conf.d" file(s).dteske2016-01-071-1/+95
| | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude Relnotes: yes
| * MFC r278492: Add "vt_"* aliases to bsdconfig console entries.dteske2016-01-071-0/+7
| | | | | | | | NB: "syscons_"* kept for backward compatibility
| * MFC r289677:bdrewery2016-01-0724-29/+29
| | | | | | | | Fix a ton of speelling errors
| * MFC r270675:bdrewery2016-01-062-5/+20
| | | | | | | | | | | | | | Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE env var if set) PR: 205965
| * MFC r292605, r292606, r292607, r292608:pfg2016-01-043-5/+6
| | | | | | | | | | | | | | | | | | | | cron: bring some fixes for Coverity reports and other issues. crontab: replace malloc + bzero with calloc crontab: properly free an entry cron: Check the return value of pipe(2) CID: 271773, 1009830,
| * MFC r292884:ngie2016-01-011-1/+1
| | | | | | | | | | | | | | Fix getopt(3) argument after r290180; I forgot to change -r to -R by accident Pointyhat to: ngie
| * MFC: r292846, r292847, r292849bapt2015-12-303-3/+6
| | | | | | | | | | | | Restore dryrun support for pw groupmod Remove useless assignement of linelen Simplify code for parsing extra groups
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-304-12/+240
|\ \ | |/
| * crunchide: Restore IA-64 support accidentally lost in r292421 mismergeemaste2015-12-291-0/+1
| | | | | | | | Reported by: ngie
| * MFC r292585:ngie2015-12-291-0/+1
| | | | | | | | | | | | | | | | | | Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur if the memory wasn't allocated again later on Reported by: Coverity Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com> Sponsored by: EMC / Isilon Storage Division
| * MFC r290337: Add sysrc(8) support for "rc.conf.d"dteske2015-12-282-12/+238
| | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude Relnotes: yes
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-281-14/+18
|\ \ | |/
| * MFC r292435, r292441:ume2015-12-251-14/+18
| | | | | | | | | | | | | | | | | | - Keep hosts.by{name,addr} IPv4 only. - Add comment how we handle hosts and ipnodes. - Generate ipnodes.by{addr,name} from /etc/hosts for compatibility with FreeBSD local name resolution. If /var/yp/ipnodes exists, we generate them from it for backward compatibility.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-226-254/+24
|\ \ | |/
| * MFH: r292212brueffer2015-12-211-1/+12
| | | | | | | | | | | | | | Flesh out the SEE ALSO section. PR: 202929 Submitted by: jhs@berklix.com
| * MFC r281674: crunchide: always include both 32- and 64-bit ELF supportemaste2015-12-182-13/+6
| | | | | | | | | | | | | | This avoids the need to build a target-specific crunchide for cross- builds. Sponsored by: The FreeBSD Foundation
| * MFC r281655: crunchide: remove unused a.out and non-functional ECOFF supportemaste2015-12-184-217/+0
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Sync crunchide(1) arch support with HEADemaste2015-12-181-23/+6
| | | | | | | | | | | | | | | | | | | | | | MFC r276764, r281781, r282291, r292106 Add support to crunchide for handling AArch64 (arm64) ELF files. Remove local EM_* ELF definitions provided by system ELF headers Restore local EM_AARCH64 constant for bootstrapping Add RISC-V to supported machine types Sponsored by: The FreeBSD Foundation
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-176-14/+3796
|\ \ | |/
| * MFC r291716, r291724, r291741, r291742ken2015-12-164-0/+3723
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to those revisions, add this change to a file that is not in head: sys/ia64/include/bus.h: Guard kernel-only parts of the ia64 machine/bus.h header with #ifdef _KERNEL. This allows userland programs to include <machine/bus.h> to get the definition of bus_addr_t and bus_size_t. ------------------------------------------------------------------------ r291716 | ken | 2015-12-03 15:54:55 -0500 (Thu, 03 Dec 2015) | 257 lines Add asynchronous command support to the pass(4) driver, and the new camdd(8) utility. CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and completed CCBs may be retrieved via the CAMIOGET ioctl. User processes can use poll(2) or kevent(2) to get notification when I/O has completed. While the existing CAMIOCOMMAND blocking ioctl interface only supports user virtual data pointers in a CCB (generally only one per CCB), the new CAMIOQUEUE ioctl supports user virtual and physical address pointers, as well as user virtual and physical scatter/gather lists. This allows user applications to have more flexibility in their data handling operations. Kernel memory for data transferred via the queued interface is allocated from the zone allocator in MAXPHYS sized chunks, and user data is copied in and out. This is likely faster than the vmapbuf()/vunmapbuf() method used by the CAMIOCOMMAND ioctl in configurations with many processors (there are more TLB shootdowns caused by the mapping/unmapping operation) but may not be as fast as running with unmapped I/O. The new memory handling model for user requests also allows applications to send CCBs with request sizes that are larger than MAXPHYS. The pass(4) driver now limits queued requests to the I/O size listed by the SIM driver in the maxio field in the Path Inquiry (XPT_PATH_INQ) CCB. There are some things things would be good to add: 1. Come up with a way to do unmapped I/O on multiple buffers. Currently the unmapped I/O interface operates on a struct bio, which includes only one address and length. It would be nice to be able to send an unmapped scatter/gather list down to busdma. This would allow eliminating the copy we currently do for data. 2. Add an ioctl to list currently outstanding CCBs in the various queues. 3. Add an ioctl to cancel a request, or use the XPT_ABORT CCB to do that. 4. Test physical address support. Virtual pointers and scatter gather lists have been tested, but I have not yet tested physical addresses or scatter/gather lists. 5. Investigate multiple queue support. At the moment there is one queue of commands per pass(4) device. If multiple processes open the device, they will submit I/O into the same queue and get events for the same completions. This is probably the right model for most applications, but it is something that could be changed later on. Also, add a new utility, camdd(8) that uses the asynchronous pass(4) driver interface. This utility is intended to be a basic data transfer/copy utility, a simple benchmark utility, and an example of how to use the asynchronous pass(4) interface. It can copy data to and from pass(4) devices using any target queue depth, starting offset and blocksize for the input and ouptut devices. It currently only supports SCSI devices, but could be easily extended to support ATA devices. It can also copy data to and from regular files, block devices, tape devices, pipes, stdin, and stdout. It does not support queueing multiple commands to any of those targets, since it uses the standard read(2)/write(2)/writev(2)/readv(2) system calls. The I/O is done by two threads, one for the reader and one for the writer. The reader thread sends completed read requests to the writer thread in strictly sequential order, even if they complete out of order. That could be modified later on for random I/O patterns or slightly out of order I/O. camdd(8) uses kqueue(2)/kevent(2) to get I/O completion events from the pass(4) driver and also to send request notifications internally. For pass(4) devcies, camdd(8) uses a single buffer (CAM_DATA_VADDR) per CAM CCB on the reading side, and a scatter/gather list (CAM_DATA_SG) on the writing side. In addition to testing both interfaces, this makes any potential reblocking of I/O easier. No data is copied between the reader and the writer, but rather the reader's buffers are split into multiple I/O requests or combined into a single I/O request depending on the input and output blocksize. For the file I/O path, camdd(8) also uses a single buffer (read(2), write(2), pread(2) or pwrite(2)) on reads, and a scatter/gather list (readv(2), writev(2), preadv(2), pwritev(2)) on writes. Things that would be nice to do for camdd(8) eventually: 1. Add support for I/O pattern generation. Patterns like all zeros, all ones, LBA-based patterns, random patterns, etc. Right Now you can always use /dev/zero, /dev/random, etc. 2. Add support for a "sink" mode, so we do only reads with no writes. Right now, you can use /dev/null. 3. Add support for automatic queue depth probing, so that we can figure out the right queue depth on the input and output side for maximum throughput. At the moment it defaults to 6. 4. Add support for SATA device passthrough I/O. 5. Add support for random LBAs and/or lengths on the input and output sides. 6. Track average per-I/O latency and busy time. The busy time and latency could also feed in to the automatic queue depth determination. sys/cam/scsi/scsi_pass.h: Define two new ioctls, CAMIOQUEUE and CAMIOGET, that queue and fetch asynchronous CAM CCBs respectively. Although these ioctls do not have a declared argument, they both take a union ccb pointer. If we declare a size here, the ioctl code in sys/kern/sys_generic.c will malloc and free a buffer for either the CCB or the CCB pointer (depending on how it is declared). Since we have to keep a copy of the CCB (which is fairly large) anyway, having the ioctl malloc and free a CCB for each call is wasteful. sys/cam/scsi/scsi_pass.c: Add asynchronous CCB support. Add two new ioctls, CAMIOQUEUE and CAMIOGET. CAMIOQUEUE adds a CCB to the incoming queue. The CCB is executed immediately (and moved to the active queue) if it is an immediate CCB, but otherwise it will be executed in passstart() when a CCB is available from the transport layer. When CCBs are completed (because they are immediate or passdone() if they are queued), they are put on the done queue. If we get the final close on the device before all pending I/O is complete, all active I/O is moved to the abandoned queue and we increment the peripheral reference count so that the peripheral driver instance doesn't go away before all pending I/O is done. The new passcreatezone() function is called on the first call to the CAMIOQUEUE ioctl on a given device to allocate the UMA zones for I/O requests and S/G list buffers. This may be good to move off to a taskqueue at some point. The new passmemsetup() function allocates memory and scatter/gather lists to hold the user's data, and copies in any data that needs to be written. For virtual pointers (CAM_DATA_VADDR), the kernel buffer is malloced from the new pass(4) driver malloc bucket. For virtual scatter/gather lists (CAM_DATA_SG), buffers are allocated from a new per-pass(9) UMA zone in MAXPHYS-sized chunks. Physical pointers are passed in unchanged. We have support for up to 16 scatter/gather segments (for the user and kernel S/G lists) in the default struct pass_io_req, so requests with longer S/G lists require an extra kernel malloc. The new passcopysglist() function copies a user scatter/gather list to a kernel scatter/gather list. The number of elements in each list may be different, but (obviously) the amount of data stored has to be identical. The new passmemdone() function copies data out for the CAM_DATA_VADDR and CAM_DATA_SG cases. The new passiocleanup() function restores data pointers in user CCBs and frees memory. Add new functions to support kqueue(2)/kevent(2): passreadfilt() tells kevent whether or not the done queue is empty. passkqfilter() adds a knote to our list. passreadfiltdetach() removes a knote from our list. Add a new function, passpoll(), for poll(2)/select(2) to use. Add devstat(9) support for the queued CCB path. sys/cam/ata/ata_da.c: Add support for the BIO_VLIST bio type. sys/cam/cam_ccb.h: Add a new enumeration for the xflags field in the CCB header. (This doesn't change the CCB header, just adds an enumeration to use.) sys/cam/cam_xpt.c: Add a new function, xpt_setup_ccb_flags(), that allows specifying CCB flags. sys/cam/cam_xpt.h: Add a prototype for xpt_setup_ccb_flags(). sys/cam/scsi/scsi_da.c: Add support for BIO_VLIST. sys/dev/md/md.c: Add BIO_VLIST support to md(4). sys/geom/geom_disk.c: Add BIO_VLIST support to the GEOM disk class. Re-factor the I/O size limiting code in g_disk_start() a bit. sys/kern/subr_bus_dma.c: Change _bus_dmamap_load_vlist() to take a starting offset and length. Add a new function, _bus_dmamap_load_pages(), that will load a list of physical pages starting at an offset. Update _bus_dmamap_load_bio() to allow loading BIO_VLIST bios. Allow unmapped I/O to start at an offset. sys/kern/subr_uio.c: Add two new functions, physcopyin_vlist() and physcopyout_vlist(). sys/pc98/include/bus.h: Guard kernel-only parts of the pc98 machine/bus.h header with #ifdef _KERNEL. This allows userland programs to include <machine/bus.h> to get the definition of bus_addr_t and bus_size_t. sys/sys/bio.h: Add a new bio flag, BIO_VLIST. sys/sys/uio.h: Add prototypes for physcopyin_vlist() and physcopyout_vlist(). share/man/man4/pass.4: Document the CAMIOQUEUE and CAMIOGET ioctls. usr.sbin/Makefile: Add camdd. usr.sbin/camdd/Makefile: Add a makefile for camdd(8). usr.sbin/camdd/camdd.8: Man page for camdd(8). usr.sbin/camdd/camdd.c: The new camdd(8) utility. Sponsored by: Spectra Logic ------------------------------------------------------------------------ r291724 | ken | 2015-12-03 17:07:01 -0500 (Thu, 03 Dec 2015) | 6 lines Fix typos in the camdd(8) usage() function output caused by an error in my diff filter script. Sponsored by: Spectra Logic ------------------------------------------------------------------------ r291741 | ken | 2015-12-03 22:38:35 -0500 (Thu, 03 Dec 2015) | 10 lines Fix g_disk_vlist_limit() to work properly with deletes. Add a new bp argument to g_disk_maxsegs(), and add a new function, g_disk_maxsize() tha will properly determine the maximum I/O size for a delete or non-delete bio. Submitted by: will Sponsored by: Spectra Logic ------------------------------------------------------------------------ ------------------------------------------------------------------------ r291742 | ken | 2015-12-03 22:44:12 -0500 (Thu, 03 Dec 2015) | 5 lines Fix a style issue in g_disk_limit(). Noticed by: bdrewery ------------------------------------------------------------------------ Sponsored by: Spectra Logic
| * MFC r271401:ngie2015-12-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | r271401 (by asomers): Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls merge(1), which is part of the RCS package, it must not be installed if WITHOUT_RCS update is set. Otherwise, it will produce confusing errors. CR: https://reviews.freebsd.org/D691 Sponsored by: Spectra Logic
| * MFC: r291535rmacklem2015-12-141-4/+18
| | | | | | | | | | Document the new "-manage-gids" option for the nfsuserd daemon. This is a content change.
| * MFC: r291534rmacklem2015-12-141-9/+51
| | | | | | | | | | | | | | | | | | | | Add support for the "-manage-gids" option to the nfsuserd daemon. When this option is set, the NFS server uses the list of groups acquired via getgrouplist(3) for the uid instead of the list of groups in the RPC request. This can be used to avoid the 16 gid limit for the group list in the RPC request. Relnotes: yes
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-1017-30/+61
|\ \ | |/
| * MFC: r291658bapt2015-12-091-1/+2
| | | | | | | | | | | | | | | | | | | | pw_checkname since the beginning is too strict on GECOS field, relax it a bit so gecos can be used to store multibytes data. This was unseen before FreeBSD 10.2 as this validation function was motly unused since FreeBSD 10.2 the usage of this function has been generalized to improve Reported by: des
| * MFC: r291657bapt2015-12-092-9/+32
| | | | | | | | | | | | | | Fix handling of numeric-only names with pw lock Add a regression test about it PR: 204968
| * MFC r291348:bdrewery2015-12-049-9/+9
| | | | | | | | Use LIBEXECDIR for /usr/libexec.
| * MFC r291081:bdrewery2015-12-042-1/+1
| | | | | | | | | | Rename checked-in 'includes' to 'includes.sh' to avoid colliding with share/mk target 'make includes'.
OpenPOWER on IntegriCloud