summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge: 272655rodrigc2014-10-11104-1497/+8019
| | | | Import byacc 20141005 from vendor
* Merge: r272649rodrigc2014-10-113-1/+8
| | | | | | | | use calloc in get_line() when allocating line to ensure it is fully initialized, fixes a later uninitialized value in copy_param() (FreeBSD #193499). PR: 193499 Submitted by: Thomas E. Dickey <tom@invisible-island.net>
* Merge: r268811rodrigc2014-10-11124-15657/+508
| | | | | | | Update to byacc 20140715 PR: 191020 Submitted by: gcooper (yaneurabeya@gmail.com)
* MFC r272538:kib2014-10-111-5/+4
| | | | | Slightly reword comment. Move code, which is described by the comment, after it.
* MFC r272536:kib2014-10-115-0/+58
| | | | Add kernel option KSTACK_USAGE_PROF.
* Switch stable/10 back to -PRERELEASE now that releng/10.1 isgjb2014-10-111-1/+1
| | | | | | branched. Sponsored by: The FreeBSD Foundation
* MFC r272487:ae2014-10-111-0/+3
| | | | Add UUID of FreeBSD slice to GPT scheme.
* MFC r272762: Correct scale factor for T terabyte suffixemaste2014-10-111-1/+1
| | | | PR: 194250
* MFC r271879:pfg2014-10-103-5/+7
| | | | | | | | | | | awk: Use random(3) instead of rand(3) While none of them is considered even near to cryptographic level, random(3) is a better random generator than rand(3). Use random(3) for awk as is done in other systems. PR: 193147
* MFC 270828,271487,271495:jhb2014-10-105-10/+241
| | | | | Add sysctls to export the BIOS SMAP and EFI memory maps along with handlers in the sysctl(8) binary to format them.
* MFC r272713:bz2014-10-101-1/+1
| | | | | | | | | | | Since introducing the extra mapping in r250103 (head) for architectural performance events we have actually counted 'Branch Instruction Retired' when people asked for 'Unhalted core cycles' using the 'unhalted-core-cycles' event mask mnemonic. Reviewed by: jimharris Discussed with: gnn, rwatson Sponsored by: DARPA/AFRL
* MFC r272474:smh2014-10-103-6/+58
| | | | | | Fix various issues with zvols Sponsored by: Multiplay
* MFC r271589:smh2014-10-102-10/+87
| | | | | | | | | Added missing ZFS sysctls This also includes small additional direct changes as it still uses the old way of handling tunables. Sponsored by: Multiplay
* MFC r271754:smh2014-10-102-19/+0
| | | | | | Remove unused ZFS ARC functions Sponsored by: Multiplay
* MFC r271802:smh2014-10-105-2/+51
| | | | | | | | | | | | Add dtrace probe support for zfs SET_ERROR(..) MFC r271873: Fix static kernel build with options ZFS MFC r271819: Remove sys/types.h include as per style (9) Sponsored by: Multiplay
* MFC r270759:smh2014-10-104-54/+150
| | | | | | | | | | | | Refactor ZFS ARC reclaim logic to be more VM cooperative MFC r270861: Ensure that ZFS ARC free memory checks include cached pages MFC r272483: Refactor ZFS ARC reclaim checks and limits Sponsored by: Multiplay
* MFC r272393:hrs2014-10-091-5/+38
| | | | | | Resurrect set_rcvar() as a function to define a rc.conf variable. It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values.
* MFC r271921:hrs2014-10-091-1/+1
| | | | Fix a typo.
* MFC r271919:hrs2014-10-095-7/+35
| | | | | | | Fix a bug which could make routed(8) daemon exit by sending a special RIP query from a remote machine, and disable accepting it by default. This requests a routed(8) daemon to dump routing information base for debugging purpose. An -i flag to enable it has been added.
* MFC r271909:hrs2014-10-091-8/+2
| | | | | Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is received.
* MFC r271663:hrs2014-10-092-4/+4
| | | | Fix a typo; master server for iprop service should be singular.
* MFC r271628:hrs2014-10-091-5/+5
| | | | Use generic SYSCTL_* macro instead of deprecated SYSCTL_VNET_*.
* MFC r271545, 271610:hrs2014-10-094-18/+38
| | | | | Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware.
* MFC r271411:hrs2014-10-091-1/+6
| | | | | | Fix a bug which could break extended attributes in a dump output. This occurred when a file was >892kB long and had a large data (>1kB) in the extended attributes.
* MFC r271410:hrs2014-10-091-6/+10
| | | | Fix header output when -P is specified and (ncpus - 1) != maxid.
* MFC r271145:hrs2014-10-091-4/+4
| | | | | Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO.
* MFC r270836:hrs2014-10-091-0/+2
| | | | Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
* MFC r270783:hrs2014-10-091-26/+24
| | | | | Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start().
* MFC r270782:hrs2014-10-0910-48/+167
| | | | | | | | | | | | | | | | | | | | | | | | | Restructure rc.d scripts for kerberos5 daemons: - Rename $kerberos5_server_enable with $kdc_enable and rename rc.d/kerberos with rc.d/kdc. - Rename $kadmin5_server_enable with $kadmind_enable. - Rename ${kerberos5,kpasswdd}_server with ${kdc,kpasswdd}_program. - Fix rc.d/{kadmind,kerberos,kpasswdd,kfd} scripts not to change variables after load_rc_config(). - Add rc.d/ipropd_master and rc.d/ipropd_slave scripts. These are for iprop-master(8) and iprop-slave(8). Keytab used for iprop service is defined in ipropd_{master,slave}_keytab (/etc/krb5.keytab by default). - Add dependency on rc.d/kdc to SERVERS. rc.d/kdc must be invoked as early as possible before scripts divided by rc.d/SERVERS. Note that changes to rc.d/{kdc,kpasswdd,kadmind} are backward-compatible with the old configuration variables: ${kerberos5,kpasswdd,kadmin5}_server{,_enable,_flags}.
* MFC r270780:hrs2014-10-093-25/+18
| | | | | | | | Fix rc.d/gssd script to define the default values in a standard way. MFC r270781: - Add a warning message when an IPv6 address is specified with no prefixlen. - Use a parameter argument in jls(8) instead of doing grep.
* MFC r270234:hrs2014-10-091-0/+2
| | | | | | Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added.
* MFC r269054:hrs2014-10-092-0/+4
| | | | | | | | Fix EtherIP. TOS field must be initialized when the inner protocol is PF_LINK, and multicast/broadcast flag should always be dropped because the outer protocol uses unicast even when the inner address is not for unicast. It had been broken since r236951 when gif_output() started to use IFQ_HANDOFF().
* MFC r266267, r267636:hrs2014-10-091-2/+2
| | | | | Fix an issue in range specification handling when a "-foo" is specified in ifconfig_IF_aliasN.
* MFC r266248:hrs2014-10-091-2/+16
| | | | | | | | Cancel DAD for an ifa when the ifp has ND6_IFF_IFDISABLED as early as possible and do not clear IN6_IFF_TENTATIVE. If IFDISABLED was accidentally set after a DAD started, TENTATIVE could be cleared because no NA was received due to IFDISABLED, and as a result it could prevent DAD when manually clearing IFDISABLED after that.
* MFC r265225:hrs2014-10-091-7/+10
| | | | | | Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF. This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time.
* MFC r266177:hrs2014-10-091-3/+6
| | | | | | | - Do not override sin6_scope_id in LLA when it is already set to non-zero. This fixes destination list in output of netstat -r. - Plug a memory leak. - Add RTM_VERSION check.
* MFC r257036:hrs2014-10-091-6/+12
| | | | | | | | | | | | Return 0 if: 1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /pathname" specified, and both of them found, 4. "-l" specified and no -f, 5. "-l" specified, "-f /pathname" specified, and /pathname found. otherwise return -1.
* MFC r256715:hrs2014-10-091-1/+2
| | | | Use long explicitly for the time difference.
* MFC r256695:hrs2014-10-093-10/+42
| | | | | | - Add relative specification in expiration time. - Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics.
* MFC r258580:hrs2014-10-0926-996/+690
| | | | | | | | | | | | | | | | | | | | | Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. MFC r258581, 258582: Replace Sun Industry Standards Source License for Sun RPC code with a 3-clause BSD license as specified by Oracle America, Inc. in 2010. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. MFC r259117, 259118: Replace Sun RPC license with a 3-clause BSD license. This license change was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. MFC r259417: Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.
* MFC r266857:hrs2014-10-091-10/+32
| | | | | - Add rwlock to struct dadq. A panic could occur when a large number of addresses performed DAD at the same time.
* MFC r266494:hrs2014-10-091-10/+7
| | | | | | | - Fix a bug which can make sysctl() fail when -F is specified. - Increase WID_IF_DEFAULT() from 6 to 8 (the default for AF_INET6) because we have interfaces with longer names than 6 chars like epairN{a,b}. - Style fixes.
* MFC r272650: Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race.mav2014-10-091-2/+4
| | | | | | PR: 194128 Submitted by: Scott M. Ferris <smferris@gmail.com> Sponsored by: EMC/Isilon Storage Division
* MFC r271307:ae2014-10-095-2/+30
| | | | | | | | Add the ability to set `prefer_source' flag to an IPv6 address. It affects the IPv6 source address selection algorithm (RFC 6724) and allows override the last rule ("longest matching prefix") for choosing among equivalent addresses. The address with `prefer_source' will be preferred source address.
* MFC r272485: Fill cyclinder, head and sector fields for the EBR,marcel2014-10-086-21/+58
| | | | | | MBR and PC98 schemes. Requested by: gjb
* MFC 272384:marcel2014-10-082-94/+586
| | | | | | Improve performance of mking(1). Requested by: gjb
* MFC 272198, 272217:marcel2014-10-083-20/+127
| | | | | | | | | Add 3 long options (--version, --formats & --schemes) for getting information about mkimg itself. Requested by: gjb Relnotes: yes
* MFC 271965, 272072, 272086: Add QCOW v1 & v2 supportmarcel2014-10-082-0/+370
| | | | | | Requested by: gjb Relnotes: yes
* MFC r272273, r272387, r272443, r272533 :pfg2014-10-082-16/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add strptime(3) support for %U and %W Add support for the missing POSIX-2001 %U and %W features: the existing FreeBSD strptime code recognizes both directives and validates that the week number lies in the permitted range, but then simply discards the value. Initial support for the feature was written by Paul Green. David Carlier added the initial handling of tm_wday/tm_yday. Major credit goes to Andrey Chernov for detecting much of the brokenness and rewriting/cleaning most of the code, making it much more robust. Tested independently with the strptime test from the GNU C library. PR: 137307 Relnotes: yes MFC r272441 : strptime: %s format fix. Almost never needed in real life because %s is tends to be only one format spec. 1) Return code of gmtime_r() is checked. 2) All flags are set. Submitted by: ache
* MFC r272706:tuexen2014-10-081-1/+1
| | | | | Fix a bug introduced in https://svnweb.freebsd.org/base?view=revision&revision=272347
OpenPOWER on IntegriCloud