svn commit: r367820 - head/sys/kern

2020-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Nov 18 21:26:14 2020 New Revision: 367820 URL: https://svnweb.freebsd.org/changeset/base/367820 Log: Add CTLFLAG_MPSAFE to the suser_enabled sysctl. Pointed out by: mjg Modified: head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_priv.c

Re: svn commit: r367819 - in head: sys/kern sys/sys usr.sbin/jail

2020-11-18 Thread Mariusz Zaborski
Hello Mateusz, Thank you for pointing out this. I will fix those. Thanks, Mariusz On Wed, 18 Nov 2020 at 22:15, Mateusz Guzik wrote: > > On 11/18/20, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Wed Nov 18 21:07:08 2020 > > New Revision: 367819 > > U

svn commit: r367819 - in head: sys/kern sys/sys usr.sbin/jail

2020-11-18 Thread Mariusz Zaborski
08 2020(r367819) @@ -3,6 +3,7 @@ * * Copyright (c) 2006 nCircle Network Security, Inc. * Copyright (c) 2009 Robert N. M. Watson + * Copyright (c) 2020 Mariusz Zaborski * All rights reserved. * * This software was developed by Robert N. M. Watson for the TrustedBSD @@ -36,6

svn commit: r367818 - head/sys/kern

2020-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Nov 18 20:59:58 2020 New Revision: 367818 URL: https://svnweb.freebsd.org/changeset/base/367818 Log: Fix style nits. Modified: head/sys/kern/kern_jail.c head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_jail.c

svn commit: r367487 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-11-08 Thread Mariusz Zaborski
Reviewed-by: Brian Behlendorf Signed-off-by: Mariusz Zaborski OpenZFS Pull Request: https://github.com/openzfs/zfs/pull/11152 PR: 250934 Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zvol_os.c Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zvol_os.c

svn commit: r365382 - head/usr.sbin/traceroute6

2020-09-06 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Sep 6 15:44:09 2020 New Revision: 365382 URL: https://svnweb.freebsd.org/changeset/base/365382 Log: Remove duplicated line. Reported by: lwhsu Modified: head/usr.sbin/traceroute6/Makefile Modified: head/usr.sbin/traceroute6/Makefile

svn commit: r365378 - head/usr.sbin/traceroute6

2020-09-06 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Sep 6 14:04:02 2020 New Revision: 365378 URL: https://svnweb.freebsd.org/changeset/base/365378 Log: traceroute6: capsicumize it Submitted by: Shubh Gupta Sponsored by: Google (GSOC 2020) Differential Revision:https://reviews.freebsd.org/D25604

svn commit: r364355 - in head: stand/efi/loader stand/i386/loader stand/libsa/zfs stand/lua sys/cddl/boot/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/...

2020-08-18 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 18 19:48:04 2020 New Revision: 364355 URL: https://svnweb.freebsd.org/changeset/base/364355 Log: zfs: add an option to the bootloader to rewind the ZFS checkpoint The checkpoints are another way of keeping the state of ZFS. During the rewind, the pool has to

svn commit: r364276 - in head: lib/libcasper/services lib/libcasper/services/cap_dns lib/libcasper/services/cap_net lib/libcasper/services/cap_net/tests share/mk

2020-08-16 Thread Mariusz Zaborski
= --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libcasper/services/cap_net/cap_net.3 Sun Aug 16 18:12:21 2020 (r364276) @@ -0,0 +1,287 @@ +.\" Copyright (c) 2020 Mariusz Zaborski +.\" +.\" Redistribution

svn commit: r359808 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2020-04-11 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Apr 11 17:54:35 2020 New Revision: 359808 URL: https://svnweb.freebsd.org/changeset/base/359808 Log: zfs: Add option for forcible unmounting dataset while receiving snapshot. Currently when the dataset is in use we can't receive snapshots. zfs send test/1@asd

svn commit: r359807 - head/sbin/decryptcore

2020-04-11 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Apr 11 17:30:33 2020 New Revision: 359807 URL: https://svnweb.freebsd.org/changeset/base/359807 Log: decryptcore: load the nls data Load the nls data before the openssl will try to do it in the capability mode. On my machine the sa_ossl_private_decrypt is

