Re: svn commit: r349296 - stable/10/usr.bin/calendar/calendars

2019-06-23 Thread Konstantin Belousov
On Sat, Jun 22, 2019 at 11:36:28PM +, Greg Lehey wrote: > Author: grog > Date: Sat Jun 22 23:36:28 2019 > New Revision: 349296 > URL: https://svnweb.freebsd.org/changeset/base/349296 > > Log: > Correct Konrad Zuse's year of birth. > > Modified: >

svn commit: r337245 - in stable/10/sys: amd64/amd64 i386/i386 i386/isa

2018-08-03 Thread Konstantin Belousov
Author: kib Date: Fri Aug 3 14:12:37 2018 New Revision: 337245 URL: https://svnweb.freebsd.org/changeset/base/337245 Log: MFC r336683: Extend ranges of the critical sections to ensure that context switch code never sees FPU pcb flags not consistent with the hardware state. Modified:

svn commit: r335455 - in stable/10/sys: amd64/amd64 i386/i386 i386/isa

2018-06-20 Thread Konstantin Belousov
Author: kib Date: Wed Jun 20 18:51:38 2018 New Revision: 335455 URL: https://svnweb.freebsd.org/changeset/base/335455 Log: MFC r335072, r335089, r335131, r335132: Enable eager FPU context switch on i386 and amd64. CVE: CVE-2018-3665 Tested by:emaste (smoke boot) Modified:

svn commit: r332069 - stable/10/sys/amd64/amd64

2018-04-05 Thread Konstantin Belousov
Author: kib Date: Thu Apr 5 13:39:53 2018 New Revision: 332069 URL: https://svnweb.freebsd.org/changeset/base/332069 Log: MFC r331374: Fixes for ptrace(PT_GETXSTATE_INFO) related to the padding in struct ptrace_xstate_info). Modified: stable/10/sys/amd64/amd64/ptrace_machdep.c Directory

svn commit: r329707 - stable/10/sys/vm

2018-02-21 Thread Konstantin Belousov
Author: kib Date: Wed Feb 21 11:31:29 2018 New Revision: 329707 URL: https://svnweb.freebsd.org/changeset/base/329707 Log: MFC r329254: Ensure memory consistency on COW. Modified: stable/10/sys/vm/vm_fault.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r327060 - stable/10/sys/fs/devfs

2017-12-21 Thread Konstantin Belousov
Author: kib Date: Thu Dec 21 13:32:49 2017 New Revision: 327060 URL: https://svnweb.freebsd.org/changeset/base/327060 Log: MFC r326851: In devfs_lookupx() dotdot lookup case, avoid dereferencing dvp->v_mount after dvp is unlocked. Modified: stable/10/sys/fs/devfs/devfs_vnops.c Directory

svn commit: r326846 - stable/10/sys/ufs/ufs

2017-12-14 Thread Konstantin Belousov
Author: kib Date: Thu Dec 14 11:45:02 2017 New Revision: 326846 URL: https://svnweb.freebsd.org/changeset/base/326846 Log: MFC r326657: Fix livelock in ufsdirhash_create(). Modified: stable/10/sys/ufs/ufs/ufs_dirhash.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r326523 - stable/10/sys/vm

2017-12-04 Thread Konstantin Belousov
Author: kib Date: Mon Dec 4 10:05:59 2017 New Revision: 326523 URL: https://svnweb.freebsd.org/changeset/base/326523 Log: MFC r326424: Add comment for vm_map_find_min(). Modified: stable/10/sys/vm/vm_map.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r326397 - in stable/10: lib/libc/sys sys/kern sys/sys

2017-11-30 Thread Konstantin Belousov
Author: kib Date: Thu Nov 30 14:38:07 2017 New Revision: 326397 URL: https://svnweb.freebsd.org/changeset/base/326397 Log: MFC r326122: Kill all descendants of the reaper, even if they are descendants of a subordinate reaper. Also, mark reapers when listing pids. PR: 223745

svn commit: r326189 - stable/10/sys/vm

2017-11-25 Thread Konstantin Belousov
Author: kib Date: Sat Nov 25 14:51:40 2017 New Revision: 326189 URL: https://svnweb.freebsd.org/changeset/base/326189 Log: MFC r326098: Return different error code for the guard page layout violation. PR: 223732 Modified: stable/10/sys/vm/vm_map.c Directory Properties: stable/10/

svn commit: r325757 - stable/10/sys/dev/hwpmc

2017-11-13 Thread Konstantin Belousov
Author: kib Date: Mon Nov 13 09:10:17 2017 New Revision: 325757 URL: https://svnweb.freebsd.org/changeset/base/325757 Log: MFC r325671: Check that the pmc index is less than the number of hardware PMCs, instead of asserting the condition. Modified: stable/10/sys/dev/hwpmc/hwpmc_mod.c

svn commit: r325643 - stable/10/sys/kern

