summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Note if relaxed ordering or no snoop is enabled for each PCI-express device.jhb2015-11-051-0/+4
| | | | MFC after: 1 week
* Fix typo in error messagedteske2015-11-031-1/+1
| | | | | | | Differential Revision: https://reviews.freebsd.org/D3997 Submitted by: git_johnko.ca (John Ko) MFC after: 3 days X-MFC-to: stable/10 stable/9
* Add sysrc(8) support for "rc.conf.d" file(s) when given "-s name" todteske2015-11-032-12/+238
| | | | | | | | | | | | | indicate service(8) script. While here, add "-l" option for listing the set of configuration file(s) considered (in order; separated by space). Also add "-L" for exploring all configuration files and "-E" to omit files that don't exist from operations. Differential Revision: https://reviews.freebsd.org/D3551 Reviewed by: allanjude MFC after: 1 week X-MFC-to: stable/10 Relnotes: yes
* Add testcases for -t ffs -o version=[12]ngie2015-11-021-1/+66
| | | | | | | | Verify the filesystem type using dumpfs. Add preliminary support for NetBSD (needs to be validated) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Sync minor whitespace / type changes in ffs_csum_swap and ffs_sb_swap withngie2015-11-021-4/+4
| | | | | | | | src/sys/ufs/ffs/ffs_bswap.c@1.39 Obtained from: NetBSD MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Clean up mtree keyword support a slight bit and add a few more default keywordsngie2015-11-023-3/+10
| | | | | | | | | - Parameterize the mtree keywords as $DEFAULT_MTREE_KEYWORDS - Test with the extra mtree keywords, `mode,gid,uid`. - Add a note about mtrees with time support not working with makefs right now MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add testcases for -t cd9660 -o isolevel=[1-3]ngie2015-11-021-0/+58
| | | | | | | | | | | | -- -o isolevel=1 currently fails because of path comparison issues, so mark it as an expected failure. -- -o isolevel=3 is not implemented, so expect it to fail as an out of bounds value [*]. PR: 203645 MFC after: 1 week X-MFC with: r290264 Sponsored by: EMC / Isilon Storage Division
* Limit isoLevel to 1 and 2 to avoid segfaulting when isoLevel is set to 3 byngie2015-11-021-2/+4
| | | | | | | | | | | dereferencing a NULL function pointer Add some asserts to ensure that isolevel is always either 1 or 2. PR: 203645 Reported by: Thomas Schmitt <scdbackup@gmx.net> MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix spelling of `isolevel` cd9660 optionngie2015-11-021-1/+1
| | | | | | MFC after: 1 week X-MFC with: r290260 Sponsored by: EMC / Isilon Storage Division
* Bump .Dd for r290259 and r290260ngie2015-11-021-1/+1
|
* Document undocumented long options for -t cd9660ngie2015-11-021-6/+20
| | | | | | | | | | Note which options have been implemented and which options haven't been implemented Submitted as the following NetBSD PRs: bin/50390 and bin/50392 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Sync makefs(8) content a bit with src/usr.sbin/makefs/makefs.8@1.53ngie2015-11-021-18/+21
| | | | | | | | | Sections involving unimplemented filesystems (chfs, msdosfs, udf, v7fs) and options have been omitted. MFC after: 1 week Obtained from: NetBSD Sponsored by: EMC / Isilon Storage Division
* newsyslog: treat 'c' flag in the config as 'C'bapt2015-10-311-14/+0
| | | | | | | | | | | | | | When -C was introduced in r114137 the plan was to have -C and -c being used for "create" due to a typo in FreeBSD <= 4.8 a temporary compatibility hack has been added to make -c being like -G aka GLOB and a warning was issued for the user to be aware of the futur change for -c. 12 years later it is more than time to remove that hack and finish the what was intent in r114137 Submitted by: Alexandre Perrin <alex@kaworu.ch> Relnotes: yes Differential Revision: https://reviews.freebsd.org/D4000
* Fix rtsold's usage messagengie2015-10-301-5/+5
| | | | | | | | | | | | - Remove -a from the usage message example dealing with specific interfaces. -a only makes sense when not specifying an interface, such that it's to be run on all interfaces - Fix the pidfile option (it's -p, not -P) - Change `interfaces` to `interface` to match the manpage MFC after: 3 days PR: 173744 Sponsored by: EMC / Isilon Storage Division
* Follow up to roundup feature addition in r289203ngie2015-10-302-8/+13
| | | | | | | | | | | | | | | | - Rename -r to -R to avoid the clash with makefs -r in NetBSD - Note that -R is an FFS-specific option because it's not implemented in cd9660 today - Rename the roundup variable to "roundup-size" in the manpage and help text for consistency with other variables. - Bump .Dd (missed in r289203) PR: 203707 MFC after: 1 week X-MFC with: r289203 Differential Revision: https://reviews.freebsd.org/D3959 Reviewed by: adrian (earlier patch), emaste Sponsored by: EMC / Isilon Storage Division
* In pw_userlock, set 'name' to NULL when we encounter an all number stringdelphij2015-10-301-2/+3
| | | | | | | | because it is also used as an indicator of whether a name or an UID is being used and we may have undefined results as 'name' may contain uninitialized stack contents. MFC after: 2 weeks
* Use strlcpy().delphij2015-10-301-2/+1
| | | | MFC after: 2 weeks
* Fix unlikely memory leak.bdrewery2015-10-291-1/+3
| | | | | | | 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
* Include libutil's headers directly from src to avoid recording a dirdepsbdrewery2015-10-282-2/+2
| | | | dependency for META MODE.
* Connect mpsutil for META MODE.bdrewery2015-10-281-0/+19
|
* Connect mpsutil(8) to the buildbapt2015-10-281-0/+1
| | | | Sponsored by: Gandi.net
* Merge from headbapt2015-10-28226-3868/+7141
|\ | | | | | | Sponsored by: Gandi.net
| * Remove unneeded NAME override.bdrewery2015-10-271-1/+0
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Use more appropriate ${SHAREDIR} rather than /usr/share.bdrewery2015-10-273-3/+3
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Revert r289269 for now. After looking at share/zoneinfo/Makefile this coulddelphij2015-10-271-11/+15
| | | | | | | | | | potentially break non-root installs and we need a better solution, probably by doing it differently when no UI is involved.
| * Add a regression test for r289899 to validate rockridge encodingngie2015-10-241-0/+27
| | | | | | | | | | | | | | | | of device types X-MFC with: r289899 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Remove an ls -l I was using for debuggingngie2015-10-241-1/+0
| | | | | | | | | | | | MFC after: 2 weeks X-MFC with: r289897 Sponsored by: EMC / Isilon Storage Division
| * Import the fix from NetBSD kern/48852 (sic) to fix rockridge encoding ofngie2015-10-241-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | device nodes In particular, use st_rdev (the device type), not st_dev (the device inode), and fix the comparison to be correct with the st_rdev field Bug 203648 MFC after: 2 weeks Submitted by: Thomas Schmitt <scdbackup@gmx.net> Coverity CID: 1008927 Sponsored by: EMC / Isilon Storage Division
| * Add more cd9660/FFS makefs testcasesngie2015-10-243-37/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General changes: - Parameterize out the mount command. - Use mtree to verify the contents of an image (check_image_contents) instead of using diff (diff verifies content, but not file metadata). - Move common logic out to functions (common_cleanup, mount_image, check_image_contents) - Add stub testcases for makefs -D (crashes with SIGBUS, similar to bug # 192839) - Add a note about the ISO-9660 and rockridge specs - Add testcases that exercise: -- Creating disk images from an mtree and multiple directories. -- -F flag use (not really an extensive testcase right now) cd9660-specific test changes: - Remove an XXX comment about symlinks; I forgot that non-rockridge images turn symlinks into hardlinks. - Add testcases that exercise: -- -o allow-deep-trees -- -o allow-max-name stub testcase (doesn't seem to be implemented in makefs) -- -o preparer (existence in image; not conformance to spec) -- -o publisher (existence in image; not conformance to spec) -- -o rockridge (basic) MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * newsyslog.conf: allow to configure the signal using the signal name.bapt2015-10-242-16/+48
| | | | | | | | | | | | | | Submitted by: Alexandre Perrin <alex@kaworu.ch> MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D3961
| * A miss from r289764.glebius2015-10-231-3/+3
| |
| * Stop suggesting -grope argument when -grope argument was actually givenbapt2015-10-221-1/+2
| |
| * MFV ntp-4.2.8p4 (r289715)glebius2015-10-229-32/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Security: VuXML: c4a18a12-77fc-11e5-a687-206a8a720317 Security: CVE-2015-7871 Security: CVE-2015-7855 Security: CVE-2015-7854 Security: CVE-2015-7853 Security: CVE-2015-7852 Security: CVE-2015-7851 Security: CVE-2015-7850 Security: CVE-2015-7849 Security: CVE-2015-7848 Security: CVE-2015-7701 Security: CVE-2015-7703 Security: CVE-2015-7704, CVE-2015-7705 Security: CVE-2015-7691, CVE-2015-7692, CVE-2015-7702 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#October_2015_NTP_Security_Vulner Sponsored by: Nginx, Inc.
| * - Fix a bug which prevented dnssl[0-9] and rdnss[0-9] parameters fromhrs2015-10-221-2/+3
| | | | | | | | | | | | | | | | | | working. - Fix a pointer calculation for padding when multiple dnssl[0-9] parameters are specified [*]. Reported by: http://bugs.dragonflybsd.org/issues/2847 [*]
| * Exit with a user-friendly message instead of tripping an assertngie2015-10-221-1/+2
| | | | | | | | | | | | | | | | | | if vm_activate_cpu(..) fails when called from fbsdrun_addcpu(..) MFC after: 1 week PR: 203884 Reviewed by: grehan Submitted by: William Orr <will@worrbase.com>
| * Revise "create_test_inputs" to simplify the file structure asngie2015-10-223-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | these testcases don't need to be nested as much as bin/ls/ls_tests.sh do when verifying ls -a, ls -A, etc. This allows the tests to make all paths relative to the top of the temporary directory instead of always tacking on $ATF_TMPDIR, thus complicating things unnecessarily Create non-empty files in create_test_inputs as well now, similar to create_test_inputs2 in bin/ls/ls_tests.sh Compare the input files to the output file contents using diff where possible: - Skip over the fifo comparison for now because it always fails - Skip over the symlink comparison on cd9660 because it always fails today Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks X-MFC with: r289739
| * Correctly reintroduce the rudimentary smoke tests I botched upngie2015-10-225-0/+228
| | | | | | | | | | | | | | in r289684 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Revert r289694ngie2015-10-218-248/+11
| | | | | | | | I committed some other undesirable local changes by accident
| * Add some rudimentary [smoke] testcases for makefsngie2015-10-218-11/+248
| | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
| * Unbreak makefs -t cd9660 after r289687ngie2015-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | buffer_head needs to be freed -- not buffer Detected by jemalloc, i.e. running makefs failed the arena assert because my copy of malloc on CURRENT is compiled with the default !MALLOC_PRODUCTION asserts on Pointyhat to: ngie PR: 203647 X-MFC with: r289687 Sponsored by: EMC / Isilon Storage Division
| * Free buffer before returning from cd9660_write_path_table to avoidngie2015-10-211-2/+4
| | | | | | | | | | | | | | | | | | | | leaking it after returning from the function MFC after: 1 week PR: 203647 Submitted by: Thomas Schmitt <scdbackup@gmx.net> Coverity CID: 978431 Sponsored by: EMC / Isilon Storage Division
| * Fix a ton of speelling errorseadler2015-10-2124-29/+29
| | | | | | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
| * check boundaries while parsing SDP responsesemax2015-10-201-9/+43
| | | | | | | | | | | | Reported by: hps Reviewed by: hps MFC after: 1 week
| * Don't check if `val` is NULL before calling free; free(3) alreadyngie2015-10-191-2/+1
| | | | | | | | | | | | | | | | | | | | handles this MFC after: 1 week PR: 203649 Submitted by: Thomas Schmitt <scdbackup@gmx.net> Coverity CID: 1305659 Sponsored by: EMC / Isilon Storage Division
| * Initialize `quiet` to false so `pw groupnext` again prints out the next gidngie2015-10-191-1/+1
| | | | | | | | | | | | | | | | | | by default Reported by: Florian Degner <f.degner@gmx.de> MFC after: 1 week PR: 203876 Sponsored by: EMC / Isilon Storage Division
| * Update hostapd/wpa_supplicant to version 2.5.rpaulo2015-10-183-6/+2
| | | | | | | | | | | | Tested by several people on current@/wireless@. Relnotes: yes
| * Add debug file extension to freebsd-update(8) after r288176emaste2015-10-151-1/+1
| | | | | | | | | | | | Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3784
| * Use chroot(2) instead of using prefixes for files.delphij2015-10-131-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the code prefixes the chroot path to actual file paths to simulate the effect. This, however, will not work for tzset(3) which expects the current system have a working set of timezone data files, and that is not always the case. This changeset simplifies the handling of paths and use an actual chroot(2) call to implement the effect. PR: bin/197313 MFC after: 2 weeks
| * Fix two memory leaks in config(8).rpaulo2015-10-131-0/+2
| | | | | | | | | | PR: 202145 Submitted by: Kurt Lidl <lidl pix.net>
| * makefs(8) leaves sblock.fs_providersize uninitialized (zero) that can be easilysbruno2015-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | checked with dumpfs(8). This may lead to other problems, f.e. geom_label kernel module sanity checks do not like zero fs_old_size value and skips such UFS1 file system while tasting (fs_old_size derives from sblock.fs_providersize). PR: 203704 Submitted by: eugen@grosbein.net Reviewed by: marcel
OpenPOWER on IntegriCloud