- 11 Jan, 2017 20 commits
-
-
Sean Bruno authored
Reported by: tuxen
-
Jean-Sébastien Pédron authored
Approved by: antoine (mentor) Differential Revision: https://reviews.freebsd.org/D9143
-
Dimitry Andric authored
after it, which has a conflicting definition of errno. This leads to the following warning with clang 4.0.0: In file included from sys/boot/common/reloc_elf32.c:6: In file included from sys/boot/common/reloc_elf.c:37: /usr/obj/usr/src/tmp/usr/include/stand.h:155:12: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] extern int errno; ^ sys/sys/errno.h:46:26: note: expanded from macro 'errno' #define errno (* __error()) ^ MFC after: 3 days
-
Alan Somers authored
Submitted by: pluknet Reported by: pluknet MFC after: 27 days X-MFC-with: 311895 Sponsored by: Spectra Logic Corp
-
Enji Cooper authored
MFC after: 3 days
-
Enji Cooper authored
This also (inadvertently) contains an update to contrib/netbsd-tests/lib/libc/sys/t_wait.c (new testcases). MFC after: 2 weeks In collaboration with: christos@NetBSD.org
-
Enji Cooper authored
MFC after: 3 days
-
Enji Cooper authored
sys/modules/sdhci_acpi MFC after: 6 days X-MFC with: r311911 Reported by: Jenkins
-
Enji Cooper authored
issues resolved in FreeBSD or support added to testcases In collaboration with: <christos@NetBSD.org>
-
Enji Cooper authored
There's no sense in trying to close a file descriptor from the negative cases with unlink_test; it's best to ignore these cases. The mkfifo case does make sense to keep though. MFC after: 3 days
-
Hiroki Sato authored
-
Enji Cooper authored
Check for creat returning a value != -1, not a non-zero value MFC after: 3 days Pointyhat to: ngie Reported by: Coverity CID: 1368366
-
Xin LI authored
Fix multiple OpenSSH vulnerabilities. Submitted by: des Approved by: so
-
Xin LI authored
add a whitelist of paths from which ssh-agent will load (via ssh-pkcs11-helper) a PKCS#11 module; ok markus@ disable Unix-domain socket forwarding when privsep is disabled (Note that this is a backport of upstream fixes, and this commit is mainly to ease future imports). Obtained from: OpenBSD
-
Justin Hibbits authored
This reportedly fixes one problem with booting a clang kernel. PR: kern/215819 Submitted by: Mark Millard <markmi AT dsl-only.net> MFC after: 2 weeks
-
Oleksandr Tymoshenko authored
- Create ACPI version of SDHCI attach/detach/accessors logic. Some platforms (e.g. BayTrail-based Minnowboard) expose SDHCI devices via ACPI, not PCI - Add sdchi_acpi kernel module Reviewed by: ian, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D9112
-
Mark Johnston authored
MFC after: 1 week
-
Mark Johnston authored
MFC after: 1 week
-
Ian Lepore authored
find a server address in ntp.conf. Submitted by: Ronald Klop <ronald@klop.ws> Pointy hat to: ian
-
Conrad Meyer authored
As jkim@ points out, it isn't needed.
-
- 10 Jan, 2017 20 commits
-
-
Martin Matuska authored
MFC after: 1 week X-MFC with: r311899
-
Martin Matuska authored
Sync libarchive with vendor. Vendor bugfixes: #691: Support for SCHILY.xattr extended attributes #854: Spelling fixes Multiple fixes in ACL code: - prefer acl_set_fd_np() to acl_set_fd() - if acl_set_fd_np() fails, do no fallback to acl_set_file() - do not warn if trying to write ACLs to a filesystem without ACL support - fix id handling in archive_acl_(from_to)_text*() for NFSv4 ACLs MFC after: 1 week X-MFC with: r310866
-
Mark Johnston authored
We would previously invalidate such entries individually, resulting in more IPIs than necessary. Reviewed by: alc, kib MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D9094
-
Mark Johnston authored
biowait() will otherwise race with completions of such BIOs. In-tree code only calls biowait() on BIOs that do not specify a handler, so this change should not have any functional impact. Reviewed by: mav MFC after: 1 month Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9070
-
Sean Bruno authored
Unbreak gcc sparc64 builds (or any gcc build that uses em(4)). Reported by: lidl@freebsd.org
-
Martin Matuska authored
Vendor changes: #691: Support for SCHILY.xattr extended attributes #854: Spelling fixes Multiple fixes in ACL code: - prefer acl_set_fd_np() to acl_set_fd() - if acl_set_fd_np() fails, do no fallback to acl_set_file() - do not warn if trying to write ACLs to a filesystem without ACL support - fix id handling in archive_acl_(from_to)_text*() for NFSv4 ACLs
-
Mateusz Guzik authored
Tested on hardware provided by feld. Reviewed by: marius
-
Alexander Motin authored
If our buffer is too small, we may receive part of the page, and should not try read/write past the end of the buffer. Reported by: Coverity CID: 1368374, 1368375 MFC after: 1 week
-
Pedro F. Giffuni authored
This was meant to be used by a future FORTIFY_SOURCE implementation. Probably for good, FORTIFY_SOURCE and this particular GCCism were never well supported by clang or other compilers. Furthermore, the technology has long since been replaced by either static checkers, sanitizers, or even just the strong stack protector that was enabled by default. Drop __gnu_inline to avoid cluttering the headers. MFC after: 5 days
-
Alan Somers authored
* Rewrite r_buf to use standard tail queues instead of a hand-rolled circular linked list. Free dynamic allocations when done. * Remove an optimization for the case where the file is a multiple of 128KB in size and there is a scarcity of memory. * Add ATF tests for "tail -r" and its variants. Reported by: Valgrind Reviewed by: ngie MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D9067
-
Alan Somers authored
MFC after: 16 days X-MFC-With: 310803 Sponsored by: Spectra Logic Corp
-
Alan Somers authored
This ensures their cleanup routines will be run even if they should timeout. tests/sys/geom/class/gate/ggate_test.sh tests/sys/geom/class/gate/Makefile Add an ATF test with three testcases, one for each TAP test. Use ATF-style cleanup functions, and convert sleeps to polling loops. ObsoleteFiles.inc tests/sys/geom/class/gate/conf.sh tests/sys/geom/class/gate/1_test.sh tests/sys/geom/class/gate/2_test.sh tests/sys/geom/class/gate/3_test.sh Delete TAP test files Reviewed by: ngie MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8891
-
Alexander Motin authored
This wait loop made system hang on panic instead of reboot. MFC after: 1 week
-
Oleksandr Tymoshenko authored
clang 3.9.0 without -fPIC generates absolute jump table for switch/case statement which trips boot1.efi and loader.efi on ARM platform. Reviewed by: andrew MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9108
-
Oleksandr Tymoshenko authored
Fix section pattern code to exclude .rel.data.* sections from being merged into .data. Otherwise relocations in those sections are lost in final binary Reviewed by: andrew MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9108
-
Oleksandr Tymoshenko authored
__bss_end should not be included in .bss zeroing code. Otherwise first 4 bytes of the section that follows .bss (in loader's case it's .sdata) are overwritten by zero. Reviewed by: andrew MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9108
-
Sergey Kandaurov authored
Reported by: many
-
Konstantin Belousov authored
Obtaining compat rtld lock in write mode sets process signal mask to block all signals. Previous mask is stored in the global variable oldsigmask. If a lock is write-locked while another lock is already write-locked, oldsigmask is overwritten by the total mask and on the last unlock, all signals except traps appear to be blocked. Fix this by counting the write-lock nested level, and only storing to oldsigmask/restoring from it at the outermost level. Masking signals disables involuntary preemption for libc_r, and there could be no voluntary context switches in the locked code (dl_iterate_phdr(3) keeps a lock around user callback, but it was added long after libc_r was renounced). Due to this, remembering the level in the global variable after the lock is obtained should be safe, because no two libc_r threads can acquire different write locks in parallel. PR: 215826 Reported by: kami Tested by: yamagi@yamagi.org (previous version) To be reviewed by: kan Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
-
Li-Wen Hsu authored
In-tree objdump is too old to dump new ELF headers. But for example if we use: `make CROSS_TOOLCHAIN=riscv64-gcc TARGET_ARCH=riscv64` and do not specify CROSS_BINUTILS_PREFIX in env, embed_mfs.sh cannot find the correct objdump. This patch just replaces using of objdump with elfdump to collect needed information. Later we may also put an ELFDUMP in CROSSENV and use it in embed_mfs.sh . Reviewed by: emaste, br MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9062
-
Navdeep Parhar authored
a linuxkpi style device is expected. If OFED/linuxkpi actually starts using this field then we'll have to figure out whether to create fake devices for these drivers or have linuxkpi deal with NULL device. This mismatch was first reported as part of D6585.
-