2017-11-10 Thread Konstantin Belousov
Author: kib Date: Fri Nov 10 12:31:58 2017 New Revision: 325643 URL: https://svnweb.freebsd.org/changeset/base/325643 Log: MFC r325567: Zero whole struct ptrace_lwpinfo to not leak kernel stack data. Security: CVE-2017-1086 Modified: stable/10/sys/kern/sys_process.c Directory

svn commit: r325543 - in stable/10/sys: amd64/amd64 i386/i386 i386/isa

2017-11-08 Thread Konstantin Belousov
Author: kib Date: Wed Nov 8 11:39:42 2017 New Revision: 325543 URL: https://svnweb.freebsd.org/changeset/base/325543 Log: MFC r325270: Consistently ensure that we do not load MXCSR with reserved bits set. Modified: stable/10/sys/amd64/amd64/fpu.c stable/10/sys/amd64/amd64/machdep.c

svn commit: r325099 - in stable/10/sys: kern sys

2017-10-29 Thread Konstantin Belousov
Author: kib Date: Sun Oct 29 09:48:28 2017 New Revision: 325099 URL: https://svnweb.freebsd.org/changeset/base/325099 Log: MFC r324853: Remove the support for mknod(S_IFMT), which created dummy vnodes with VBAD type. Modified: stable/10/sys/kern/vfs_syscalls.c stable/10/sys/sys/priv.h

svn commit: r322755 - stable/10/sys/i386/i386

2017-08-21 Thread Konstantin Belousov
Author: kib Date: Mon Aug 21 15:44:57 2017 New Revision: 322755 URL: https://svnweb.freebsd.org/changeset/base/322755 Log: MFC r322667,r322706: Improve i386 #UD low-level kdtrace hook. Approved by: re (marius) Modified: stable/10/sys/i386/i386/exception.s Directory Properties:

svn commit: r322617 - stable/10/usr.sbin/cpucontrol

2017-08-17 Thread Konstantin Belousov
Author: kib Date: Thu Aug 17 11:36:39 2017 New Revision: 322617 URL: https://svnweb.freebsd.org/changeset/base/322617 Log: MFC r322493: Remove confusion in the line explaining syntax of the msr read. Specify words order in the display. Approved by: re (marius) Modified:

svn commit: r322399 - stable/10/usr.sbin/pmcstat

2017-08-11 Thread Konstantin Belousov
Author: kib Date: Fri Aug 11 11:38:04 2017 New Revision: 322399 URL: https://svnweb.freebsd.org/changeset/base/322399 Log: MFC r322059: Fix off by one in calculation of the number of buckets for the pc addresses. Approved by: re (marius) Modified:

svn commit: r322303 - in stable/10/sys: amd64/amd64 i386/i386

2017-08-09 Thread Konstantin Belousov
Author: kib Date: Wed Aug 9 09:16:16 2017 New Revision: 322303 URL: https://svnweb.freebsd.org/changeset/base/322303 Log: MFC r321919: Do not call trapsignal() after handling usermode fault or interrupt, when a signal is not intended to be sent. Modified:

svn commit: r322048 - stable/10/sys/ufs/ffs

2017-08-04 Thread Konstantin Belousov
Author: kib Date: Fri Aug 4 08:27:34 2017 New Revision: 322048 URL: https://svnweb.freebsd.org/changeset/base/322048 Log: MFC r321349: Improve publication of the newly allocated snapdata. Modified: stable/10/sys/ufs/ffs/ffs_snapshot.c Directory Properties: stable/10/ (props changed)

svn commit: r322047 - stable/10/sys/ufs/ffs

2017-08-04 Thread Konstantin Belousov
Author: kib Date: Fri Aug 4 08:26:19 2017 New Revision: 322047 URL: https://svnweb.freebsd.org/changeset/base/322047 Log: MFC r321348: Unlock correct lock in ffs_snapblkfree(). Modified: stable/10/sys/ufs/ffs/ffs_snapshot.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r322046 - stable/10/sys/ufs/ffs

2017-08-04 Thread Konstantin Belousov
Author: kib Date: Fri Aug 4 08:25:03 2017 New Revision: 322046 URL: https://svnweb.freebsd.org/changeset/base/322046 Log: MFC r321347: Account for lock recursion when transfering snaplock to the vnode lock in ffs_snapremove(). Modified: stable/10/sys/ufs/ffs/ffs_snapshot.c Directory

svn commit: r321718 - stable/10/sys/vm

2017-07-30 Thread Konstantin Belousov
Author: kib Date: Sun Jul 30 10:49:13 2017 New Revision: 321718 URL: https://svnweb.freebsd.org/changeset/base/321718 Log: Restore layout of struct vm_map_entry after r321717, same as was done in r320889 for stable/11. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r321717 - in stable/10: lib/libc/sys sys/sys sys/vm

2017-07-30 Thread Konstantin Belousov
Author: kib Date: Sun Jul 30 10:36:20 2017 New Revision: 321717 URL: https://svnweb.freebsd.org/changeset/base/321717 Log: Merge MAP_GUARD. MFC r316687 (by markj), r320314, r320317, r320338, r320339, r320344, r320430, r320560 (by alc), r320801, r320843, r321173, r321230. Tested by:

svn commit: r321677 - stable/10/sys/vm

2017-07-29 Thread Konstantin Belousov
Author: kib Date: Sat Jul 29 08:24:51 2017 New Revision: 321677 URL: https://svnweb.freebsd.org/changeset/base/321677 Log: MFC r321371: Do not allocate struct kinfo_vmobject on stack. Modified: stable/10/sys/vm/vm_object.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r321074 - in stable/10/lib/libc: include stdio

2017-07-17 Thread Konstantin Belousov
Author: kib Date: Mon Jul 17 14:09:34 2017 New Revision: 321074 URL: https://svnweb.freebsd.org/changeset/base/321074 Log: MFC r320472,r320508,r320509: Make stdio deferred cancel-safe. Requested by: eugen Modified: stable/10/lib/libc/include/libc_private.h

svn commit: r321005 - stable/10/sys/i386/i386

2017-07-15 Thread Konstantin Belousov
Author: kib Date: Sat Jul 15 06:38:01 2017 New Revision: 321005 URL: https://svnweb.freebsd.org/changeset/base/321005 Log: MFC r320804: Fix handling of one more possible exception on return to usermode. Modified: stable/10/sys/i386/i386/trap.c Directory Properties: stable/10/ (props

svn commit: r320940 - stable/10/sys/sys

2017-07-13 Thread Konstantin Belousov
Author: kib Date: Thu Jul 13 08:33:02 2017 New Revision: 320940 URL: https://svnweb.freebsd.org/changeset/base/320940 Log: MFC r320755,r320762,r320893: BIT_FLS(9). Modified: stable/10/sys/sys/bitset.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r320888 - stable/10/libexec/rtld-elf

2017-07-10 Thread Konstantin Belousov
Author: kib Date: Tue Jul 11 05:36:02 2017 New Revision: 320888 URL: https://svnweb.freebsd.org/changeset/base/320888 Log: MFC r320658: When reporting undefined symbol, note the version, if specified. Modified: stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props

svn commit: r320864 - stable/10/sys/kern

2017-07-10 Thread Konstantin Belousov
Author: kib Date: Mon Jul 10 06:08:44 2017 New Revision: 320864 URL: https://svnweb.freebsd.org/changeset/base/320864 Log: MFC r320619: Resolve confusion between different error code spaces. Modified: stable/10/sys/kern/kern_exec.c Directory Properties: stable/10/ (props changed)

svn commit: r320823 - stable/10/lib/libc/gen

2017-07-08 Thread Konstantin Belousov
Author: kib Date: Sun Jul 9 03:57:24 2017 New Revision: 320823 URL: https://svnweb.freebsd.org/changeset/base/320823 Log: MFC r320570: Correct signatures of several pthreads stubs. Modified: stable/10/lib/libc/gen/_pthread_stubs.c Directory Properties: stable/10/ (props changed)

svn commit: r320565 - stable/10/sys/vm

2017-07-01 Thread Konstantin Belousov
Author: kib Date: Sun Jul 2 03:50:22 2017 New Revision: 320565 URL: https://svnweb.freebsd.org/changeset/base/320565 Log: MFC r320332: Style. Modified: stable/10/sys/vm/vm_map.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/vm_map.c

svn commit: r320525 - stable/10/sys/amd64/ia32

2017-06-30 Thread Konstantin Belousov
Author: kib Date: Sat Jul 1 03:38:12 2017 New Revision: 320525 URL: https://svnweb.freebsd.org/changeset/base/320525 Log: MFC r320308: Translate between abridged and full x87 tags for compat32 ptrace(PT_GETFPREGS). Modified: stable/10/sys/amd64/ia32/ia32_reg.c Directory Properties:

svn commit: r320437 - stable/10/sys/vm

2017-06-27 Thread Konstantin Belousov
Author: kib Date: Wed Jun 28 05:21:00 2017 New Revision: 320437 URL: https://svnweb.freebsd.org/changeset/base/320437 Log: MFC r320202: Call pmap_copy() only for map entries which have the backing object instantiated. Modified: stable/10/sys/vm/vm_map.c Directory Properties: stable/10/

svn commit: r320435 - stable/10/sys/vm

2017-06-27 Thread Konstantin Belousov
Author: kib Date: Wed Jun 28 04:53:06 2017 New Revision: 320435 URL: https://svnweb.freebsd.org/changeset/base/320435 Log: MFC r320201: Assert that the protection of a new map entry is a subset of the max protection. Modified: stable/10/sys/vm/vm_map.c Directory Properties: stable/10/

svn commit: r320312 - stable/10/lib/libc/gen

2017-06-24 Thread Konstantin Belousov
Author: kib Date: Sat Jun 24 14:44:59 2017 New Revision: 320312 URL: https://svnweb.freebsd.org/changeset/base/320312 Log: MFC r320052: Do not leak syslog_mutex on cancellation. Modified: stable/10/lib/libc/gen/syslog.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r320147 - stable/10/sys/kern