svn commit: r359730 - head/usr.bin/logger

2020-04-08 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Apr 8 18:43:00 2020 New Revision: 359730 URL: https://svnweb.freebsd.org/changeset/base/359730 Log: logger: temporarily disable Capsicum when a host is provided We don't have a way to send a UDP package. PR: 245314 Reported by: dch Discussed

svn commit: r358919 - head/usr.bin/logger

2020-03-12 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Mar 12 19:55:51 2020 New Revision: 358919 URL: https://svnweb.freebsd.org/changeset/base/358919 Log: logger: capsicumize Submitted by: Tiger Gao Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D23744 Modified:

svn commit: r357604 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:16:51 2020 New Revision: 357604 URL: https://svnweb.freebsd.org/changeset/base/357604 Log: MFCr356928: When MK_CASPER=no is set remove files which are not needed to run system. PR: 242971 Modified:

svn commit: r357603 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:15:55 2020 New Revision: 357603 URL: https://svnweb.freebsd.org/changeset/base/357603 Log: MFCr356926: Even when the MK_CASPER is set to "no" we still want to install man pages and the headers. If the user decides to install the system without Casper

svn commit: r357602 - stable/11/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:14:27 2020 New Revision: 357602 URL: https://svnweb.freebsd.org/changeset/base/357602 Log: MFCr356925: Those files are already removed in ObsoleteFiles.\ There is no need to remove them twice. PR: 242971 Modified:

svn commit: r357601 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:11:40 2020 New Revision: 357601 URL: https://svnweb.freebsd.org/changeset/base/357601 Log: MFCr356928: When MK_CASPER=no is set remove files which are not needed to run system. PR: 242971 Modified:

svn commit: r357600 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:10:42 2020 New Revision: 357600 URL: https://svnweb.freebsd.org/changeset/base/357600 Log: MFCr356926: Even when the MK_CASPER is set to "no" we still want to install man pages and the headers. If the user decides to install the system without Casper

svn commit: r357599 - stable/12/tools/build/mk

2020-02-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Feb 5 21:05:52 2020 New Revision: 357599 URL: https://svnweb.freebsd.org/changeset/base/357599 Log: MFCr356925: Those files are already removed in ObsoleteFiles. There is no need to remove them twice. PR: 242971 Modified:

svn commit: r356928 - head/tools/build/mk

2020-01-20 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 20 19:56:22 2020 New Revision: 356928 URL: https://svnweb.freebsd.org/changeset/base/356928 Log: When MK_CASPER=no is set remove files which are not needed to run system. PR: 242971 Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r356926 - head/tools/build/mk

2020-01-20 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 20 19:51:53 2020 New Revision: 356926 URL: https://svnweb.freebsd.org/changeset/base/356926 Log: Even when the MK_CASPER is set to "no" we still want to install man pages and the headers. If the user decides to install the system without Casper support, then

svn commit: r356925 - head/tools/build/mk

2020-01-20 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 20 19:47:58 2020 New Revision: 356925 URL: https://svnweb.freebsd.org/changeset/base/356925 Log: Those files are already removed in ObsoleteFiles.\ There is no need to remove them twice. PR: 242971 MFC after:2 weeks Modified:

svn commit: r356176 - in head: lib/geom/nop sys/geom/nop

2019-12-29 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Dec 29 15:47:37 2019 New Revision: 356176 URL: https://svnweb.freebsd.org/changeset/base/356176 Log: gnop: change the "count until fail" option Change the "count_until_fail" option of gnop, now it enables the failing rating instead of setting them to 100%.

svn commit: r356174 - in head: lib/geom/nop sys/geom/nop

2019-12-29 Thread Mariusz Zaborski
op.c Sun Dec 29 15:39:43 2019(r356173) +++ head/sys/geom/nop/g_nop.c Sun Dec 29 15:40:02 2019(r356174) @@ -2,6 +2,7 @@ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2004-2006 Pawel Jakub Dawidek + * Copyright (c) 2019 Mariusz Zaborski * All rights res

Re: svn commit: r355097 - in head: sys/kern tests/sys/kern

