Displaying 1 50 of 266,426 commits (0.013s)

FreeBSD — stable/10/lib/libc/stdio gets.c

MFC        r268928:
Const-ify a character string.

Obtained from:        Apple Inc. (Libc 997.90.3)
Delta File
+1 -1 stable/10/lib/libc/stdio/gets.c
+1 -1 1 file

FreeBSD — stable/10/cddl/contrib/opensolaris/cmd/zfs zfs_main.c

MFC r260156: MFV r260152:

4208 Typo in zfs_main.c: "posxiuser"

FreeBSD — stable/10/cddl/contrib/opensolaris/cmd/zpool zpool_main.c

MFC r268470: MFV r268454:

Refresh zpool list for each interval in order to produce fresh
output.

Illumos issue: 4966 zpool list iterator does not update output

FreeBSD — stable/10/cddl/contrib/opensolaris/lib/libzfs/common libzfs_mount.c libzfs_dataset.c

MFC r268469: MFV r268453:

Diff reduction against Illumos.

FreeBSD — stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c dmu_tx.c, stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys dmu.h

MFC r268464: MFV r268452:

Explicitly mark file removal transactions as "presumed to result
in a net free of space" so they will not fail with ENOSPC.

Illumos issue:        4950 files sometimes can't be removed from a full
                filesystem

FreeBSD — head/lib/libc/stdio fputws.c putw.c

Avoid possible cast degradation.

For consistency with r268985 for fputs.c, assign iov_len
first, avoiding the cast to uio_resid (int in stdio)
from degrading the value.

We currently don't support lengths higher than INT_MAX so
this change is little more than cosmetic.

MFC after:        3 days

FreeBSD — stable/10/contrib/llvm/include/llvm DIBuilder.h, stable/10/contrib/llvm/lib/CodeGen/AsmPrinter DwarfCompileUnit.cpp DwarfDebug.cpp

MFC debug info for variadic functions

r264826: Merge LLVM r202188:

    Debug info: Support variadic functions.
    Variadic functions have an unspecified parameter tag after the last
    argument. In IR this is represented as an unspecified parameter in the
    subroutine type.

    Paired commit with CFE r202185.

    rdar://problem/13690847

    This re-applies r202184 + a bugfix in DwarfDebug's argument handling.

  This merge includes a change to use the LLVM 3.4 API in
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:

  DwarfUnit -> CompileUnit

r264827: Merge Clang r202185:

    Debug info: Generate debug info for variadic functions.
    Paired commit with LLVM.


    [12 lines not shown]

FreeBSD — head/usr.sbin/bsdconfig/examples browse_packages_http.sh browse_packages_ftp.sh, head/usr.sbin/bsdconfig/include messages.subr

Add example script `add_some_packages.sh', demonstrating how to install
a list of packages using the bsdconfig(8) API, providing dialog(8) based
user experience (versus plain console output were you to use pkg(8)
directly to install the same list of packages).

Remove example script `browse_packages_ftp.sh', made obsolete because
the digests.txz and packagesite.txz databases for pkg(8) are not
available via FTP (HTTP only to pkg.freebsd.org SRV hosts).

Update example script `browse_packages_http.sh', made to work with new
pkg(8) demonstrating how to generate a local package repository.

Fix a bug in `bsdconfig packages' where packages were listed twice. This
fix requires pkg(8) version 1.2.7_4 or higher.

NB: It is the introduction of pkg(8) 1.2.7_4 wherein I am also able to
drastically reduce the generation time of package dependencies prior to
the dialog display (by utilizing the new `-I' flag to pkg-rquery(8)).

While here, fix a positional argument nit for f_index_initialize() of
`packages/index.subr' include (the one and only argument is positional
argument 1 to state the by-ref handle, indicating the variable to set
in the caller's namespace; the nit I'm fixing here is that we were
querying positional argument 2 for this information incorrectly; caused
by a missing hunk back around SVN r257795).

    [44 lines not shown]

FreeBSD — head ObsoleteFiles.inc

/usr/bin/sendbug and the sendbug(1) man page were part of send-pr and
are no longer installed since r267486.  Add them to ObsoleteFiles.inc1,
which should have been done in r267486.

PR:                192010
Submitted by:        Vick Khera
Pointyhat to:        gavin
MFC after:        3 days
Delta File
+2 -0 head/ObsoleteFiles.inc
+2 -0 1 file

FreeBSD — head/lib/libc/stdio ftell.c

For "a"-mode files and rewind/fseek + fwrite combination return meaningful
value now, like Apple does, but avoid their __sflush physical write
performance degradation as much as possible.
Delta File
+18 -0 head/lib/libc/stdio/ftell.c
+18 -0 1 file

FreeBSD — head/share/man/man9 PCBGROUP.9

Re-sort synopsis, add includes.
Delta File
+7 -3 head/share/man/man9/PCBGROUP.9
+7 -3 1 file

FreeBSD — head ObsoleteFiles.inc, head/share/man/man9 PCBGROUPS.9 PCBGROUP.9

s/PCBGROUPS/PCBGROUP/ manpage to match "options PCBGROUP".