2017-06-20 Thread Konstantin Belousov
Author: kib Date: Tue Jun 20 15:02:59 2017 New Revision: 320147 URL: https://svnweb.freebsd.org/changeset/base/320147 Log: MFC r319916: Remove stray return. Modified: stable/10/sys/kern/subr_prf.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/subr_prf.c

svn commit: r319653 - in stable/10: include sys/sys

2017-06-07 Thread Konstantin Belousov
Author: kib Date: Wed Jun 7 11:43:36 2017 New Revision: 319653 URL: https://svnweb.freebsd.org/changeset/base/319653 Log: MFC r318780: Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE. Modified: stable/10/include/termios.h stable/10/sys/sys/_termios.h Directory

svn commit: r319652 - stable/10/sys/sys

2017-06-07 Thread Konstantin Belousov
Author: kib Date: Wed Jun 7 11:42:43 2017 New Revision: 319652 URL: https://svnweb.freebsd.org/changeset/base/319652 Log: MFC r318781: Add BIT_OR2(), BIT_AND2(), BIT_NAND2(), BIT_XOR() and BIT_XOR2(). Modified: stable/10/sys/sys/bitset.h Directory Properties: stable/10/ (props

svn commit: r319419 - stable/10/lib/libc/tests/gen

2017-06-01 Thread Konstantin Belousov
Author: kib Date: Thu Jun 1 13:22:04 2017 New Revision: 319419 URL: https://svnweb.freebsd.org/changeset/base/319419 Log: MFC r318450: Add tests for some cases in r318298. PR: 219154 Added: stable/10/lib/libc/tests/gen/realpath2_test.c - copied unchanged from r318450,

svn commit: r319311 - stable/10/lib/libc/sys

2017-05-31 Thread Konstantin Belousov
Author: kib Date: Wed May 31 09:25:47 2017 New Revision: 319311 URL: https://svnweb.freebsd.org/changeset/base/319311 Log: MFC r319086: Mention that the basep argument to getdirentries(2) can be NULL. Modified: stable/10/lib/libc/sys/getdirentries.2 Directory Properties: stable/10/

svn commit: r319131 - stable/10/lib/libc/stdlib

2017-05-29 Thread Konstantin Belousov
Author: kib Date: Mon May 29 13:00:39 2017 New Revision: 319131 URL: https://svnweb.freebsd.org/changeset/base/319131 Log: MFC r318303: Style. Modified: stable/10/lib/libc/stdlib/realpath.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/stdlib/realpath.c

svn commit: r319130 - stable/10/lib/libc/stdlib

2017-05-29 Thread Konstantin Belousov
Author: kib Date: Mon May 29 12:59:24 2017 New Revision: 319130 URL: https://svnweb.freebsd.org/changeset/base/319130 Log: MFC r318299: Simplify cleanup on failure in realpath(3). Modified: stable/10/lib/libc/stdlib/realpath.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r319129 - stable/10/lib/libc/stdlib

2017-05-29 Thread Konstantin Belousov
Author: kib Date: Mon May 29 12:58:30 2017 New Revision: 319129 URL: https://svnweb.freebsd.org/changeset/base/319129 Log: MFC r318298: Fix several buffer overflows in realpath(3), and other minor issues. PR: 219154 Modified: stable/10/lib/libc/stdlib/realpath.c Directory

svn commit: r318529 - stable/10/sys/kern

2017-05-19 Thread Konstantin Belousov
Author: kib Date: Fri May 19 10:16:51 2017 New Revision: 318529 URL: https://svnweb.freebsd.org/changeset/base/318529 Log: MFC r318243: Do not wake up sleeping thread in reschedule_signals() if the signal is blocked. The spurious wakeup might result in spurious EINTR. PR: 219228

svn commit: r318267 - stable/10/sys/ufs/ffs

2017-05-14 Thread Konstantin Belousov
Author: kib Date: Sun May 14 12:00:00 2017 New Revision: 318267 URL: https://svnweb.freebsd.org/changeset/base/318267 Log: MFC r317908: Remove spl() calls from UFS code. Modified: stable/10/sys/ufs/ffs/ffs_rawread.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r317900 - stable/10/lib/libc/gen

2017-05-07 Thread Konstantin Belousov
Author: kib Date: Sun May 7 08:02:28 2017 New Revision: 317900 URL: https://svnweb.freebsd.org/changeset/base/317900 Log: MFC r317611: Make semaphore names list mutex non-recursive. Modified: stable/10/lib/libc/gen/sem_new.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r317899 - stable/10/lib/libc/gen

2017-05-07 Thread Konstantin Belousov
Author: kib Date: Sun May 7 08:01:29 2017 New Revision: 317899 URL: https://svnweb.freebsd.org/changeset/base/317899 Log: MFC r317610: Restructure normal (non-error) control flow in sem_close(). Modified: stable/10/lib/libc/gen/sem_new.c Directory Properties: stable/10/ (props

svn commit: r317898 - stable/10/lib/libc/gen