2019-12-08 Thread Mariusz Zaborski
On Mon, 2 Dec 2019 at 18:55, John Baldwin wrote: > > On 11/25/19 10:33 AM, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Mon Nov 25 18:33:21 2019 > > New Revision: 355097 > > URL: https://svnweb.freebsd.org/changeset/base/355097 > > > > Log: >

svn commit: r355097 - in head: sys/kern tests/sys/kern

2019-11-25 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Nov 25 18:33:21 2019 New Revision: 355097 URL: https://svnweb.freebsd.org/changeset/base/355097 Log: procdesc: allow to collect status through wait(1) if process is traced The debugger like truss(1) depends on the wait(2) syscall. This syscall waits for ALL

Re: svn commit: r352312 - in head: lib/geom/nop sys/geom/nop

2019-11-09 Thread Mariusz Zaborski
Hello Chuck :) I wonder if we shouldn't change this option a bit. Shouldn't we have an option which says more like: ``` Specifies the number of I/O requests to allow before setting the read and write failure rate. ``` In some cases, I don't want to have 100% of failure probabilities, but on the

svn commit: r353107 - head/sys/cddl/dev/dtrace/amd64

2019-10-04 Thread Mariusz Zaborski
Author: oshogbo Date: Fri Oct 4 16:17:00 2019 New Revision: 353107 URL: https://svnweb.freebsd.org/changeset/base/353107 Log: dtrace: 64-bits registers support The registers in ilumos and FreeBSD have a different number. In the illumos, last 32-bits register defined is SS an in FreeBSD

svn commit: r352217 - stable/12/sys/kern

2019-09-11 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Sep 11 16:06:05 2019 New Revision: 352217 URL: https://svnweb.freebsd.org/changeset/base/352217 Log: Fix miss merge in r352179. Modified: stable/12/sys/kern/kern_exit.c Modified: stable/12/sys/kern/kern_exit.c

svn commit: r352190 - in stable/12/sys: kern sys

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:55:47 2019 New Revision: 352190 URL: https://svnweb.freebsd.org/changeset/base/352190 Log: MFCr350429: proc: make clear_orphan an public API This will be useful for other patches with process descriptors. Change its name as well.

svn commit: r352189 - stable/12/lib/libcasper/services/cap_dns

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:49:47 2019 New Revision: 352189 URL: https://svnweb.freebsd.org/changeset/base/352189 Log: MFCr340638: libcasper: provide compatibility with the old version of service Some external tools like tcpdump(1) have upstream the changes with old limits

svn commit: r352188 - in stable/12: . contrib/tcpdump contrib/traceroute lib/libcasper/services/cap_dns lib/libcasper/services/cap_dns/tests sbin/ping

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:45:51 2019 New Revision: 352188 URL: https://svnweb.freebsd.org/changeset/base/352188 Log: MFCr340363: libcasper: Change the name of limits in cap_dns so the intentions are obvious. Reported by: pjd Modified: stable/12/ObsoleteFiles.inc

svn commit: r352187 - in stable/12/lib/libcasper/services/cap_dns: . tests

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:41:42 2019 New Revision: 352187 URL: https://svnweb.freebsd.org/changeset/base/352187 Log: MFCr340141: libcasper: fix limitations in dns service The getaddrinfo(3) and gethostbyname(3) are used to return the address for a given hostname. The

svn commit: r352186 - head/lib/geom/nop

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:27:44 2019 New Revision: 352186 URL: https://svnweb.freebsd.org/changeset/base/352186 Log: gnop: Fix initial value for the wdelayprob Reported by: Chuck Silvers Modified: head/lib/geom/nop/geom_nop.c Modified: head/lib/geom/nop/geom_nop.c

svn commit: r352185 - stable/12/sys/kern

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:21:47 2019 New Revision: 352185 URL: https://svnweb.freebsd.org/changeset/base/352185 Log: MFCr350617: procdesc: fix the function name I changed name of the function r350429 and forgot to update the r350612 patch. Reported by: jenkins

svn commit: r352184 - stable/12/sys/kern

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:20:45 2019 New Revision: 352184 URL: https://svnweb.freebsd.org/changeset/base/352184 Log: MFCr350616: process: style We don't need to check if the parent is already set. This is done already in the proc_reparent. No functional behaviour

