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
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
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
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
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
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
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
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
=
--- /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
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
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
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
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:
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
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
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:
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%.
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
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:
>
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
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
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
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
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 (
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
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
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:
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
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:
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
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
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
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
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
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
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
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
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
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:
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:
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
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
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.
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
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
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
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
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
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
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)
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:
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:
+.\
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
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
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:
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:
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:
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:
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
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
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
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
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:
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
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:
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
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
+ * 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)
+{
+
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
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 (
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
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:
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
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
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:
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
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
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
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
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
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
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
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
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
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:
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:
Author: oshogbo
Date: Sat Mar 23 02:17:07 2019
New Revision: 345431
URL: https://svnweb.freebsd.org/changeset/base/345431
Log:
strings: return an error code and the char value separately
If we returning 32 bits value it's hard to distinguish if the returned value
is a valid one or if its
Author: oshogbo
Date: Thu Mar 21 06:31:14 2019
New Revision: 345364
URL: https://svnweb.freebsd.org/changeset/base/345364
Log:
In case of ENCODING_8BIT the EOF code will be pass to putchar.
EOF check should be done before (uint8_t)c > 127 test.
Reported by: cem
Modified:
Author: oshogbo
Date: Thu Mar 21 06:20:33 2019
New Revision: 345362
URL: https://svnweb.freebsd.org/changeset/base/345362
Log:
Fix powerpc and arm builds after r345361.
Reported by: jenkins
Modified:
head/contrib/elftoolchain/strings/strings.c
Modified:
Author: oshogbo
Date: Thu Mar 21 05:24:44 2019
New Revision: 345361
URL: https://svnweb.freebsd.org/changeset/base/345361
Log:
strings: do not continue if getc or getcharacter returns EOF
Reported by: cem
Modified:
head/contrib/elftoolchain/strings/strings.c
Modified:
Author: oshogbo
Date: Thu Mar 21 05:00:24 2019
New Revision: 345360
URL: https://svnweb.freebsd.org/changeset/base/345360
Log:
strings: do not depend on stdin
Instead of depending on one stdin FILE structure and use freopen(3), pass to
the functions appropriate FILE structure.
Author: oshogbo
Date: Sun Feb 17 18:32:19 2019
New Revision: 344236
URL: https://svnweb.freebsd.org/changeset/base/344236
Log:
libnv: fix revert
Reported by: jenkins
Modified:
head/sys/contrib/libnv/nvpair.c
Modified: head/sys/contrib/libnv/nvpair.c
Author: oshogbo
Date: Sun Feb 17 18:26:27 2019
New Revision: 344235
URL: https://svnweb.freebsd.org/changeset/base/344235
Log:
libnv: fix double free
In r343986 we introduced a double free. The structure was already
freed fixed in the r302966. This problem was introduced
because the
Author: oshogbo
Date: Sun Feb 10 23:30:54 2019
New Revision: 343987
URL: https://svnweb.freebsd.org/changeset/base/343987
Log:
libnv: fix memory leaks
Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case.
MFC after:2 weeks
Modified:
head/sys/contrib/libnv/nvpair.c
Modified:
Author: oshogbo
Date: Sun Feb 10 23:28:55 2019
New Revision: 343986
URL: https://svnweb.freebsd.org/changeset/base/343986
Log:
libnv: fix memory leaks
nvpair_create_stringv: free the temporary string; this fix affects
nvlist_add_stringf() and nvlist_add_stringv().
Author: oshogbo
Date: Sat Jan 26 14:10:49 2019
New Revision: 343471
URL: https://svnweb.freebsd.org/changeset/base/343471
Log:
libcasper: do not run registered exit functions
Casper library should not use exit(3) function because before setting it up
applications may register it. Casper
Author: oshogbo
Date: Sat Jan 26 13:53:00 2019
New Revision: 343470
URL: https://svnweb.freebsd.org/changeset/base/343470
Log:
zfs: allow to change cache flush sysctl
There is no reason for this variable to be tunable.
This variable is used as a barrier in few places.
Discussed
Author: oshogbo
Date: Wed Dec 12 20:32:17 2018
New Revision: 342001
URL: https://svnweb.freebsd.org/changeset/base/342001
Log:
libcapsicum: add missing links
Reported by: manu
Modified:
head/lib/libcapsicum/Makefile
Modified: head/lib/libcapsicum/Makefile
Author: oshogbo
Date: Fri Nov 30 19:40:16 2018
New Revision: 341348
URL: https://svnweb.freebsd.org/changeset/base/341348
Log:
iscsi: simplify the capsicumization
Approved by: trasz
Differential Revision:https://reviews.freebsd.org/D17962
Modified:
head/usr.sbin/ctld/kernel.c
Author: oshogbo
Date: Fri Nov 30 19:27:14 2018
New Revision: 341347
URL: https://svnweb.freebsd.org/changeset/base/341347
Log:
libcasper: do not fail if Capsicum is not avilable
Casper service can be also used on the kernels without Capsicum support.
Reported by: sbruno
Tested by:
1 - 100 of 340 matches
Mail list logo