2017-05-07 Thread Konstantin Belousov
Author: kib Date: Sun May 7 08:00:34 2017 New Revision: 317898 URL: https://svnweb.freebsd.org/changeset/base/317898 Log: MFC r317606: Style. Modified: stable/10/lib/libc/gen/sem_new.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/gen/sem_new.c

svn commit: r317735 - stable/10/lib/libc/gen

2017-05-03 Thread Konstantin Belousov
Author: kib Date: Wed May 3 09:54:37 2017 New Revision: 317735 URL: https://svnweb.freebsd.org/changeset/base/317735 Log: MFC r317436: getpagesize(3) cannot fail. Modified: stable/10/lib/libc/gen/getpagesize.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r317501 - stable/10/sys/dev/fb

2017-04-27 Thread Konstantin Belousov
Author: kib Date: Thu Apr 27 12:15:15 2017 New Revision: 317501 URL: https://svnweb.freebsd.org/changeset/base/317501 Log: MFC r317196: Write-combine framebuffer writes through user-space mappings, if possible. Modified: stable/10/sys/dev/fb/vesa.c Directory Properties: stable/10/

svn commit: r317408 - stable/10/sys/fs/nfsclient

2017-04-25 Thread Konstantin Belousov
Author: kib Date: Tue Apr 25 13:17:34 2017 New Revision: 317408 URL: https://svnweb.freebsd.org/changeset/base/317408 Log: MFC r316698: Remove debugging printf. Modified: stable/10/sys/fs/nfsclient/nfs_clvnops.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r317250 - stable/10/sbin/fsck_ffs

2017-04-21 Thread Konstantin Belousov
Author: kib Date: Fri Apr 21 10:16:34 2017 New Revision: 317250 URL: https://svnweb.freebsd.org/changeset/base/317250 Log: MFC r316852: In fsck_ffs pass1, prevent the inosused variable from wrapping. PR: 218592 Modified: stable/10/sbin/fsck_ffs/pass1.c Directory Properties:

svn commit: r317131 - stable/10/lib/libc/gen

2017-04-19 Thread Konstantin Belousov
Author: kib Date: Wed Apr 19 10:57:57 2017 New Revision: 317131 URL: https://svnweb.freebsd.org/changeset/base/317131 Log: MFC r316739: Fix reporting of _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX. Modified: stable/10/lib/libc/gen/sysconf.c Directory Properties: stable/10/ (props changed)

svn commit: r315972 - stable/10/sys/dev/cpuctl

2017-03-25 Thread Konstantin Belousov
Author: kib Date: Sun Mar 26 01:10:59 2017 New Revision: 315972 URL: https://svnweb.freebsd.org/changeset/base/315972 Log: MFC r315588: Update the list of cpudev ioctls which require write access. Modified: stable/10/sys/dev/cpuctl/cpuctl.c Directory Properties: stable/10/ (props

svn commit: r315894 - stable/10/sys/kern

2017-03-24 Thread Konstantin Belousov
Author: kib Date: Fri Mar 24 07:22:32 2017 New Revision: 315894 URL: https://svnweb.freebsd.org/changeset/base/315894 Log: MFC r315453: When clearing altsigstack settings on exec, do it to the right thread. Modified: stable/10/sys/kern/kern_sig.c Directory Properties: stable/10/ (props

svn commit: r315562 - in stable/10/sys: kern sys

2017-03-19 Thread Konstantin Belousov
Author: kib Date: Sun Mar 19 15:56:06 2017 New Revision: 315562 URL: https://svnweb.freebsd.org/changeset/base/315562 Log: MFC r315155: Ktracing kevent(2) calls with unusual arguments might leads to an overly large allocation requests. PR: 217435 Modified:

svn commit: r315145 - stable/10/sys/sys

2017-03-12 Thread Konstantin Belousov
Author: kib Date: Sun Mar 12 12:12:59 2017 New Revision: 315145 URL: https://svnweb.freebsd.org/changeset/base/315145 Log: MFC r314960: Fix typo in comment. Modified: stable/10/sys/sys/signalvar.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/sys/signalvar.h

svn commit: r314845 - in stable/10/sys: amd64/amd64 i386/i386

2017-03-07 Thread Konstantin Belousov
Author: kib Date: Tue Mar 7 12:24:02 2017 New Revision: 314845 URL: https://svnweb.freebsd.org/changeset/base/314845 Log: MFC r314429: Initialize pcb_save for thread0. Modified: stable/10/sys/amd64/amd64/machdep.c stable/10/sys/i386/i386/machdep.c Directory Properties: stable/10/

svn commit: r314689 - stable/10/sys/kern

2017-03-04 Thread Konstantin Belousov
Author: kib Date: Sun Mar 5 00:37:23 2017 New Revision: 314689 URL: https://svnweb.freebsd.org/changeset/base/314689 Log: MFC r314562: Style. Modified: stable/10/sys/kern/imgact_elf.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/imgact_elf.c

svn commit: r314590 - stable/10/sys/vm