svn commit: r352182 - stable/12/sys/kern

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:19:02 2019 New Revision: 352182 URL: https://svnweb.freebsd.org/changeset/base/352182 Log: MFCr350614: exit1: fix style nits Modified: stable/12/sys/kern/kern_exit.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r352181 - in stable/12: sys/kern tests/sys/kern

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:18:06 2019 New Revision: 352181 URL: https://svnweb.freebsd.org/changeset/base/352181 Log: MFCr350612 procdesc: fix reparenting when the debugger is attached The process is reparented to the debugger while it is attached. B B /

svn commit: r352180 - in stable/12/sys: kern sys

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:15:52 2019 New Revision: 352180 URL: https://svnweb.freebsd.org/changeset/base/352180 Log: MFCr350611: proc: introduce the proc_add_orphan function This API allows adding the process to its parent orphan list. Reviewed by: kib, markj

svn commit: r352179 - stable/12/sys/kern

2019-09-10 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Sep 10 20:14:52 2019 New Revision: 352179 URL: https://svnweb.freebsd.org/changeset/base/352179 Log: MFCr350610: exit1: postpone clearing P_TRACED flag until the proctree lock is acquired In case of the process being debugged. The P_TRACED is cleared very

svn commit: r346263 - head/contrib/tcpdump

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Apr 16 04:12:41 2019 New Revision: 346263 URL: https://svnweb.freebsd.org/changeset/base/346263 Log: tcpdump: disable Capsicum if -E option is provided. The -E is used to provide a secret for decrypting IPsec. The secret may be provided through command line or

Re: svn commit: r346322 - head/lib/libcasper/services/cap_fileargs

2019-09-03 Thread Mariusz Zaborski
open(name, fa->fa_flags, fa->fa_mode) > -#define fileargs_fopen(fa, name, mode) > \ > - fopen(name, mode) > +static inline > +FILE *fileargs_fopen(fileargs_t *fa, const char *name, const char *mode) > +{ > + (void) fa; __unused is not good enough? > + return (

svn commit: r346219 - head/lib/libnv/tests

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 15 03:32:01 2019 New Revision: 346219 URL: https://svnweb.freebsd.org/changeset/base/346219 Log: libnv: extend the tests Add cases for sending file descriptors. Submitted by: Mindaugas Rasiukevicius MFC after:2 weeks Modified:

svn commit: r346218 - head/lib/libnv

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 15 03:31:02 2019 New Revision: 346218 URL: https://svnweb.freebsd.org/changeset/base/346218 Log: libnv: add support for nvlist_send()/nvlist_recv() on Linux This may be useful for cross build in the feature. Submitted by: Mindaugas Rasiukevicius MFC

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-09-03 Thread Mariusz Zaborski
rts the #define to an inline function so > the unused arg can be (void)'ed away. Mind if I commit it? Sounds good to me. Although you don't have an issue with others services? -- Mariusz Zaborski oshogbo//vx | http://oshogbo.vexillium.org FreeBSD committer | https://fr

svn commit: r346112 - head/sys/contrib/libnv

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 03:47:53 2019 New Revision: 346112 URL: https://svnweb.freebsd.org/changeset/base/346112 Log: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to NOP. Submitted

svn commit: r346115 - head/sys/contrib/libnv

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 04:24:41 2019 New Revision: 346115 URL: https://svnweb.freebsd.org/changeset/base/346115 Log: The nvlist_report_missing is also used by the cnvlist. It can't be a static one. Reported by: jenkins MFC after:2 weeks Modified:

svn commit: r346113 - head/sys/contrib/libnv

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 04:21:58 2019 New Revision: 346113 URL: https://svnweb.freebsd.org/changeset/base/346113 Log: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to NOP. Submitted

svn commit: r346029 - head/sys/kern

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 8 14:23:52 2019 New Revision: 346029 URL: https://svnweb.freebsd.org/changeset/base/346029 Log: In the unlinkat syscall, the operation is performed on the directory descriptor, not the file descriptor. The file descriptor is used only for verification so do