FreeBSD — head/contrib/gcc/config/arm unwind-arm.h

Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2
relocations in unwind data as pc-relative indirect references.

MFC after:        1 week

FreeBSD — head/contrib/libstdc++/libsupc++ unwind-cxx.h

Fix EABI unwind function declarations to match the function definitions.
The mismatch was noticed by clang, when using it to compile the in-tree
gcc and libstdc++.

FreeBSD — head/lib/libc/stdio ftell.c

Back the whole change out until I figure out how to obtain O_APPEND,
it can't be used in this field at all.
Delta File
+0 -6 head/lib/libc/stdio/ftell.c
+0 -6 1 file

FreeBSD — head/lib/libc/stdio ftell.c

Checking for __SAPP alone is not enough because it is emulated O_APPEND
only, so works for only special fdopen() case. Add real O_APPEND too.
Delta File
+2 -1 head/lib/libc/stdio/ftell.c
+2 -1 1 file

FreeBSD — head/sys/netinet sctp_uio.h

Cleanup the definition of two structures which are
exposed to userland. Therefore no MFC.
Delta File
+1 -2 head/sys/netinet/sctp_uio.h
+1 -2 1 file

FreeBSD — head/sys/dev/cxgbe t4_sge.c

Add missing newline to an error message.

MFC after:        3 days
Delta File
+1 -1 head/sys/dev/cxgbe/t4_sge.c
+1 -1 1 file

FreeBSD — head/share/man/man4 ddb.4

Grammar and spelling fixes.
Delta File
+2 -2 head/share/man/man4/ddb.4
+2 -2 1 file

FreeBSD — head/lib/libc/stdio ftell.c

Revert        r268984:
Check for __SAPP flag before calling sflush.   This avoids
performance degradation compared to the previous approach.

Submitted by:        ache
MFC after:        2 weeks
Delta File
+5 -2 head/lib/libc/stdio/ftell.c
+5 -2 1 file

FreeBSD — head/sys/geom/uzip g_uzip.c

In r264504, we prevented doing I/O for more than MAXPHYS by making
the assumption that consumers would respect bio_completed and/or
bio_resid to detect short reads. This assumption proved false and
file corruption was the result.
Create as many bios as we need to satisfy the original request.
Check the cached chunk every time we need to do I/O to increase the
hit rate.

Obtained from:        junipre Networks, Inc.
MFC after:        1 week
Delta File
+177 -158 head/sys/geom/uzip/g_uzip.c
+177 -158 1 file

FreeBSD — head/lib/libc/stdio puts.c fputs.c

Mostly cosmetic cleanups.

In fputs() avoid implcit casting on iov.iov_len.

MFC after:        3 days

FreeBSD — head/lib/libc/stdio ftell.c

ftello: return 1 when seeking offset on an append stream.

Obtained from:        Apple Inc. (Libc 997.90.3)
Phabric:        D442
MFC after:        2 weeks
Delta File
+2 -0 head/lib/libc/stdio/ftell.c
+2 -0 1 file

FreeBSD — head/lib/libc/stdio rewind.c

rewind: always clear error indicator.

Required by POSIX:
http://pubs.opengroup.org/onlinepubs/009695399/functions/rewind.html

Obtained from:        Apple Inc. (Libc 997.90.3)
MFC after:        1 week
Delta File
+2 -3 head/lib/libc/stdio/rewind.c
+2 -3 1 file

FreeBSD — head/sys/amd64/amd64 machdep.c

Don't pass null kmdp to preload_search_info

On Xen PVH guests kmdp == NULL.

Submitted by:        royger
MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 head/sys/amd64/amd64/machdep.c
+2 -2 1 file

FreeBSD — head/sys/dev/drm2 drm_fb_helper.c

Remove #ifdef-s to reduce difference to upstream.

Pointed by:        kib

MFC after:        1 week
Sponsored by:        The FreeBSD Foundation
Delta File
+0 -31 head/sys/dev/drm2/drm_fb_helper.c
+0 -31 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zio.h

Correct typo introduced with r268855.

MFC after:        10 days
X-MFC with:        r268855

FreeBSD — head/libexec/save-entropy save-entropy.sh

Don't save entropy inside jails.

As of r126744, we no longer feed the entropy device in jails upon
start, and collecting them is no longer useful.

PR:                conf/126744
Submitted by:        Eugene Grosbein <eugen grosbein net> (with minor changes)
MFC after:        1 week
Approved by:        so (des)

FreeBSD — head/sys/boot/userboot/test test.c

copyin/copyout should return 0 if they are truly emulating copyin/copyout behavior.

remove stray %s in printf

rewrite printf to display 64bit type without warning.

FreeBSD — head/sys/arm/conf IMX6, head/sys/arm/freescale/imx imx_i2c.c files.imx6

Enable Freescale i.MX I2C driver for i.MX6.

FreeBSD — stable/10/lib/libvmmapi vmmapi.c vmmapi.h, stable/10/sys/amd64/include vmm.h vmm_instruction_emul.h

MFC 266424,266476,266524,266573,266595,266626,266627,266633,266641,266642,
266708,266724,266934,266935,268521:
Emulation of the "ins" and "outs" instructions.