2017-03-03 Thread Konstantin Belousov
Author: kib Date: Fri Mar 3 10:17:16 2017 New Revision: 314590 URL: https://svnweb.freebsd.org/changeset/base/314590 Log: MFC r314195: Properly handle possible underflow in vm_fault_prefault(). Modified: stable/10/sys/vm/vm_fault.c Directory Properties: stable/10/ (props changed)

svn commit: r314392 - stable/10/sys/sys

2017-02-28 Thread Konstantin Belousov
Author: kib Date: Tue Feb 28 15:03:34 2017 New Revision: 314392 URL: https://svnweb.freebsd.org/changeset/base/314392 Log: MFC r313734: Add RLIM_SAVED_MAX and RLIM_SAVED_CUR symbols. Modified: stable/10/sys/sys/resource.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r314202 - stable/10/sys/kern

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:34:00 2017 New Revision: 314202 URL: https://svnweb.freebsd.org/changeset/base/314202 Log: MFC r313496: Increase a chance of devfs_close() calling d_close cdevsw method. Modified: stable/10/sys/kern/vfs_vnops.c Directory Properties: stable/10/ (props

svn commit: r314201 - stable/10/sys/fs/nfsclient

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:30:28 2017 New Revision: 314201 URL: https://svnweb.freebsd.org/changeset/base/314201 Log: MFC r313800: Do not access memory past the buffer end. Do not accept and silently truncate too long hostname. Modified: stable/10/sys/fs/nfsclient/nfs_clvfsops.c

svn commit: r314199 - stable/10/libexec/rtld-elf

2017-02-24 Thread Konstantin Belousov
Author: kib Date: Fri Feb 24 11:07:49 2017 New Revision: 314199 URL: https://svnweb.freebsd.org/changeset/base/314199 Log: MFC r313494: Handle protected symbols in rtld. Modified: stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313932 - stable/10/sys/fs/devfs

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 03:17:11 2017 New Revision: 313932 URL: https://svnweb.freebsd.org/changeset/base/313932 Log: MFC r313797: Minor style fixes. Modified: stable/10/sys/fs/devfs/devfs_devs.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313844 - stable/10/sys/sys

2017-02-16 Thread Konstantin Belousov
Author: kib Date: Fri Feb 17 00:38:32 2017 New Revision: 313844 URL: https://svnweb.freebsd.org/changeset/base/313844 Log: MFC r313715: Order alphabetically. Modified: stable/10/sys/sys/syscallsubr.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313794 - stable/10/sys/compat/freebsd32

2017-02-15 Thread Konstantin Belousov
Author: kib Date: Thu Feb 16 06:00:57 2017 New Revision: 313794 URL: https://svnweb.freebsd.org/changeset/base/313794 Log: MFC r313692: Style: wrap long line. Modified: stable/10/sys/compat/freebsd32/freebsd32_misc.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313548 - stable/10/sys/i386/i386

2017-02-10 Thread Konstantin Belousov
Author: kib Date: Fri Feb 10 14:38:28 2017 New Revision: 313548 URL: https://svnweb.freebsd.org/changeset/base/313548 Log: MFC r290101 (by hselasky): Build fix for i386/XBOX and pc98/GENERIC. Reported by: ngie Modified: stable/10/sys/i386/i386/pmap.c Directory Properties:

svn commit: r313464 - in stable/10/sys/i386: i386 isa

2017-02-08 Thread Konstantin Belousov
Author: kib Date: Thu Feb 9 04:45:18 2017 New Revision: 313464 URL: https://svnweb.freebsd.org/changeset/base/313464 Log: MFC r313109: Use ANSI definitions for some i386 functions. Modified: stable/10/sys/i386/i386/machdep.c stable/10/sys/i386/i386/vm_machdep.c

svn commit: r313384 - stable/10/sys/vm

2017-02-07 Thread Konstantin Belousov
Author: kib Date: Tue Feb 7 08:33:46 2017 New Revision: 313384 URL: https://svnweb.freebsd.org/changeset/base/313384 Log: MFC r313249: Style, use tab after #define. Modified: stable/10/sys/vm/vm_object.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313256 - in stable/10/sys: amd64/amd64 i386/i386

2017-02-04 Thread Konstantin Belousov
Author: kib Date: Sun Feb 5 00:42:15 2017 New Revision: 313256 URL: https://svnweb.freebsd.org/changeset/base/313256 Log: MFC r312954: Do not leave stale 4K TLB entries on pde (superpage) removal or protection change. Modified: stable/10/sys/amd64/amd64/pmap.c

svn commit: r313150 - in stable/10/sys: amd64/amd64 amd64/include i386/i386 i386/include

2017-02-03 Thread Konstantin Belousov
Author: kib Date: Fri Feb 3 12:20:44 2017 New Revision: 313150 URL: https://svnweb.freebsd.org/changeset/base/313150 Log: MFC r289894: CLFLUSH does not need barriers, the instruction is ordered WRT other writes. Use CLFLUSHOPT when available. MFC r312555: Use SFENCE for ordering

svn commit: r313095 - stable/10/sys/fs/tmpfs