svn commit: r346012 - head/sys/sys

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Apr 7 16:07:41 2019 New Revision: 346012 URL: https://svnweb.freebsd.org/changeset/base/346012 Log: Bump FreeBSD version after r345982. Reported by: Shawn Webb Discussed with: imp, cy, rgrimes Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r346023 - head/usr.bin/strings

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 8 03:35:47 2019 New Revision: 346023 URL: https://svnweb.freebsd.org/changeset/base/346023 Log: strings: disable Casper support while building native-xtools Reported by: Charlie Li Tested by:Charlie Li Modified: head/usr.bin/strings/Makefile

Re: svn commit: r345982 - in head: include lib/libc/sys sys/cddl/compat/opensolaris/sys sys/compat/cloudabi sys/compat/freebsd32 sys/compat/linux sys/kern sys/sys sys/ufs/ffs

2019-09-03 Thread Mariusz Zaborski
In the https://wiki.freebsd.org/AddingSyscalls we mentions that we need to bump __FreeBSD_version. I confirmed that with Warner. So this was my mistake. Thanks Shawn. -- Mariusz Zaborski oshogbo//vx | http://oshogbo.vexillium.org FreeBSD committer | https://freebsd.org Software

svn commit: r345984 - head/lib/libutil

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Apr 6 11:24:43 2019 New Revision: 345984 URL: https://svnweb.freebsd.org/changeset/base/345984 Log: Use funlinkat in pidfile to ensure we are removing the right file. Modified: head/lib/libutil/pidfile.c Modified: head/lib/libutil/pidfile.c

svn commit: r345983 - in head/sys: compat/freebsd32 kern sys

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Apr 6 09:37:10 2019 New Revision: 345983 URL: https://svnweb.freebsd.org/changeset/base/345983 Log: Regen after r345982. Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r345982 - in head: include lib/libc/sys sys/cddl/compat/opensolaris/sys sys/compat/cloudabi sys/compat/freebsd32 sys/compat/linux sys/kern sys/sys sys/ufs/ffs

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Apr 6 09:34:26 2019 New Revision: 345982 URL: https://svnweb.freebsd.org/changeset/base/345982 Log: Introduce funlinkat syscall that always us to check if we are removing the file associated with the given file descriptor. Reviewed by: kib, asomers Reviewed

svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 4 16:32:27 2019 New Revision: 345875 URL: https://svnweb.freebsd.org/changeset/base/345875 Log: strings: capsicumize it Reviewed by: cem Discussed with: emaste Differential Revision:https://reviews.freebsd.org/D18038 Modified:

svn commit: r345870 - head/tools/build

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 4 04:14:20 2019 New Revision: 345870 URL: https://svnweb.freebsd.org/changeset/base/345870 Log: Add cap_fileargs.h to -legacy if needed. Reviewed by: arichardson Differential Revision:https://reviews.freebsd.org/D19685 Modified:

svn commit: r350695 - head/lib/libcasper/services/cap_fileargs

2019-08-07 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Aug 7 19:30:33 2019 New Revision: 350695 URL: https://svnweb.freebsd.org/changeset/base/350695 Log: cap_filergs: limit size of the file name The limit of the name in fileargs is twice the size of the MAXPATH. The nvlist will not add an element with the longer

svn commit: r350617 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:31:17 2019 New Revision: 350617 URL: https://svnweb.freebsd.org/changeset/base/350617 Log: procdesc: fix the function name I changed name of the function r350429 and forgot to update the r350612 patch. Reported by: jenkins MFC after:1 month

svn commit: r350616 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:26:01 2019 New Revision: 350616 URL: https://svnweb.freebsd.org/changeset/base/350616 Log: process: style We don't need to check if the parent is already set. This is done already in the proc_reparent. No functional behaviour changes intended.

svn commit: r350614 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:20:14 2019 New Revision: 350614 URL: https://svnweb.freebsd.org/changeset/base/350614 Log: exit1: fix style nits MFC after:1 month Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r350612 - in head: sys/kern tests/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:15:46 2019 New Revision: 350612 URL: https://svnweb.freebsd.org/changeset/base/350612 Log: procdesc: fix reparenting when the debugger is attached The process is reparented to the debugger while it is attached. B B / > | A

svn commit: r350611 - in head/sys: kern sys

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:11:57 2019 New Revision: 350611 URL: https://svnweb.freebsd.org/changeset/base/350611 Log: proc: introduce the proc_add_orphan function This API allows adding the process to its parent orphan list. Reviewed by: kib, markj MFC after:1 month