Various fixes for translating guest linear addresses to guest physical
addresses.

FreeBSD — head/sys/boot/amd64/boot1.efi Makefile

Remove boot1.efi during clean target.

FreeBSD — head/sys/boot/efi/libefi Makefile, head/sys/boot/i386/libi386 Makefile

Supress clang warning for FreeBSD printf %b and %D formats

MFC after:        2 weeks

FreeBSD — head/sys/arm/freescale/imx i2c.c imx_i2c.c, head/sys/arm/freescale/vybrid vf_i2c.c

Rename i.MX I2C driver file.

FreeBSD — stable/10/lib/libvmmapi vmmapi.c vmmapi.h, stable/10/sys/amd64/include vmm_dev.h vmm.h

MFC 266125:
Implement a PCI interrupt router to route PCI legacy INTx interrupts to
the legacy 8259A PICs.

FreeBSD — head/sys/dev/cxgbe t4_sge.c adapter.h

Simplify r267600, there's no need to distinguish between allocated and
inlined mbufs.

MFC after:        1 week

FreeBSD — head/share/mk bsd.lib.mk bsd.obj.mk

bsd.lib.mk does not add OBJS etc to CLEANFILES so does not automatically
get them flagged as .NOPATH.  This hurts people who don't use obj dirs.
Since its clean target seprate rm's for things, use NOPATH_FILES as list
to collect things that need .NOPATH.

bsd.obj.mk will add CLEANFILES to NOPATH_FILES and do the deed if needed.

Reviewed by: sbruno

FreeBSD — stable/10/share/man/man4 ddb.4

MFC r268715,r268722:

    Document the 'show bio' command added in 2009.
    Also link 'show bio' to g_bio(9.)
Delta File
+19 -10 stable/10/share/man/man4/ddb.4
+19 -10 1 file

FreeBSD — stable/10/sbin/fsck_msdosfs fat.c dir.c

MFC        r268632:
fsck_msdosfs: Assorted fixes from other BSDs.

When truncating cluster chains fix the length of the cluster head.
http://marc.info/?t=140304310700005&r=1&w=2

Avoid infinite loops in cluster chain linked lists.
http://marc.info/?l=openbsd-tech&m=140275150804337&w=2

Avoid off-by-one on FAT12 filesystems.
http://marc.info/?l=openbsd-tech&m=140234174104724&w=2

Obtained from:        NetBSD (from OpenBSD)

FreeBSD — stable/9/usr.bin/grep queue.c grep.c

MFC        r268798, r268799, r268801:
grep: Fix type.
grep: fix some memory leaks.

queue.c (CVS Rev. 1.4. 1.5)
Fix memory leaks.
NULL does not need a cast.

grep.c (CVS Rev. 1.6)
Use the more portable getline.

Obtained from:        NetBSD

FreeBSD — stable/10/usr.bin/grep queue.c grep.c

MFC        r268798, r268799, r268801:
grep: Fix type.
grep: fix some memory leaks.

queue.c (CVS Rev. 1.4. 1.5)
Fix memory leaks.
NULL does not need a cast.

grep.c (CVS Rev. 1.6)
Use the more portable getline.

Obtained from:        NetBSD

FreeBSD — stable/9/lib/libc/stdlib twalk.c tsearch.c

MFC        r268644:
libc/stdlib: Minor cleanups to code originating in NetBSD

Mostly ANSIfication and typos.

Obtained from:        NetBSD

FreeBSD — stable/10/lib/libc/stdlib twalk.c tsearch.c

MFC        r268644:
libc/stdlib: Minor cleanups to code originating in NetBSD

Mostly ANSIfication and typos.

Obtained from:        NetBSD

FreeBSD — stable/9/lib/libc/gen arc4random.c readpassphrase.c

MFC        r268642:
libc/gen: small updates to code originating at OpenBSD

arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from:        OpenBSD

FreeBSD — stable/10/lib/libc/gen arc4random.c readpassphrase.c

MFC        r268642:
libc/gen: small updates to code originating at OpenBSD

arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from:        OpenBSD

FreeBSD — stable/10/sys/fs/nfsserver nfs_nfsdport.c, stable/10/sys/nfsserver nfs_serv.c

MFC r268114:

  Change NFS readdir() to only ignore cookies preceding the given offset for
  UFS rather than for all but ZFS.

FreeBSD — head/contrib/serf outgoing.c CHANGES, head/contrib/serf/auth auth.c

Merge serf-1.3.6
+  Revert r2319 from serf 1.3.5: this change was making serf call handle_response
+    multiple times in case of an error response, leading to unexpected behavior.

FreeBSD — vendor/serf serf-1.3.6

Tag serf-1.3.6
Delta File
+0 -0 vendor/serf/serf-1.3.6/
+0 -0 1 file

FreeBSD — vendor/serf/dist outgoing.c CHANGES, vendor/serf/dist/auth auth.c

Vendor import serf-1.3.6
+  Revert r2319 from serf 1.3.5: this change was making serf call handle_response
+    multiple times in case of an error response, leading to unexpected behavior.