2017-02-02 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 13:39:11 2017 New Revision: 313095 URL: https://svnweb.freebsd.org/changeset/base/313095 Log: MFC r312432: Add a mount option for tmpfs(5) to not use namecache. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r313094 - stable/10/sys/fs/tmpfs

2017-02-02 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 13:38:01 2017 New Revision: 313094 URL: https://svnweb.freebsd.org/changeset/base/313094 Log: MFC r312430: Implement VOP_VPTOCNP() for tmpfs. Modified: stable/10/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313093 - stable/10/sys/fs/tmpfs

2017-02-02 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 13:37:00 2017 New Revision: 313093 URL: https://svnweb.freebsd.org/changeset/base/313093 Log: MFC r312429: VNON nodes cannot exist. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r313092 - stable/10/sys/fs/tmpfs

2017-02-02 Thread Konstantin Belousov
Author: kib Date: Thu Feb 2 13:36:07 2017 New Revision: 313092 URL: https://svnweb.freebsd.org/changeset/base/313092 Log: MFC r312428: Refcount tmpfs nodes and mount structures. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r312946 - stable/10/sys/kern

2017-01-29 Thread Konstantin Belousov
Author: kib Date: Sun Jan 29 10:36:43 2017 New Revision: 312946 URL: https://svnweb.freebsd.org/changeset/base/312946 Log: MFC r312647: Add comments explaining unobvious td_critnest adjustments in critical_exit(). Modified: stable/10/sys/kern/kern_switch.c Directory Properties:

svn commit: r312811 - stable/10/share/man/man5

2017-01-26 Thread Konstantin Belousov
(r312811) @@ -1,7 +1,12 @@ .\"- .\" Copyright (c) 2007 Xin LI +.\" Copyright (c) 2017 The FreeBSD Foundation, Inc. .\" All rights reserved. .\" +.\" Part of this documentation was written by +.\" Konstantin Belousov <k...@freebsd.org> under spo

svn commit: r312809 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 11:04:27 2017 New Revision: 312809 URL: https://svnweb.freebsd.org/changeset/base/312809 Log: MFC r312425: Make tmpfs directory cursor available outside tmpfs_subr.c. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory

svn commit: r312807 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 11:00:57 2017 New Revision: 312807 URL: https://svnweb.freebsd.org/changeset/base/312807 Log: MFC r312414: Rename tmpfs_mount member allnode_lock to include namespace prefix. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_vfsops.c

svn commit: r312805 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 10:55:56 2017 New Revision: 312805 URL: https://svnweb.freebsd.org/changeset/base/312805 Log: MFC r312410: Rework some tmpfs lock assertions. MFC r312412: Protect macro argument. Modified: stable/10/sys/fs/tmpfs/tmpfs.h

svn commit: r312803 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 10:49:45 2017 New Revision: 312803 URL: https://svnweb.freebsd.org/changeset/base/312803 Log: MFC r312409: Style fixes and comment updates. MFC r312435: Remove mistakenly merged field. Modified: stable/10/sys/fs/tmpfs/tmpfs.h

svn commit: r312801 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 10:43:36 2017 New Revision: 312801 URL: https://svnweb.freebsd.org/changeset/base/312801 Log: MFC r312407: Remove unused union member, fifos on tmpfs are implemented in common code. Modified: stable/10/sys/fs/tmpfs/tmpfs.h Directory Properties: stable/10/

svn commit: r312799 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 10:35:04 2017 New Revision: 312799 URL: https://svnweb.freebsd.org/changeset/base/312799 Log: MFC r312124 (by mjg): tmpfs: manage tm_pages_used with atomics. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r312798 - stable/10/sys/fs/tmpfs

2017-01-26 Thread Konstantin Belousov
Author: kib Date: Thu Jan 26 10:29:23 2017 New Revision: 312798 URL: https://svnweb.freebsd.org/changeset/base/312798 Log: MFC r311531 (by mjg): Perform a lockless check in tmpfs_itimes. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props changed)

svn commit: r312701 - stable/10/libexec/rtld-elf

2017-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 17:30:13 2017 New Revision: 312701 URL: https://svnweb.freebsd.org/changeset/base/312701 Log: MFC r311886: Fix acquisition of nested write compat rtld locks. PR: 215826 Modified: stable/10/libexec/rtld-elf/rtld_lock.c Directory Properties: stable/10/

svn commit: r312590 - in stable/10/lib/libc: include stdlib

2017-01-21 Thread Konstantin Belousov
com> + * Copyright (c) 2017 The FreeBSD Foundation * All rights reserved. * + * Portions of this software were developed by Konstantin Belousov + * under sponsorship from the FreeBSD Foundation. + * * Redistribution and use in source and binary forms, with or without * modification, are per

svn commit: r312402 - stable/10/libexec/rtld-elf

2017-01-18 Thread Konstantin Belousov
Author: kib Date: Thu Jan 19 06:48:03 2017 New Revision: 312402 URL: https://svnweb.freebsd.org/changeset/base/312402 Log: MFC r311984: For the main binary, postpone enforcing relro read-only protection until copy relocations are done. Modified: stable/10/libexec/rtld-elf/rtld.c