svn commit: r350610 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 19:59:23 2019 New Revision: 350610 URL: https://svnweb.freebsd.org/changeset/base/350610 Log: exit1: postpone clearing P_TRACED flag until the proctree lock is acquired In case of the process being debugged. The P_TRACED is cleared very early, which would

svn commit: r350482 - head

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 19:32:39 2019 New Revision: 350482 URL: https://svnweb.freebsd.org/changeset/base/350482 Log: gnop: add note to the RELNOTES Submitted by: markj Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r350472 - head/sys/geom/nop

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 17:51:06 2019 New Revision: 350472 URL: https://svnweb.freebsd.org/changeset/base/350472 Log: gnop: style nits Modified: head/sys/geom/nop/g_nop.c Modified: head/sys/geom/nop/g_nop.c

svn commit: r350471 - in head: lib/geom/nop sys/geom/nop

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 17:47:12 2019 New Revision: 350471 URL: https://svnweb.freebsd.org/changeset/base/350471 Log: gnop: Introduce requests delay. This allows to simulated disk that is responding slowly to the IO requests. Reviewed by: markj, bcr, pjd (previous version)

svn commit: r350438 - head/lib/libcasper/services/cap_fileargs

2019-07-30 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Jul 30 08:53:03 2019 New Revision: 350438 URL: https://svnweb.freebsd.org/changeset/base/350438 Log: fileargs: fix formating in EXAMPLES PR: 239523 Submitted by: mikael.uran...@gmail.com Modified:

svn commit: r350430 - in head: share/man/man9 sys/sys

2019-07-29 Thread Mariusz Zaborski
29 21:53:02 2019(r350430) @@ -0,0 +1,138 @@ +.\" +.\" Copyright (C) 2019 Mariusz Zaborski +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\

svn commit: r350429 - in head/sys: kern sys

2019-07-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jul 29 21:42:57 2019 New Revision: 350429 URL: https://svnweb.freebsd.org/changeset/base/350429 Log: proc: make clear_orphan an public API This will be useful for other patches with process descriptors. Change its name as well. Reviewed by: markj, kib

svn commit: r350428 - head/lib/libcasper/libcasper

2019-07-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jul 29 21:26:26 2019 New Revision: 350428 URL: https://svnweb.freebsd.org/changeset/base/350428 Log: libcasper: remove reference to deprecated system.random Modified: head/lib/libcasper/libcasper/libcasper.3 Modified: head/lib/libcasper/libcasper/libcasper.3

svn commit: r350024 - head/contrib/elftoolchain/strings

2019-07-15 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Jul 16 04:17:25 2019 New Revision: 350024 URL: https://svnweb.freebsd.org/changeset/base/350024 Log: strings: extends rights The libelf is using mmap if it can, if not it was fall backing to read. Reported by: markj Modified:

svn commit: r350022 - head/contrib/elftoolchain/strings

2019-07-15 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Jul 16 03:32:21 2019 New Revision: 350022 URL: https://svnweb.freebsd.org/changeset/base/350022 Log: strings: fix entering to the capability mode Reported by: markj Modified: head/contrib/elftoolchain/strings/strings.c Modified:

svn commit: r349002 - head/lib/libcasper/services/cap_fileargs

2019-06-12 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 12 19:31:26 2019 New Revision: 349002 URL: https://svnweb.freebsd.org/changeset/base/349002 Log: fileargs: add wrapping/unwrapping functions Those function may be useful to pass fileargs connections around. Modified:

svn commit: r349001 - head/sys/geom/eli

2019-06-12 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 12 19:29:48 2019 New Revision: 349001 URL: https://svnweb.freebsd.org/changeset/base/349001 Log: geli: style nits Modified: head/sys/geom/eli/g_eli_hmac.c Modified: head/sys/geom/eli/g_eli_hmac.c

svn commit: r349000 - head/sys/geom/eli

2019-06-12 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 12 19:29:12 2019 New Revision: 349000 URL: https://svnweb.freebsd.org/changeset/base/349000 Log: geli: partially revert r348709 Let's change the unsigned arguments to the signed one, but let's don't change pointers to the array notation. Requested by:

svn commit: r348842 - head/usr.bin/tail

2019-06-09 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Jun 9 22:55:21 2019 New Revision: 348842 URL: https://svnweb.freebsd.org/changeset/base/348842 Log: tail: fix the checks if the file was rotated The freopen(3) was replaced with fileargs_open(3) and fclose(3). In the following function, we skip if the stream is

svn commit: r348841 - head/cddl/usr.sbin/dtrace/tests/amd64

2019-06-09 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Jun 9 22:45:07 2019 New Revision: 348841 URL: https://svnweb.freebsd.org/changeset/base/348841 Log: DTrace: add a top level makefile to the new test suit Pointed out by: markj Added: head/cddl/usr.sbin/dtrace/tests/amd64/Makefile (contents, props

svn commit: r348833 - head/usr.bin/tail

2019-06-09 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Jun 9 11:21:29 2019 New Revision: 348833 URL: https://svnweb.freebsd.org/changeset/base/348833 Log: tail: style nits Modified: head/usr.bin/tail/tail.c Modified: head/usr.bin/tail/tail.c

svn commit: r348711 - head/usr.bin/tail

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:55:00 2019 New Revision: 348711 URL: https://svnweb.freebsd.org/changeset/base/348711 Log: tail: disable capsicum in rescue mode All rescue application are not capsicumized. Reported by: jenkins Modified: head/usr.bin/tail/Makefile Modified:

svn commit: r348710 - head/usr.bin/tail

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:47:37 2019 New Revision: 348710 URL: https://svnweb.freebsd.org/changeset/base/348710 Log: tail: fix style nit introduced in the r348708 Modified: head/usr.bin/tail/tail.c Modified: head/usr.bin/tail/tail.c

svn commit: r348709 - head/sys/geom/eli

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:46:18 2019 New Revision: 348709 URL: https://svnweb.freebsd.org/changeset/base/348709 Log: geli: build warning fixes Submitted by: Aaron Prieger Reviewed by: sbruno Differential Revision:https://reviews.freebsd.org/D11068 Modified:

svn commit: r348708 - head/usr.bin/tail

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:40:49 2019 New Revision: 348708 URL: https://svnweb.freebsd.org/changeset/base/348708 Log: tail: capsicumize Submitted by: Nik Sultana Differential Revision:https://reviews.freebsd.org/D20393 Modified: head/usr.bin/tail/Makefile

svn commit: r348707 - head/lib/libc/sys

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:36:19 2019 New Revision: 348707 URL: https://svnweb.freebsd.org/changeset/base/348707 Log: unlink: add missing function to unlink.2 man page Modified: head/lib/libc/sys/unlink.2 Modified: head/lib/libc/sys/unlink.2

svn commit: r348706 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/amd64 cddl/contrib/opensolaris/cmd/dtrace/test/tst/amd64/arrays cddl/usr.sbin/dtrace/tests cddl/usr.sbin/dtrace/tests/amd...

