Author: brooks
Date: Thu Aug 16 15:54:12 2018
New Revision: 337912
URL: https://svnweb.freebsd.org/changeset/base/337912
Log:
MFC r337727 (rewritten due to unmerged API change in 11+):
Copy out from kernel to data, not the other way around.
Sponsored by: DARPA, AFRL
Modified:
stable
Author: brooks
Date: Tue Aug 14 16:25:09 2018
New Revision: 337768
URL: https://svnweb.freebsd.org/changeset/base/337768
Log:
MFC r337508:
Terminate filter_create_ext() args with NULL, not 0.
filter_create_ext() is documented to take a NULL terminated set of
arguments. 0 is promoted
Author: brooks
Date: Thu Jun 28 21:23:05 2018
New Revision: 335781
URL: https://svnweb.freebsd.org/changeset/base/335781
Log:
MFC r335641:
Fix a stack overflow in mount_smbfs when hostname is too long.
The local hostname was blindly copied into the to the nn_name array.
When the host
Author: brooks
Date: Thu May 31 16:10:44 2018
New Revision: 334440
URL: https://svnweb.freebsd.org/changeset/base/334440
Log:
MFC r292268, r334176
r292268:
Remove sys/types.h due to STANDARDS and unistd.h also includes
sys/types.h.
r334176:
Indicate the brk/sbrk are deprecated an
Author: brooks
Date: Mon Apr 9 16:32:49 2018
New Revision: 332332
URL: https://svnweb.freebsd.org/changeset/base/332332
Log:
MFC r332151:
ifconf(): correct handling of sockaddrs smaller than struct sockaddr.
Portable programs that use SIOCGIFCONF (e.g. traceroute) assume
that each p
Author: brooks
Date: Sun Apr 8 17:23:33 2018
New Revision: 332295
URL: https://svnweb.freebsd.org/changeset/base/332295
Log:
MFC r332087:
ifconf(): Always zero the whole struct ifreq.
The previous split of zeroing ifr_name and ifr_addr seperately is safe
on current architectures, bu
Author: brooks
Date: Sun Apr 8 17:03:39 2018
New Revision: 332291
URL: https://svnweb.freebsd.org/changeset/base/332291
Log:
MFC r331737:
GC never enabled support for SIOCGADDRROM and SIOCGCHIPID.
When de(4) was imported in 1997 the world was not ready for these ioctls.
In over 20 y
Author: brooks
Date: Sun Apr 8 15:35:57 2018
New Revision: 332280
URL: https://svnweb.freebsd.org/changeset/base/332280
Log:
MFC r331654, r331869
r331654:
Don't access userspace directly from the kernel in nxge(4).
Update to what the previous code seemed to be doing via the correct
Author: brooks
Date: Sat Apr 7 00:04:28 2018
New Revision: 332160
URL: https://svnweb.freebsd.org/changeset/base/332160
Log:
MFC r331648:
Improve copy-and-pasted versions of SIOCGIFADDR.
The original implementation used a reference to ifr_data and a cast to
do the equivalent of acce
Author: brooks
Date: Tue Mar 27 17:52:52 2018
New Revision: 331637
URL: https://svnweb.freebsd.org/changeset/base/331637
Log:
MFC r330949:
Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat.
This includes FSACTL_LNX_GET_NEXT_ADAPTER_FIB.
Reviewed by: cem
Obtained from:
Author: brooks
Date: Tue Mar 27 17:48:39 2018
New Revision: 331635
URL: https://svnweb.freebsd.org/changeset/base/331635
Log:
MFC r330876, r330945
r330876:
Fix ISP_FC_LIP and ISP_RESCAN on big-endian 64-bit systems.
For _IO() ioctls, addr is a pointer to uap->data which is a caddr_t.
Author: brooks
Date: Tue Mar 27 17:43:03 2018
New Revision: 331633
URL: https://svnweb.freebsd.org/changeset/base/331633
Log:
MFC r330820:
Reject ioctls to SCSI enclosures from 32-bit compat processes.
The ioctl objects contain pointers and require translation and some
refactoring of
Author: brooks
Date: Tue Mar 27 17:42:04 2018
New Revision: 331632
URL: https://svnweb.freebsd.org/changeset/base/331632
Log:
MFC r330819, r330885, r330934
r330819:
Reject CAMIOGET and CAMIOQUEUE ioctl's on pass(4) in 32-bit compat mode.
These take a union ccb argument which is full
Author: brooks
Date: Mon Mar 12 16:04:10 2018
New Revision: 330801
URL: https://svnweb.freebsd.org/changeset/base/330801
Log:
MFC r330409:
Refer to SysV IPC permissions as numeric constants.
POSIX defines no macros for these permissions.
Also remove unneeded headers from synopsis.
Author: brooks
Date: Fri Mar 9 01:21:22 2018
New Revision: 330678
URL: https://svnweb.freebsd.org/changeset/base/330678
Log:
MFC r330527:
Use umtx_copyin_umtx_time32() in __umtx_op_lock_umutex_compat32().
Non-NULL timeouts where copied in improperly and could produce failures
due to
Author: brooks
Date: Wed Feb 21 18:32:57 2018
New Revision: 329741
URL: https://svnweb.freebsd.org/changeset/base/329741
Log:
MFC r329525:
Correct/improve the descriptions if kern.ipc.(shmsegs,sema,msqids).
The description of kern.ipc.shmsegs was wrong since 2005. I updated the
othe
Author: brooks
Date: Fri Jan 26 00:35:33 2018
New Revision: 328422
URL: https://svnweb.freebsd.org/changeset/base/328422
Log:
MFC r328297:
Don't escape '?'s in protocol output.
This isn't required by mandoc and is nonfunctional in groff.
PR: 224632
Reported by: w.schw
Author: brooks
Date: Tue Nov 28 17:20:53 2017
New Revision: 326324
URL: https://svnweb.freebsd.org/changeset/base/326324
Log:
MFC r301679 (partial), r309626, r326307
r301679:
Update to a June 8th snapshot of (un)vis form NetBSD.
This adds stravis() and some new encoding flags VIS_SHE
Author: brooks
Date: Sun Oct 15 22:45:25 2017
New Revision: 324643
URL: https://svnweb.freebsd.org/changeset/base/324643
Log:
MFC r321256:
Include ARCH_FLAGS in CFLAGS when building modules.
Without this change, modules will match the default compiler
configuration which may not be t
Author: brooks
Date: Sun Oct 15 22:39:31 2017
New Revision: 324641
URL: https://svnweb.freebsd.org/changeset/base/324641
Log:
MFC r320999:
Add 32-bit compat for kinfo_proc's ki_tdaddr.
This appears to have been an oversight in r213536.
Reviewed by: markj
Sponsored by: DARPA, AF
Author: brooks
Date: Sat Oct 14 16:49:39 2017
New Revision: 324617
URL: https://svnweb.freebsd.org/changeset/base/324617
Log:
MFC r324243:
Remove an unneeded and incorrect memset().
On Variant I TLS architectures (aarch64, arm, mips, powerpc, and riscv)
the __libc_allocate_tls functi
Author: brooks
Date: Mon May 15 23:13:49 2017
New Revision: 318327
URL: https://svnweb.freebsd.org/changeset/base/318327
Log:
MFC r317660, r317710
r317660:
Support clnt_raw's use of FD_SETSIZE as a fake file descriptor.
Accomplish this by allocating space for it in __svc_xports and a
Author: brooks
Date: Mon May 15 22:50:54 2017
New Revision: 318323
URL: https://svnweb.freebsd.org/changeset/base/318323
Log:
MFC r317845-r317846
r317845:
Provide a freebsd32 implementation of sigqueue()
The previous misuse of sys_sigqueue() was sending random register or
stack gar
Author: brooks
Date: Tue May 9 16:29:06 2017
New Revision: 318030
URL: https://svnweb.freebsd.org/changeset/base/318030
Log:
MFC r317707:
Correct an out-of-bounds read in regcomp when the RE is bad.
When passed the invalid regular expression "a**", the error is
eventually detected a
Author: brooks
Date: Fri May 5 17:28:49 2017
New Revision: 317841
URL: https://svnweb.freebsd.org/changeset/base/317841
Log:
MFC r317388:
Use the approved syntax to build no man pages.
Sponsored by: DARPA, AFRL
Modified:
stable/10/usr.sbin/ntp/sntp/Makefile
Directory Properties:
Author: brooks
Date: Fri May 5 16:24:35 2017
New Revision: 317834
URL: https://svnweb.freebsd.org/changeset/base/317834
Log:
MFC r317566:
Don't pass size_t arguments to setsockopt(SO_SNDBUF/SO_RCVBUF).
These commands take an int. The tests work by accident on little-endian,
64-bit s
Author: brooks
Date: Mon Apr 24 22:44:59 2017
New Revision: 317392
URL: https://svnweb.freebsd.org/changeset/base/317392
Log:
MFC r316768:
Fix an out-of-bounds write when a zero-length buffer is passed.
Found with ttyname_test and CHERI bounds checking.
Reviewed by: emaste
Obta
Author: brooks
Date: Mon Apr 24 21:41:04 2017
New Revision: 317387
URL: https://svnweb.freebsd.org/changeset/base/317387
Log:
MFC r316766:
Correct an out of bounds read with HN_AUTOSCALE and very large numbers.
The maximum scale is 6 (K, M, G, T, P, E) (B is 0).
Overly large expli
Author: brooks
Date: Fri Apr 14 00:15:34 2017
New Revision: 316800
URL: https://svnweb.freebsd.org/changeset/base/316800
Log:
MFC r316593:
Point out that -F probably does not do what the user expects.
Users attempting to create images from mtree METALOG files created by
installworld
Author: brooks
Date: Wed Apr 5 21:08:26 2017
New Revision: 316543
URL: https://svnweb.freebsd.org/changeset/base/316543
Log:
MFC r316497:
Correct a kernel stack leak in 32-bit compat when vfc_name is short.
Don't zero unused pointer members again.
Per discussion with secteam we a
Author: brooks
Date: Wed Dec 21 23:59:58 2016
New Revision: 310380
URL: https://svnweb.freebsd.org/changeset/base/310380
Log:
MFC r310088, r310090, r310095
r310088:
Put the undocumented df feature of mounting filesystems from device
nodes
under an ifdef. Leave enabled.
Reviewed
Author: brooks
Date: Wed Dec 21 23:16:58 2016
New Revision: 310378
URL: https://svnweb.freebsd.org/changeset/base/310378
Log:
MFC r310092:
Add a free_iovec() function to reset iovec's.
The primary purpose is to call nmount() in a loop with new iovec's so
free_iovec takes arguments by
Author: brooks
Date: Wed Nov 30 01:22:12 2016
New Revision: 309304
URL: https://svnweb.freebsd.org/changeset/base/309304
Log:
MFC r309027:
Allocate a struct ifreq rather than using a (wrong) computed size for
the BIOCSETIF ioctl.
The kernel always copies an entire struct ifreq and IP
Author: brooks
Date: Wed Apr 13 16:47:14 2016
New Revision: 297930
URL: https://svnweb.freebsd.org/changeset/base/297930
Log:
MFC r297476:
Add a cross reference to ktrace(2).
Obtained from:CheriBSD (9cb420d6b7f04c1b7d2006180b80932e5d3fe50e)
Sponsored by: DARPA, AFRL
Modified
Author: brooks
Date: Wed Apr 13 16:45:17 2016
New Revision: 297929
URL: https://svnweb.freebsd.org/changeset/base/297929
Log:
MFC r297475:
Document KTRFAC_FAULT and KTRFAC_FAULTEND.
Obtained from:CheriBSD (9d70f563f1b033e6a9b51eaf3b145a8cbbc6617c)
Sponsored by: DARPA, AFRL
M
Author: brooks
Date: Thu Jan 28 22:57:09 2016
New Revision: 295020
URL: https://svnweb.freebsd.org/changeset/base/295020
Log:
MFC r294515:
Fix the implementations of PSEUDO_NOERROR and PSEUDO.
The PSEUDO* macros should not declare , only _ and
__sys_. This was causing the interposin
Author: brooks
Date: Thu Jan 28 22:34:29 2016
New Revision: 295019
URL: https://svnweb.freebsd.org/changeset/base/295019
Log:
MFC r294463:
Shift saved floating point registers up in jmp_buf.
sigmask_t is 128-bits so requires two slots.
Obtained from:CheriBSD (93699cb9b6e73
Author: brooks
Date: Thu Jan 28 22:08:42 2016
New Revision: 295018
URL: https://svnweb.freebsd.org/changeset/base/295018
Log:
MFC r294452:
Add a simple manpage for the cfi(4) and associated cfid(4) drivers.
Sponsored by: DARPA, AFRL
Added:
stable/10/share/man/man4/cfi.4
- copie
Author: brooks
Date: Wed Jan 20 19:26:04 2016
New Revision: 294455
URL: https://svnweb.freebsd.org/changeset/base/294455
Log:
MFC r293856:
Avoid reading pass the end of the source buffer when it is not NUL
terminated.
If this buffer is adjacent to an unmapped page or a version of C w
Author: brooks
Date: Wed Jan 20 19:08:49 2016
New Revision: 294453
URL: https://svnweb.freebsd.org/changeset/base/294453
Log:
MFC r293855:
Avoid reading pass the end of the source buffer when it is not NUL
terminated.
If this buffer is adjacent to an unmapped page or a version of C w
Author: brooks
Date: Tue May 19 19:01:52 2015
New Revision: 283122
URL: https://svnweb.freebsd.org/changeset/base/283122
Log:
MFC r282436 (the portion that makes sense):
Remove "capability mode sandbox enabled" messages.
These messages serve little purpose and break some consumers.
Author: brooks
Date: Tue Apr 21 14:22:45 2015
New Revision: 281830
URL: https://svnweb.freebsd.org/changeset/base/281830
Log:
MFC r281605,281768:
r281605:
Fix a minor function definition inconsistancy.
r281768:
Bump doc date missed in r281605.
Modified:
stable/10/sha
Author: brooks
Date: Mon Feb 9 09:22:47 2015
New Revision: 278443
URL: https://svnweb.freebsd.org/changeset/base/278443
Log:
When upgrading, install the ELF runtime linkers before libraries.
This is required to prevent problems with nss modules that use libthr when
upgrading from release
43 matches
Mail list logo