svn commit: r312340 - stable/10/libexec/rtld-elf

2017-01-17 Thread Konstantin Belousov
Author: kib Date: Tue Jan 17 10:34:31 2017 New Revision: 312340 URL: https://svnweb.freebsd.org/changeset/base/312340 Log: MFC r311879: Use ANSI C definitions, update comment. Modified: stable/10/libexec/rtld-elf/rtld_lock.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r312286 - stable/10/sys/fs/pseudofs

2017-01-16 Thread Konstantin Belousov
Author: kib Date: Mon Jan 16 12:17:35 2017 New Revision: 312286 URL: https://svnweb.freebsd.org/changeset/base/312286 Log: MFC r311815: Forcibly remove the cached items from pseudofs vncache on module unload. Modified: stable/10/sys/fs/pseudofs/pseudofs_vncache.c Directory Properties:

svn commit: r312285 - stable/10/lib/libprocstat

2017-01-16 Thread Konstantin Belousov
Author: kib Date: Mon Jan 16 12:13:49 2017 New Revision: 312285 URL: https://svnweb.freebsd.org/changeset/base/312285 Log: MFC r311781: Use standard Versions.def for libprocstat. Deleted: stable/10/lib/libprocstat/Versions.def Modified: stable/10/lib/libprocstat/Makefile Directory

svn commit: r312284 - stable/10/lib/libprocstat

2017-01-16 Thread Konstantin Belousov
Author: kib Date: Mon Jan 16 12:05:00 2017 New Revision: 312284 URL: https://svnweb.freebsd.org/changeset/base/312284 Log: MFC r311780: Use tab for indent. Modified: stable/10/lib/libprocstat/Makefile Directory Properties: stable/10/ (props changed) Modified:

svn commit: r312171 - stable/10/sys/sys

2017-01-14 Thread Konstantin Belousov
Author: kib Date: Sat Jan 14 11:27:11 2017 New Revision: 312171 URL: https://svnweb.freebsd.org/changeset/base/312171 Log: MFC r311646: Define _POSIX_PRIORITY_SCHEDULING as 0, to account for the kernel option. Modified: stable/10/sys/sys/unistd.h Directory Properties: stable/10/ (props

svn commit: r312069 - stable/10/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:47:44 2017 New Revision: 312069 URL: https://svnweb.freebsd.org/changeset/base/312069 Log: MFC r311525: Lock tmpfs node tn_status updates done under the shared vnode lock. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_fifoops.c

svn commit: r312068 - stable/10/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:45:54 2017 New Revision: 312068 URL: https://svnweb.freebsd.org/changeset/base/312068 Log: MFC r311524: Use vnode lock assertion expression, assert exclusive ownership. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props

svn commit: r311959 - in stable/10/sys: compat/freebsd32 kern

2017-01-11 Thread Konstantin Belousov
Author: kib Date: Thu Jan 12 01:20:51 2017 New Revision: 311959 URL: https://svnweb.freebsd.org/changeset/base/311959 Log: MFC r311447: Some style fixes for getfstat(2)-related code. Modified: stable/10/sys/compat/freebsd32/freebsd32_misc.c stable/10/sys/kern/vfs_syscalls.c Directory

svn commit: r311779 - stable/10/sys/kern

2017-01-09 Thread Konstantin Belousov
Author: kib Date: Mon Jan 9 10:31:39 2017 New Revision: 311779 URL: https://svnweb.freebsd.org/changeset/base/311779 Log: MFC r33: There is no need to use temporary statfs buffer for fsid obliteration and prison enforcement. Do it on the caller buffer directly. Modified:

svn commit: r311778 - stable/10/sys/kern

2017-01-09 Thread Konstantin Belousov
Author: kib Date: Mon Jan 9 10:30:24 2017 New Revision: 311778 URL: https://svnweb.freebsd.org/changeset/base/311778 Log: MFC r31: Style. Modified: stable/10/sys/kern/vfs_syscalls.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/vfs_syscalls.c

svn commit: r311777 - stable/10/sys/kern

2017-01-09 Thread Konstantin Belousov
Author: kib Date: Mon Jan 9 10:29:13 2017 New Revision: 311777 URL: https://svnweb.freebsd.org/changeset/base/311777 Log: MFC r311108: Move common code from kern_statfs() and kern_fstatfs() into a new helper. Modified: stable/10/sys/kern/vfs_syscalls.c Directory Properties: stable/10/

svn commit: r311773 - stable/10/sys/kern

2017-01-09 Thread Konstantin Belousov
Author: kib Date: Mon Jan 9 10:18:34 2017 New Revision: 311773 URL: https://svnweb.freebsd.org/changeset/base/311773 Log: MFC r310615: Change knlist_destroy() to assertion. Modified: stable/10/sys/kern/kern_event.c Directory Properties: stable/10/ (props changed) Modified:

  1   2   3   4   >