2019-06-05 Thread Mariusz Zaborski
+ * CDDL HEADER END + */ + +/* + * Copyright (c) 2019 Mariusz Zaborski + * Use is subject to license terms. + */ + +__attribute__((optnone)) void +frax(void) +{ + asm volatile("mov $0x41414141, %%rax" + : : : "rax" + ); +} + +int +main(void) +{ +

svn commit: r348705 - head/sys/cddl/dev/dtrace/amd64

2019-06-05 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 5 22:29:05 2019 New Revision: 348705 URL: https://svnweb.freebsd.org/changeset/base/348705 Log: dtrace: 64-bits registers support The registers in ilumos and FreeBSD have a different number. In the illumos, last 32-bits register defined is SS an in FreeBSD

svn commit: r346986 - stable/12/contrib/tcpdump

2019-05-01 Thread Mariusz Zaborski
Author: oshogbo Date: Wed May 1 07:00:56 2019 New Revision: 346986 URL: https://svnweb.freebsd.org/changeset/base/346986 Log: MFC r346263: tcpdump: disable Capsicum if -E option is provided. The -E is used to provide a secret for decrypting IPsec. The secret may be provided

svn commit: r346985 - stable/11/contrib/tcpdump

2019-05-01 Thread Mariusz Zaborski
Author: oshogbo Date: Wed May 1 06:59:04 2019 New Revision: 346985 URL: https://svnweb.freebsd.org/changeset/base/346985 Log: MFC r346263: tcpdump: disable Capsicum if -E option is provided. The -E is used to provide a secret for decrypting IPsec. The secret may be provided

svn commit: r346908 - stable/12/sys/contrib/libnv

2019-04-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 29 18:56:39 2019 New Revision: 346908 URL: https://svnweb.freebsd.org/changeset/base/346908 Log: MFC r346113: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to

svn commit: r346907 - stable/11/sys/contrib/libnv

2019-04-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 29 18:55:49 2019 New Revision: 346907 URL: https://svnweb.freebsd.org/changeset/base/346907 Log: MFC r346113: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to

svn commit: r346906 - stable/12/sys/contrib/libnv

2019-04-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 29 18:54:39 2019 New Revision: 346906 URL: https://svnweb.freebsd.org/changeset/base/346906 Log: MFC r346112: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to

svn commit: r346905 - stable/11/sys/contrib/libnv

2019-04-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 29 18:52:04 2019 New Revision: 346905 URL: https://svnweb.freebsd.org/changeset/base/346905 Log: MFC r346112: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to

Re: svn commit: r346322 - head/lib/libcasper/services/cap_fileargs

2019-04-19 Thread Mariusz Zaborski
open(name, fa->fa_flags, fa->fa_mode) > -#define fileargs_fopen(fa, name, mode) > \ > - fopen(name, mode) > +static inline > +FILE *fileargs_fopen(fileargs_t *fa, const char *name, const char *mode) > +{ > + (void) fa; __unused is not good enough? > + return (

svn commit: r346263 - head/contrib/tcpdump

2019-04-15 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Apr 16 04:12:41 2019 New Revision: 346263 URL: https://svnweb.freebsd.org/changeset/base/346263 Log: tcpdump: disable Capsicum if -E option is provided. The -E is used to provide a secret for decrypting IPsec. The secret may be provided through command line or

svn commit: r346219 - head/lib/libnv/tests

2019-04-14 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 15 03:32:01 2019 New Revision: 346219 URL: https://svnweb.freebsd.org/changeset/base/346219 Log: libnv: extend the tests Add cases for sending file descriptors. Submitted by: Mindaugas Rasiukevicius MFC after:2 weeks Modified:

svn commit: r346218 - head/lib/libnv

2019-04-14 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Apr 15 03:31:02 2019 New Revision: 346218 URL: https://svnweb.freebsd.org/changeset/base/346218 Log: libnv: add support for nvlist_send()/nvlist_recv() on Linux This may be useful for cross build in the feature. Submitted by: Mindaugas Rasiukevicius MFC

Re: svn commit: r345875 - in head: contrib/elftoolchain/strings usr.bin/strings

2019-04-14 Thread Mariusz Zaborski
rts the #define to an inline function so > the unused arg can be (void)'ed away. Mind if I commit it? Sounds good to me. Although you don't have an issue with others services? -- Mariusz Zaborski oshogbo//vx | http://oshogbo.vexillium.org FreeBSD committer | https://fr

svn commit: r346115 - head/sys/contrib/libnv

2019-04-10 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 04:24:41 2019 New Revision: 346115 URL: https://svnweb.freebsd.org/changeset/base/346115 Log: The nvlist_report_missing is also used by the cnvlist. It can't be a static one. Reported by: jenkins MFC after:2 weeks Modified:

svn commit: r346113 - head/sys/contrib/libnv

2019-04-10 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 04:21:58 2019 New Revision: 346113 URL: https://svnweb.freebsd.org/changeset/base/346113 Log: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to NOP. Submitted

svn commit: r346112 - head/sys/contrib/libnv

2019-04-10 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Apr 11 03:47:53 2019 New Revision: 346112 URL: https://svnweb.freebsd.org/changeset/base/346112 Log: libnv: fix compilation warnings When building libnv without a debug those arguments are no longer used because assertions will be changed to NOP. Submitted

  1   2   3   4   >