aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* [SA-14:31] Fix multiple vulnerabilities in NTP suite.releng/9.2Dag-Erling Smørgrav2014-12-231-0/+1
| | | | | | | | | [EN-14:13] Fix directory deletion issue in freebsd-update. Approved by: so Notes: svn path=/releng/9.2/; revision=276156
* Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20]Xin LI2014-10-211-1/+2
| | | | | | | | | | | | | Fix routed(8) remote denial of service vulnerability. [SA-14:21] Fix memory leak in sandboxed namei lookup. [SA-14:22] Fix OpenSSL multiple vulnerabilities. [SA-14:23] Approved by: so Notes: svn path=/releng/9.2/; revision=273415
* Add pkg bootstrapping, configuration and public keys. [EN-14:03]Xin LI2014-05-132-26/+16
| | | | | | | | | | Improve build repeatability for kldxref(8). [EN-14:04] Fix data corruption with ciss(4). [EN-14:05] Approved by: so Notes: svn path=/releng/9.2/; revision=265988
* MFC r257879:Xin LI2013-11-281-2/+2
| | | | | | | | | | | | | | Fix typo in r256646: We want to generate lists of directories in INDEX-OLD and INDEX-NEW and compare them, not generate the same list of directories from INDEX-OLD twice... Pointy hats to: cperciva & everybody who didn't proofread EN-13:04 enough Errata Notice: FreeBSD-EN-13:05.freebsd-update Approved by: so Notes: svn path=/releng/9.2/; revision=258725
* MFC r256646, r256767, r257038:Xin LI2013-10-261-8/+25
| | | | | | | | | | | | | | | | | | | When installing updates, install new directories first and remove old directories last. Allow ~ in file names so libtool droppings in contrib don't break updates. It has happened twice now, and is likely to happen again. Be more selective when filtering for lib*.so.N files. These are deleted at the end of the upgrade process, after warning users to upgrade any 3rd party software (e.g., from the ports tree) which might link to the libraries being removed. Errata Notice: FreeBSD-EN-13:04.freebsd-update Approved by: so Notes: svn path=/releng/9.2/; revision=257194
* MFH (r254684, r254955): fix segfault on reload.Dag-Erling Smørgrav2013-09-082-7/+5
| | | | | | | | | MFH (r255156): silence an error message on non-IPv6 interfaces. Approved by: re (glebius) Notes: svn path=/releng/9.2/; revision=255398
* MFC r254397:Glen Barber2013-08-202-5/+16
| | | | | | | | | | Mark the makefs(8) '-p' flag as deprecated in preference for the '-Z' flag for compatibility with NetBSD. Approved by: re (rodrigc) Notes: svn path=/releng/9.2/; revision=254546
* MFC r254525:Glen Barber2013-08-191-0/+1
| | | | | | | | | Add entry for packages-9.2-release directory. Approved by: re (implicit) Notes: svn path=/releng/9.2/; revision=254530
* MFC r254265:Glen Barber2013-08-151-1/+1
| | | | | | | | | | | Make sure bootonly.iso for -BETAs and -RCs use the releases/ directory on the FTP mirrors to fetch distributions, since these are always pushed to releases/ during the release cycle. Approved by: re (marius) Notes: svn path=/releng/9.2/; revision=254361
* Sync-up bsdinstall(8)/bsdconfig(8) list of mirrors.Devin Teske2013-08-081-39/+7
| | | | | | | | | | | | | | | | | | SVN r253543: Update mirror list to more closely match http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html SVN r253545: Sync-up with bsdinstall(8) FTP mirrorselect changes. SVN r253566: Remove ftp2.tr.freebsd.org, it is out of date. Reviewed by: gavin Approved by: re (glebius) Notes: svn path=/releng/9.2/; revision=254103
* Sync-up bsdinstall(8)/bsdconfig(8) list of mirrors.Devin Teske2013-08-082-54/+17
| | | | | | | | | | | | | | | | | | SVN r253543: Update mirror list to more closely match http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html SVN r253545: Sync-up with bsdinstall(8) FTP mirrorselect changes. SVN r253566: Remove ftp2.tr.freebsd.org, it is out of date. Reviewed by: gavin Approved by: re (glebius) Notes: svn path=/releng/9.2/; revision=254102
* MFC r249328:Edward Tomasz Napierala2013-07-311-0/+10
| | | | | | | | | Make ctladm(8) try to load ctl.ko kernel module if needed. Approved by: re (delphij) Notes: svn path=/stable/9/; revision=253835
* MFC: r253675Marius Strobl2013-07-301-0/+2
| | | | | | | | | | | Ensure that makefs.h is included when using ufs_bswap.h so the FFS_EI macro is picked up when defined. Previously, ffs_subr.c was always built without support for opposite endianess as it doesn't include makefs.h on its own. Approved by: re (kib) Notes: svn path=/stable/9/; revision=253798
* MFC: r253707Marius Strobl2013-07-302-6/+7
| | | | | | | | | | | | | | | | | | | | | - Set the System Identifier in the Primary Volume Descriptor to FreeBSD rather than NetBSD. - Correctly set the Expiration Time in the Primary Volume Descriptor; according to ISO 9660 8.4.26.1 unspecified date and time are denoted by the digit 0 in RBP 1 to 16 but the number 0 in RBP 17. [1] - Merge iso9660_rrip.c rev. 1.11 from NetBSD: name_len should be read as unsigned byte. [2] Note: This is according to ISO 9660 9.1.10. - Rock Ridge TF entries should use a length of 5, because after the 4 bytes of generic SUSP header there is one byte of flags. See typedef of ISO_RRIP_TF in iso9660_rrip.h. [1] Submitted by: Thomas Schmitt [1] Approved by: re (kib) Obtained from: NetBSD [2] Notes: svn path=/stable/9/; revision=253797
* MFC: r253455Jung-uk Kim2013-07-241-20/+38
| | | | | | | | | Decode PCIe ASPM capability and status. Approved by: re (delphij) Notes: svn path=/stable/9/; revision=253622
* MFC r253224:Colin Percival2013-07-141-2/+2
| | | | | | | | | | | | | Fix bug in deleting files: If two ports had the same tarball and one of them changed (or was removed from the tree) then portsnap would delete that file. This happened earlier today when one of two empty port directories was removed. Uniquifying the lists of needed files fixes this. Approved by: re (delphij) Notes: svn path=/stable/9/; revision=253337
* MFH (r253138,r253258): install authpf-noipDag-Erling Smørgrav2013-07-131-0/+3
| | | | | | | Approved by: re (delphij) Notes: svn path=/stable/9/; revision=253320
* MFC r251516Sean Bruno2013-07-127-24/+491
| | | | | | | | | Implement foreign device handling. PR: kern/172091 Notes: svn path=/stable/9/; revision=253244
* MFC 245015:Hiroki Sato2013-07-121-2/+4
| | | | | | | Print the flags= part only when flags != 0. Notes: svn path=/stable/9/; revision=253243
* MFC 253058:Hiroki Sato2013-07-121-2/+7
| | | | | | | | | - Add missing "static" keywords. - Add a check for ifindex to if_indextoifinfo(). It returns NULL when if_indextoname() fails. Notes: svn path=/stable/9/; revision=253242
* MFC 243441:Hiroki Sato2013-07-121-1/+1
| | | | | | | Support a flag for ALLOW/BLOCK in source-specific multicast (RFC 4604). Notes: svn path=/stable/9/; revision=253230
* MFC r252713:Warren Block2013-07-111-8/+8
| | | | | | | | Whitespace fixes: remove tabs on blank links, spaces following content, tabs after spaces. Notes: svn path=/stable/9/; revision=253213
* MFC r252696:Warren Block2013-07-111-17/+33
| | | | | | | Put the power modes in a list to make them easier to find. Notes: svn path=/stable/9/; revision=253212
* MFC r253118: Fix conditional (der should match the comment above it).Devin Teske2013-07-101-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r253117: Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrc if it exists to determine if use_shadow is true (ON) or false (OFF). The purpose of determining the value of use_shadow is to know how many lines to subtract from the maximum height value in assuring that the backtitle is not obscured. The detriment of obscuring the backtitle is that it provides information that is not easily obtained elsewhere. That is the command-line shortcut used to access the current menu. As you navigate from one dialog to the next, invariably transparently corssing module boundaries, the backtitle represents the command-line argument used to get there. Obscuring this information with a widget that is too-tall and/or too-wide would see that data go unnoticed (leaving few other ways to get that information in the same helpful context). So despite the fact that this change reduces the standard maximum height for all widgets, there is a trap-door to prevent this calculation. If you want to utilize the full screen height on the terminal (remember, this adjustment is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL value for that matter) and this calculation will be skipped. You will be able to draw a widget that partially obscures the backtitle if-necessary. Notes: svn path=/stable/9/; revision=253169
* MFC r253121: Adjust comments to fit within 80-columns.Devin Teske2013-07-101-2/+2
| | | | Notes: svn path=/stable/9/; revision=253168
* MFH (r252556): allow setting expiry to current date / timeDag-Erling Smørgrav2013-07-101-5/+1
| | | | | | | MFH (r252688): fall back to sha512 if passwd_format is not set Notes: svn path=/stable/9/; revision=253157
* MFH (r250736): add -N option to list jail name instead of numberDag-Erling Smørgrav2013-07-102-11/+29
| | | | Notes: svn path=/stable/9/; revision=253156
* MFC bsdconfig(8) and sysrc(8) from HEAD. (shazam!)Devin Teske2013-07-07184-0/+32101
| | | | Notes: svn path=/stable/9/; revision=252995
* MFC r252516, r252540:Mikolaj Golub2013-07-053-1/+19
| | | | | | | Add a mib for worker process ID. Notes: svn path=/stable/9/; revision=252820
* MFC: r252483Rick Macklem2013-07-041-1/+15
| | | | | | | | | | Document that NFSv4 mounts won't work if hostid_enable="NO" is set in /etc/rc.conf because the host uuid is used to uniquely identify the client to the server. This is a content change. Notes: svn path=/stable/9/; revision=252676
* MFC: r252139Rick Macklem2013-07-041-1/+6
| | | | | | | | Document the "-o" option added by r252138. This is a content change. Notes: svn path=/stable/9/; revision=252675
* MFC: r252138Rick Macklem2013-07-041-3/+136
| | | | | | | | | | | | | | Add a new "-o" option to the gssd which forces gss_init_sec_context() to use DES and the associated old style GSS initialization token. This appears to be required for some non-FreeBSD servers to get a kerberized NFS mount to work. Also, ignore some signals when daemonized, which might fix the gssd from "disappearing" without leaving a core dump. Given the tight timeframe for the FreeBSD9.2 release, I have committed this while waiting for code review. I will commit changes recommended by the review in a separate commit. Notes: svn path=/stable/9/; revision=252674
* Really MFC r252363 (sysconf(3) returns a long, not an int).David E. O'Brien2013-07-033-3/+5
| | | | Notes: svn path=/stable/9/; revision=252638
* MFC: r252348, r252363: sysconf(3) returns a long, not an int.David E. O'Brien2013-07-031-1/+2
| | | | Notes: svn path=/stable/9/; revision=252635
* Fix grammar in a comment.Devin Teske2013-07-031-1/+1
| | | | Notes: svn path=/stable/9/; revision=252600
* MFC: tcpdump 4.4.0.Xin LI2013-06-273-41/+180
| | | | Notes: svn path=/stable/9/; revision=252283
* MFC r251560Baptiste Daroussin2013-06-251-1/+1
| | | | | | | Fix a bad calloc(3) call Notes: svn path=/stable/9/; revision=252216
* A set of MFCs allowing stable/9 to be built again on head after r250881:Marius Strobl2013-06-247-16/+24
| | | | | | | | | | | | | | r250227: Improve compatibility with recent flex from flex.sourceforge.net. r250914: Improve compatibility with old flex and fix build with GCC. r250926 (partial): Work around build breakages with GCC 4.2. Notes: svn path=/stable/9/; revision=252181
* MFC r250599:Mark Johnston2013-06-221-0/+4
| | | | | | | | | Add a remark to the effect that a manually started relearn will always result in the battery being completely drained, even in transparent learning mode. Notes: svn path=/stable/9/; revision=252093
* MFC: r251445Rick Macklem2013-06-211-2/+14
| | | | | | | | Document the new "-v" option for the gssd daemon. This is a content change. Notes: svn path=/stable/9/; revision=252069
* MFC: r251444, r251476Rick Macklem2013-06-211-2/+79
| | | | | | | | | | | Add a "-v" (verbose) option to the gssd daemon, to help with diagnosis of kerberized NFS mount problems. When set, messages are sent to syslog() (or fprintf(stderr,...) if "-d" is also specified) to indicate activity/results of kgssapi upcalls. Notes: svn path=/stable/9/; revision=252068
* MFC r251440: use calloc().Xin LI2013-06-201-2/+1
| | | | Notes: svn path=/stable/9/; revision=252044
* MFC r251439: Remove unneeded reference to link.h (sys/link_elf.h).Xin LI2013-06-205-5/+0
| | | | Notes: svn path=/stable/9/; revision=252043
* Fix a copy/paste error introduced by r248313 (s/ftp/http/ in menu text).Devin Teske2013-06-201-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/stable/9/; revision=252025
* MFC 228990,243232,243233:Hiroki Sato2013-06-142-450/+530
| | | | | | | | | | | | | | | | | | | | Overhaul of route6d(8): - Use queue(3) for linked-list. - Use a consistent naming scheme for struct members. - Use ANSI C style function declaration. - Add check of RTM_VERSION mismatch. - Increase the number of retry for NET_RT_DUMP from 5 to 15. - Use 2001:db8:: as an example instead of deprecated 3ffe:: address block. - Add check for connected routes. - Add support of RTM_IFANNOUNCE for dyanmically-added/removed interfaces. - Add support of *, ?, and [ in the interface list. - Add -P number to specify route flag which will never expire. - Add -Q number to specify route flag which route6d will add to routes via RIP. - Add -p pidfile to specify the process ID file. Notes: svn path=/stable/9/; revision=251724
* MFC r250407:Brooks Davis2013-06-138-1401/+16
| | | | | | | | | | Remove duplicated copies of various NetBSD compatibility shims used by makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead. Sponsored by: DARPA, AFRL Notes: svn path=/stable/9/; revision=251688
* MFC r250939:Mark Johnston2013-06-081-10/+5
| | | | | | | | | | | | Correct the description of the -a option: rtsol(d) -a will in fact send out router solicitations on multiple interfaces. MFC r251059: - Fix wording. - Improve the descriptions in the FILES section. Notes: svn path=/stable/9/; revision=251536
* MFC r250941:Mark Johnston2013-06-081-0/+30
| | | | | | | | Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Notes: svn path=/stable/9/; revision=251534
* MFC r235647 for newsyslog (by gleb):Mark Johnston2013-06-081-9/+20
| | | | | | | | | | | | | | | | | | | | | | | Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol replacing macro with same name, preserve _dirfd() macro for internal use. Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable name to prevent shadowing global symbol. MFC r250545: Some filesystems (NFS in particular) do not fill out the d_type field when returning directory entries through readdir(3). In this case we need to obtain the file type ourselves; otherwise newsyslog -t will not be able to find archived log files and will fail to both delete old log files and to do interval-based rotations properly. MFC r251240: We want to stat the archived log file rather than the logfile itself. Notes: svn path=/stable/9/; revision=251532
* MFH (r247863): fix occasional SIGSEGV when an interface was added.Dag-Erling Smørgrav2013-06-061-0/+2
| | | | Notes: svn path=/stable/9/; revision=251469