summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develdevelRenato Botelho2017-02-231-1/+1
|\
| * MFC r313819:pfg2017-02-191-1/+1
| | | | | | | | | | | | | | Remove outdated claim. Despite wishful thinking the removal of these old functions hasn't happened yet.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2017-02-091-0/+1
|\ \ | |/
| * MFC r310630: libkvm: support access to vmm guest memory, allow writes toavg2017-01-181-0/+1
| | | | | | | | | | | | fwmem and vmm Sponsored by: Panzura
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2017-01-092-4/+20
|\ \ | |/
| * MFC 310048,310101sephe2017-01-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 310048 hyperv: Implement "enlightened" time counter, which is rdtsc based. Reviewed by: kib Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8763 310101 hyperv: Allow userland to ro-mmap reference TSC page This paves way to implement VDSO for the enlightened time counter. Reviewed by: kib Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8768
| * MFC 308664,308742,308743sephe2016-12-291-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 308664 hyperv/vss: Add driver and tools for VSS VSS stands for "Volume Shadow Copy Service". Unlike virtual machine snapshot, it only takes snapshot for the virtual disks, so both filesystem and applications have to aware of it, and cooperate the whole VSS process. This driver exposes two device files to the userland: /dev/hv_fsvss_dev Normally userland programs should _not_ mess with this device file. It is currently used by the hv_vss_daemon(8), which freezes and thaws the filesystem. NOTE: currently only UFS is supported, if the system mounts _any_ other filesystems, the hv_vss_daemon(8) will veto the VSS process. If hv_vss_daemon(8) was disabled, then this device file must be opened, and proper ioctls must be issued to keep the VSS working. /dev/hv_appvss_dev Userland application can opened this device file to receive the VSS freeze notification, hold the VSS for a while (mainly to flush application data to filesystem), release the VSS process, and receive the VSS thaw notification i.e. applications can run again. The VSS will still work, even if this device file is not opened. However, only filesystem consistency is promised, if this device file is not opened or is not operated properly. hv_vss_daemon(8) is started by devd(8) by default. It can be disabled by editting /etc/devd/hyperv.conf. Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: kib, mckusick Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8224 308742 hyperv/vss: Nuke unused variables. Submitted by: markj Reported by: markj Sponsored by: Microsoft 308743 hyperv/vss: Install the userland daemon to /usr/sbin instead of / Submitted by: markj Reported by: markj Sponsored by: Microsoft
| * MFC 309274:jhb2016-12-161-1/+1
| | | | | | | | Use the correct name for the GCC macro indicating max_align_t is defined.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-12-052-1/+9
|\ \ | |/
| * MFC r296133:ngie2016-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | r296133 (by pfg): RPC: update the getrpcbyname() definition to include a const qualifier. Add const qualifier making getrpcbyname() and getrpcbyname_r() prototypes match those used in latest Sun RPC code (TI-RPC 2.3). Obtained from: NetBSD
| * MFC 307756: Define max_align_t for C11.jhb2016-11-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | libc++'s stddef.h includes an existing definition of max_align_t for C++11, but it is only defined for C++, not for C. In addition, GCC and clang both define an alternate version of max_align_t that uses a union of multiple types rather than a plain long double as in libc++. This adds a __max_align_t to <sys/_types.h> that matches the GCC and clang definition that is mapped to max_align_t in <stddef.h>. PR: 210890
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-11-022-0/+13
|\ \ | |/
| * Add posix_tnode to <search.h>.ed2016-10-291-0/+2
| | | | | | | | | | | | | | | | | | In r307227 I've refactored the binary search tree functions to use the posix_tnode type. As this change does not apply cleanly to this version of FreeBSD, only make the change that matters: add the definition of the newly introduced type. This will ease source-level compatibility going forward.
| * MFC r307131: install header files required development with libzfs_coreavg2016-10-281-0/+11
| |
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-10-121-2/+2
|\ \ | |/
| * MFC r306568, r306569vangyzen2016-10-081-2/+2
| | | | | | | | | | | | | | Add the __printflike attribute to the declarations of dprintf(3) and vdprintf(3). Sponsored by: Dell EMC
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-08-301-4/+5
|\ \ | |/
| * MFC r304703, r304755ache2016-08-261-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) _locale.h LC_*_MASK bit shifting order was partially broken from the initial commit time at year 2012. Only LC_COLLATE_MASK and LC_CTYPE_MASK are in the right order. The order here should match XLC_* from "xlocale_private.h" which, in turn, match LC_* publicly visible order from <locale.h> which determines how locale components are stored in the structure. LC_*_MASK -> XLC_* translation done as "ffs(mask) - 1" in the querylocale() and equivalent shift loop in the newlocale(), so mapped to some wrong components (excluding two mentioned above). Formally the fix is ABI breakage, but old code using those masks never works properly in any case. Only newlocale() and querylocale() are affected. 2) msgcat.c Use current locale (f.e. set by thread). It was global locale always previously. PR: 211743
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-06-211-0/+7
|\ \ | |/
| * MFC r300998:ed2016-06-181-0/+7
| | | | | | | | | | | | | | Add missing va_list to <wchar.h>. It looks like va_list should always be defined when XSI is enabled. It moved over to the POSIX base in the 2008 edition.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-04-111-1/+1
|\ \ | |/
| * MFC r297212:dim2016-03-301-1/+1
| | | | | | | | | | | | For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses them for defining overloaded versions of abs() and div().
* | Merge remote-tracking branch 'origin/stable/10' into develLuiz Otavio O Souza2016-03-301-9/+5
|\ \ | |/
| * MFC r296394:pfg2016-03-251-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | xdr: Fix xdr_rpc* defines. The defines for xdr_rpc* in xdr.h are wrong. It could be very well that Solaris did strip the '_t' from xdr_u_int32_t, but Solaris has a xdr_u_int32 function, we don't have this. So all of this defines will lead to an unresolved symbol. This explains why we do not use these functions in FreeBSD while they are used in Illumos/Solaris. Obtained from: linux libtirpc (git 7864122e61ffe4db1aa8ace89117358a1e3a391b)
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-131-3/+6
|\ \ | |/
| * MFC r293491:kevlo2016-01-131-3/+6
| | | | | | | | | | | | | | | | | | - Add the definition of CHARCLASS_NAME_MAX, as per POSIX.1-2001. - Avoid namespace pollution and move definitions of _POSIX2_CHARCLASS_NAME_MAX and _POSIX2_COLL_WEIGHTS_MAX into the .2001 section. With input from bde. Reviewed by: bde
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-281-2/+2
|\ \ | |/
| * MFC r292514:ume2015-12-271-1/+1
| | | | | | | | | | | | addrinfo.ai_family is an address family, not a protocol family. PR: 162434
| * Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3).ume2015-12-251-1/+1
| | | | | | | | PR: 198092
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-102-1/+2
|\ \ | |/
| * MFC r284289,r288267:bdrewery2015-12-041-1/+1
| | | | | | | | | | | | | | r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
| * MFC r289393:bdrewery2015-12-041-0/+1
| | | | | | | | Add more SUBDIR_PARALLEL.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-031-0/+1
|\ \ | |/
| * MFC r285140:ngie2015-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r285140 (by oshogbo): Add fdclose(3) function. This function is equivalent to fclose(3) function except that it does not close the underlying file descriptor. fdclose(3) is step forward to make FILE structure private. Reviewed by: wblock, jilles, jhb, pjd Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D2697
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-111-0/+3
|\ \ | |/
| * MFC: r289863,r289931,r290110,r290230,r290231,r290232ache2015-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290232: Microoptimize. r290231: Addition to prev. commit. In some edge cases fp->_p can be changed in _sseek(), recalculate. r290230: Don't seek to the end if write buffer is empty (in append modes). PR: 204156 r290110: Add _flags2 per jhb@ suggestion since no room left in _flags. Rewrite O_APPEND flag checking using new __S2OAP flag. r289931: According to POSIX, a write operation shall start at the current size of the stream (if mode had 'a' as the first character). r289863: Since no room left in the _flags, reuse __SALC for O_APPEND. It helps to remove _fcntl() call from _ftello() and optimize seek position calculation in _swrite().
* | MFC r272673:Luiz Otavio O Souza2015-10-201-0/+3
|/ | | | | | | | | | Add explicit_bzero(3) and its kernel counterpart. Obtained from: OpenBSD MFC after: 2 weeks TAG: IPSEC-HEAD Issue: #4841
* MFC r275805:tijl2015-04-301-2/+2
| | | | | | | | | | | | | Fix incorrect type of "invalids" argument in __iconv() prototype. MFC r281550,281591: Remove the const qualifier from iconv(3) to comply with POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv. PR: 199099
* MFC r278600:bdrewery2015-04-031-1/+1
| | | | Correct and clarify comment for __SMBF.
* MFC r278204:ngie2015-03-241-11/+10
| | | | | | Sort the entries by build knob, then MACHINE_ARCH like other areas of the tree Sponsored by: EMC / Isilon Storage Division
* MFC r278135,r278202:ngie2015-03-241-1/+5
| | | | | | | | | | | | | | | | | r278135 (by amdmi3): - Remove more files when MK_USB == no Reviewed by: ngie Approved by: ngie Differential Revision: D1600 r278202: Clean up more usb related files when MK_USB == no when dealing with manpages, libraries, and binaries Sponsored by: EMC / Isilon Storage Division
* MFC 273598 273602 273607 273613 273647:rpaulo2014-11-031-1/+3
| | | | Userland HPET support.
* MFC r258580:hrs2014-10-0916-423/+454
| | | | | | | | | | | | | | | | | | | | | 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 r269867:ume2014-08-305-54/+159
| | | | | | | Update our stub resolver to final version of libbind (libbind-6.0). Obtained from: ISC
* MFC 268531,269079,269204:jhb2014-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix various edge cases with rewinddir(), seekdir(), and telldir(): - In the unionfs case, opendir() and fdopendir() read the directory's full contents and cache it. This cache is not refreshed when rewinddir() is called, so rewinddir() will not notice updates to a directory. Fix this by splitting the code to fetch a directory's contents out of __opendir_common() into a new _filldir() function and call this from rewinddir() when operating on a unionfs directory. - If rewinddir() is called on a directory opened with fdopendir() before any directory entries are fetched, rewinddir() will not adjust the seek location of the backing file descriptor. If the file descriptor passed to fdopendir() had a non-zero offset, the rewinddir() will not rewind to the beginning. Fix this by always seeking back to 0 in rewinddir(). This means the dd_rewind hack can also be removed. - Add missing locking to rewinddir() - POSIX says that passing a location returned by telldir() to seekdir() after an intervening call to rewinddir() is undefined, so reclaim any pending telldir() cookies in the directory when rewinddir() is called. - If telldir() is called immediately after a call to seekdir(), POSIX requires the return value of telldir() to equal the value passed to seekdir(). The current seekdir code with SINGLEUSE enabled breaks this case as each call to telldir() allocates a new cookie. Instead, remove the SINGLEUSE code and change telldir() to look for an existing cookie for the directory's current location rather than always creating a new cookie. PR: 121656
* MFC r267441:tijl2014-06-201-2/+7
| | | | | | | | Don't install GSS-API headers when the GSSAPI option has been disabled. Some ports assume GSS-API is supported when they find the headers. PR: 189156 Submitted by: Garrett Cooper <yanegomi@gmail.com>
* MFC r266865;pfg2014-06-144-3/+53
| | | | | | | | | | | | | | | | Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. POSIX.1-2008 specifies that those two functions should be declared by including <strings.h>, not <string.h> (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Bump __FreeBSD_version for ports that may be using the non-standard reference. Obtained from: DragonFlyBSD Reviewed by: theraven
* MFC r260913,266895:nwhitehorn2014-06-081-0/+1
| | | | | | | | | | Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0. Comments and suggestions by: grehan, dteske, jilles
* MFC r263998:tijl2014-04-154-4/+4
| | | | | Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 -fms-extensions.
* Merge r257485: install netpfil/pf includes.glebius2014-03-191-0/+5
|
OpenPOWER on IntegriCloud