Author: oshogbo
Date: Wed Apr 29 21:50:04 2015
New Revision: 282248
URL: https://svnweb.freebsd.org/changeset/base/282248
Log:
Style fixes.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
head/sys/sys/nv_impl.h
Modified: head/sys/kern/subr_nvlist.c
Author: oshogbo
Date: Wed Apr 29 21:54:34 2015
New Revision: 282249
URL: https://svnweb.freebsd.org/changeset/base/282249
Log:
Always use the nv_malloc macro instead of malloc(3).
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
Modified: head/sys/kern/subr_nvlist.c
Mariusz Zaborski osho...@freebsd.org born in Skierniewice, Poland,
1990
12/05 Ivan Voras ivo...@freebsd.org born in Slavonski Brod, Croatia, 1981
12/06 Stefan Farfeleder stef...@freebsd.org born in Wien, Austria, 1980
12/11 Ganael Laplanche marty...@freebsd.org born in Reims, France, 1980
Author: oshogbo
Date: Thu Apr 30 20:47:33 2015
New Revision: 282282
URL: https://svnweb.freebsd.org/changeset/base/282282
Log:
Rename macros to use prefix ERRNO. Add macro ERRNO_SET. Now
ERRNO_{RESTORE/SAVE} must by used together, additional variable is not
needed. Always use
among the same shlib
version.
Bumping the SHLIB_MAJOR or moving to PRIVATELIB will require adding the
libnv.so.0 to the ObsoleteFiles.inc OLD_FILES list.
Oh, I didn't notice that. Bumping the SHLIB_MAJOR also refers to library
which are only in HEAD?
Cheers,
Mariusz Zaborski
Author: oshogbo
Date: Thu Apr 30 20:50:42 2015
New Revision: 282283
URL: https://svnweb.freebsd.org/changeset/base/282283
Log:
Mark local function as static as a result of removing recursion.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
head/sys/sys/nvlist_impl.h
On 1 May 2015 at 13:56, Bjoern A. Zeeb b...@freebsd.org wrote:
Author: bz
Date: Fri May 1 11:56:21 2015
New Revision: 282298
URL: https://svnweb.freebsd.org/changeset/base/282298
Log:
Unreak DNS usage through libcapsicum, which broke, e.g., ping in r282252
with what looks like a copy
Author: oshogbo
Date: Sat May 2 17:45:52 2015
New Revision: 282346
URL: https://svnweb.freebsd.org/changeset/base/282346
Log:
Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that
specifies flags expected on the
Author: oshogbo
Date: Sat May 2 18:03:47 2015
New Revision: 282347
URL: https://svnweb.freebsd.org/changeset/base/282347
Log:
Introduce the NV_FLAG_NO_UNIQUE flag. When set, it allows to store
multiple values using the same key in a nvlist.
Approved by: pjd (mentor)
Obtained from:
Author: oshogbo
Date: Sat May 2 18:07:47 2015
New Revision: 282348
URL: https://svnweb.freebsd.org/changeset/base/282348
Log:
Add test case for unpack with diffrent flags.
Approved by: pjd (mentor)
Modified:
head/lib/libnv/tests/nv_tests.cc
Modified: head/lib/libnv/tests/nv_tests.cc
Author: oshogbo
Date: Sat May 2 18:12:34 2015
New Revision: 282350
URL: https://svnweb.freebsd.org/changeset/base/282350
Log:
nv_malloc can fail in userland.
Add check to prevent a NULL pointer dereference.
Pointed out by: mjg
Approved by: pjd (mentor)
Modified:
Author: oshogbo
Date: Sat May 2 18:10:45 2015
New Revision: 282349
URL: https://svnweb.freebsd.org/changeset/base/282349
Log:
Remove duplicated code using macro template for the nvlist_add_.* functions.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
Modified:
Author: oshogbo
Date: Fri May 1 16:31:54 2015
New Revision: 282302
URL: https://svnweb.freebsd.org/changeset/base/282302
Log:
Remove symlinks to the nvlist_.*[vf] functions.
This should be done with r282257 commit.
Approved by: pjd (mentor)
Modified:
head/ObsoleteFiles.inc
Author: oshogbo
Date: Fri May 1 17:50:24 2015
New Revision: 282312
URL: https://svnweb.freebsd.org/changeset/base/282312
Log:
Add nvlist_flags() function, which returns nvlist's public flags.
Approved by: pjd (mentor)
Modified:
head/lib/libnv/Makefile
head/lib/libnv/nv.3
Author: oshogbo
Date: Fri May 1 16:41:46 2015
New Revision: 282304
URL: https://svnweb.freebsd.org/changeset/base/282304
Log:
Sort MLINKS alphabetically.
Approved by: pjd (mentor)
Modified:
head/lib/libnv/Makefile
Modified: head/lib/libnv/Makefile
Author: oshogbo
Date: Wed Apr 29 22:33:53 2015
New Revision: 282253
URL: https://svnweb.freebsd.org/changeset/base/282253
Log:
Remove the use of nvlist_.*[vf] functions from casper and replace
them with snprintf(3). Assert the results of snprintf(3).
Approved by: pjd (mentor)
Modified:
Author: oshogbo
Date: Wed Apr 29 22:57:04 2015
New Revision: 282257
URL: https://svnweb.freebsd.org/changeset/base/282257
Log:
Remove the nvlist_.*[fv] functions.
Those functions are problematic, because there is no way to report
memory allocation problems without complicating the API,
)(malloc((size)):
So in user-land all checks are still needed in sys/kern/subr_nvlist.c.
Thanks,
Mariusz Zaborski
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all
On 30 April 2015 at 01:00, Garrett Cooper yaneurab...@gmail.com wrote:
On Apr 29, 2015, at 15:19, Mariusz Zaborski osho...@freebsd.org wrote:
Author: oshogbo
Date: Wed Apr 29 22:19:40 2015
New Revision: 282252
URL: https://svnweb.freebsd.org/changeset/base/282252
Log:
Remove
Author: oshogbo
Date: Wed Apr 29 22:19:40 2015
New Revision: 282252
URL: https://svnweb.freebsd.org/changeset/base/282252
Log:
Remove the use of nvlist_.*[vf] functions from libcapsicum and replace
them with snprintf(3). Assert the results of snprintf(3).
Approved by: pjd (mentor)
On 30 April 2015 at 00:28, Davide Italiano dav...@freebsd.org wrote:
On Wed, Apr 29, 2015 at 3:00 PM, Mariusz Zaborski osho...@freebsd.org
wrote:
Author: oshogbo
Date: Wed Apr 29 22:00:26 2015
New Revision: 282250
URL: https://svnweb.freebsd.org/changeset/base/282250
Log:
Nvlist
Author: oshogbo
Date: Wed Apr 29 22:00:26 2015
New Revision: 282250
URL: https://svnweb.freebsd.org/changeset/base/282250
Log:
Nvlist functionality is not used within interrupt context, so we should
use M_WAITOK to allocate memory.
Approved by: pjd (mentor)
Modified:
Author: oshogbo
Date: Wed Apr 29 22:15:02 2015
New Revision: 282251
URL: https://svnweb.freebsd.org/changeset/base/282251
Log:
Remove recursion from descriptor-related functions.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
Modified: head/sys/kern/subr_nvlist.c
Author: oshogbo
Date: Wed Apr 29 22:46:18 2015
New Revision: 282254
URL: https://svnweb.freebsd.org/changeset/base/282254
Log:
Remove the use of nvlist_.*[fv] functions from tests.
Approved by: pjd (mentor)
Modified:
head/lib/libnv/tests/dnv_tests.cc
head/lib/libnv/tests/nv_tests.cc
Author: oshogbo
Date: Wed Apr 29 22:59:44 2015
New Revision: 282258
URL: https://svnweb.freebsd.org/changeset/base/282258
Log:
Save errno from close override.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
head/sys/kern/subr_nvpair.c
Modified:
Author: oshogbo
Date: Mon Apr 27 17:33:00 2015
New Revision: 282101
URL: https://svnweb.freebsd.org/changeset/base/282101
Log:
Fix potential memory leak.
Pointed-out by: pfg
Approved by: pjd (mentor)
Modified:
head/libexec/casper/dns/dns.c
Modified:
Author: oshogbo
Date: Wed May 20 17:44:58 2015
New Revision: 283156
URL: https://svnweb.freebsd.org/changeset/base/283156
Log:
Always use the nv_free function.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
Modified: head/sys/kern/subr_nvlist.c
Author: oshogbo
Date: Wed May 20 17:42:40 2015
New Revision: 283155
URL: https://svnweb.freebsd.org/changeset/base/283155
Log:
Correct variable name in the interface.
Approved by: pjd (mentor)
Modified:
head/sys/sys/nvpair_impl.h
Modified: head/sys/sys/nvpair_impl.h
Author: oshogbo
Date: Wed May 20 17:48:22 2015
New Revision: 283158
URL: https://svnweb.freebsd.org/changeset/base/283158
Log:
Fix memory leak.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvlist.c
Modified: head/sys/kern/subr_nvlist.c
Author: oshogbo
Date: Wed May 20 17:47:01 2015
New Revision: 283157
URL: https://svnweb.freebsd.org/changeset/base/283157
Log:
Style.
Approved by: pjd (mentor)
Modified:
head/sys/kern/subr_nvpair.c
Modified: head/sys/kern/subr_nvpair.c
Author: oshogbo
Date: Sat Jul 4 16:33:37 2015
New Revision: 285139
URL: https://svnweb.freebsd.org/changeset/base/285139
Log:
Move the nvlist source and private includes from sys/kern to seperate
directory sys/contrib/libnv.
The goal of this operation is to NOT install header files
The Regents of the University of California.
+.\ Copyright (c) 2015 Mariusz Zaborski osho...@freebsd.org
+.\ All rights reserved.
.\
.\ This code is derived from software contributed to Berkeley by
.\ Chris Torek and the American National Standards Committee X3,
@@ -32,11 +33,12
On Sat, Jul 04, 2015 at 07:33:55PM +0200, Tijl Coosemans wrote:
On Sat, 4 Jul 2015 16:42:15 + (UTC) Mariusz Zaborski
osho...@freebsd.org wrote:
Author: oshogbo
Date: Sat Jul 4 16:42:14 2015
New Revision: 285140
URL: https://svnweb.freebsd.org/changeset/base/285140
Log:
Add
Author: oshogbo
Date: Thu Jul 2 21:46:07 2015
New Revision: 285062
URL: https://svnweb.freebsd.org/changeset/base/285062
Log:
Add stddef.h for size_t typedef.
Approved by: pjd (mentor)
Modified:
head/sys/sys/dnv.h
Modified: head/sys/sys/dnv.h
Author: oshogbo
Date: Thu Jul 2 21:58:10 2015
New Revision: 285063
URL: https://svnweb.freebsd.org/changeset/base/285063
Log:
Let the nv.h and dnv.h includes be only in sys directory.
Change consumers to include those files from sys.
Add duplicated files to ObsoleteFiles.
Approved
Author: oshogbo
Date: Sat Jul 4 10:27:30 2015
New Revision: 285129
URL: https://svnweb.freebsd.org/changeset/base/285129
Log:
Move nvlist documentation to the FreeBSD Kernel Developer's sections.
Approved by: pjd (mentor)
Added:
head/share/man/man9/nv.9
- copied, changed from
Author: oshogbo
Date: Sat Jul 4 10:33:33 2015
New Revision: 285130
URL: https://svnweb.freebsd.org/changeset/base/285130
Log:
Remove non-existent dnvlist functions.
Approved by: pjd (mentor)
Modified:
head/sys/sys/dnv.h
Modified: head/sys/sys/dnv.h
On Thu, Aug 13, 2015 at 03:49:30PM +0300, Gleb Smirnoff wrote:
On Wed, Aug 12, 2015 at 08:08:54PM +, Mariusz Zaborski wrote:
M Author: oshogbo
M Date: Wed Aug 12 20:08:54 2015
M New Revision: 286698
M URL: https://svnweb.freebsd.org/changeset/base/286698
M
M Log:
M When the wait*(2
Author: oshogbo
Date: Tue Aug 11 17:54:51 2015
New Revision: 286644
URL: https://svnweb.freebsd.org/changeset/base/286644
Log:
Don't set parent if the unpack operation fail. In some
case this could crash the library, because of the NULL pointer references.
Discovered thanks to american
Author: oshogbo
Date: Tue Aug 11 17:24:34 2015
New Revision: 286641
URL: https://svnweb.freebsd.org/changeset/base/286641
Log:
Use correct src/dst ports when removing states.
Submitted by: Milosz Kaniewski m.kaniew...@wheelsystems.com,
UMEZAWA Takeshi umez...@iij.ad.jp
Author: oshogbo
Date: Tue Aug 11 17:41:32 2015
New Revision: 286642
URL: https://svnweb.freebsd.org/changeset/base/286642
Log:
Make the nvlist_next(9) function handle NULL pointer variable.
This simplifies removing the first element from nvlist.
Reviewed by: AllanJude
Approved by:
Author: oshogbo
Date: Tue Aug 11 18:17:31 2015
New Revision: 286646
URL: https://svnweb.freebsd.org/changeset/base/286646
Log:
If any function fail (the ptr variable will be equal to NULL), we shouldn't
return buffer. Instead we should free it and return NULL.
Approved by: pjd (mentor)
Author: oshogbo
Date: Tue Aug 11 18:01:10 2015
New Revision: 286645
URL: https://svnweb.freebsd.org/changeset/base/286645
Log:
The nvlist_move_nvpair() function can fail in two cases, if:
- the nvlist error is set, or
- the nvlist case ignore flag is not set and there is attend to
add
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libnv/tests/nv_array_tests.cc Sat Aug 15 06:34:49 2015
(r286796)
@@ -0,0 +1,1191 @@
+/*-
+ * Copyright (c) 2015 Mariusz Zaborski osho
Author: oshogbo
Date: Wed Aug 12 20:08:54 2015
New Revision: 286698
URL: https://svnweb.freebsd.org/changeset/base/286698
Log:
When the wait*(2) syscalls wait for any process (P_ALL), they should
ignore processes created with the pdfork(2) syscall.
PR: 201054
Approved by:
On Thu, Jul 09, 2015 at 01:29:54PM -0700, Peter Wemm wrote:
You have broken kernel builds for the freebsd.org cluster. By renaming
subr_nvlist.o to nvlist.o you now cause:
Please check if everything is working after 285339.
Sorry for troubles.
Cheers,
Mariusz
pgp9dm3v7s0xP.pgp
Author: oshogbo
Date: Thu Jul 9 21:53:40 2015
New Revision: 285339
URL: https://svnweb.freebsd.org/changeset/base/285339
Log:
Rename zfs nvpair files to not colidate with our nvlist.
PR: 201356
Approved by: pjd (mentor)
Added:
Author: oshogbo
Date: Wed Jun 8 22:30:21 2016
New Revision: 301701
URL: https://svnweb.freebsd.org/changeset/base/301701
Log:
Fix spelling of the casper introduced in the r296047.
PR: 210031
Reported by: AllanJude, jmallett
Modified:
head/contrib/tcpdump/addrtoname.c
Author: oshogbo
Date: Wed Jun 8 23:22:59 2016
New Revision: 301705
URL: https://svnweb.freebsd.org/changeset/base/301705
Log:
The code responsible for opening and rotating pcap files is independent
of Capser and should use openat(2) unconditionally on FreeBSD.
openat(2) is mandatory when
Author: oshogbo
Date: Wed Jun 8 02:09:14 2016
New Revision: 301573
URL: https://svnweb.freebsd.org/changeset/base/301573
Log:
Introduce the PD_CLOEXEC for pdfork(2).
Reviewed by: mjg
Modified:
head/lib/libc/sys/pdfork.2
head/sys/kern/kern_fork.c
head/sys/kern/sys_procdesc.c
Author: oshogbo
Date: Wed Jun 8 02:03:53 2016
New Revision: 301572
URL: https://svnweb.freebsd.org/changeset/base/301572
Log:
Add flags to the Casper services.
CASPER_SERVICE_STDIO - Casper will not close the first three descriptors
(stdin,
stdout and stderr) this
Author: oshogbo
Date: Mon Jun 13 00:03:55 2016
New Revision: 301844
URL: https://svnweb.freebsd.org/changeset/base/301844
Log:
Don't close fd if it's lower then stderr, otherwise we can close
one of the descriptor which we just set.
Pointed out by: jilles
Approved by:
On Fri, Jun 10, 2016 at 04:47:28PM +0200, Jilles Tjoelker wrote:
> On Wed, Jun 08, 2016 at 02:03:53AM +0000, Mariusz Zaborski wrote:
> > Author: oshogbo
> > Date: Wed Jun 8 02:03:53 2016
> > New Revision: 301572
> > URL: https://svnweb.freebsd.org/changeset/base/301572
Author: oshogbo
Date: Thu Jun 9 20:23:30 2016
New Revision: 301757
URL: https://svnweb.freebsd.org/changeset/base/301757
Log:
Define tunable instead of using CTLFLAG_RWTUN flag with kern.corefile.
The allproc_lock lock used in the sysctl_kern_corefile function is initialized
in the
Author: oshogbo
Date: Wed Jun 1 19:49:38 2016
New Revision: 301159
URL: https://svnweb.freebsd.org/changeset/base/301159
Log:
Document behavior of wait introduced in the r286698.
Suggested by: glebius
Reviewed by: wblock, bjk
Differential Revision:
Author: oshogbo
Date: Wed Jun 1 19:54:17 2016
New Revision: 301161
URL: https://svnweb.freebsd.org/changeset/base/301161
Log:
Fix the library name.
Reviewed by: bdrewery
Modified:
head/share/mk/src.libnames.mk
Modified: head/share/mk/src.libnames.mk
Thank you!
On 24 February 2016 at 00:38, Bryan Drewery <bdrew...@freebsd.org> wrote:
> On 2/23/2016 2:02 PM, Mariusz Zaborski wrote:
> > Author: oshogbo
> > Date: Tue Feb 23 22:02:25 2016
> > New Revision: 295934
> > URL: https://svnweb.freebsd.org/
Author: oshogbo
Date: Tue Feb 23 22:02:25 2016
New Revision: 295934
URL: https://svnweb.freebsd.org/changeset/base/295934
Log:
According to the sys/kern/capabilities.conf, gethostid(3) should be allowed.
Pointed out by: Milosz Kaniewski
Approved by:
ity mode");
+
+/* Use Casper capability to create capability to the system.dns service. */
+capdns = cap_service_open(capcas, "system.dns");
+if (capdns == NULL)
+ err(1, "Unable to open system.dns service");
+
+/* Close Casper capability, we don't need it anym
Author: oshogbo
Date: Sat Feb 27 14:45:32 2016
New Revision: 296140
URL: https://svnweb.freebsd.org/changeset/base/296140
Log:
Remove reaming files of the Casper daemon.
Reported by:emaste
Approved by: pjd (mentor)
Deleted:
head/libexec/casper/
Thank you. I on it.
On 26 February 2016 at 16:55, Shawn Webb <shawn.w...@hardenedbsd.org> wrote:
> On Thu, Feb 25, 2016 at 06:23:40PM +, Mariusz Zaborski wrote:
> > Author: oshogbo
> > Date: Thu Feb 25 18:23:40 2016
> > New Revision: 296047
> > URL: https://
Author: oshogbo
Date: Thu Apr 14 18:27:10 2016
New Revision: 297982
URL: https://svnweb.freebsd.org/changeset/base/297982
Log:
Set NULL to the ai_next pointer which fix cap_getaddrinfo().
Add regression test case.
PR: 195551
Submitted by: Mikhail
Author: oshogbo
Date: Wed Aug 3 18:04:08 2016
New Revision: 303727
URL: https://svnweb.freebsd.org/changeset/base/303727
Log:
uuid_to_string(3) is allocating memory and can fail on that.
Check if any error accrued.
Modified:
head/bin/uuidgen/uuidgen.c
Modified: head/bin/uuidgen/uuidgen.c
Author: oshogbo
Date: Wed Aug 3 18:02:10 2016
New Revision: 303725
URL: https://svnweb.freebsd.org/changeset/base/303725
Log:
Fix misleading description of the -b option in the geli init command.
Reviewed by: bjk, wblock
Differential Revision:
Author: oshogbo
Date: Sun Jul 17 15:29:31 2016
New Revision: 302965
URL: https://svnweb.freebsd.org/changeset/base/302965
Log:
Fix memory leak in the nvlist string array.
Submitted by: Adam Starak
MFC after:1 week
Modified:
head/sys/contrib/libnv/nvpair.c
Author: oshogbo
Date: Sun Jul 17 15:36:02 2016
New Revision: 302966
URL: https://svnweb.freebsd.org/changeset/base/302966
Log:
Fix nvlist array memory leak.
When we change nvl_array_next to NULL it means that we want to destroy or
take nvlist_array. The nvpair, which stores next nvlist
Author: oshogbo
Date: Mon Aug 8 06:29:25 2016
New Revision: 303825
URL: https://svnweb.freebsd.org/changeset/base/303825
Log:
MFC r302965:
Fix memory leak in the nvlist string array.
Submitted by: Adam Starak
Approved by:re (gjb)
Modified:
Author: oshogbo
Date: Mon Aug 8 06:33:57 2016
New Revision: 303826
URL: https://svnweb.freebsd.org/changeset/base/303826
Log:
MFC r302966:
Fix nvlist array memory leak.
When we change nvl_array_next to NULL it means that we want to destroy
or take nvlist_array. The nvpair, which
Author: oshogbo
Date: Mon Feb 20 23:48:50 2017
New Revision: 314000
URL: https://svnweb.freebsd.org/changeset/base/314000
Log:
Capsicumize traceroute.
PR:193973
Submitted by: Mikhail
Reviewed by: pjd, bapt, emaste, AllanJude
Differential Revision:
Author: oshogbo
Date: Sat Feb 25 18:14:32 2017
New Revision: 314275
URL: https://svnweb.freebsd.org/changeset/base/314275
Log:
Remove unused macro from common/drv.c.
When we was compering it to code from boot2 it also looks like
this code is buggy and boot2 was never updated to use this
Author: oshogbo
Date: Tue Feb 28 20:51:20 2017
New Revision: 314410
URL: https://svnweb.freebsd.org/changeset/base/314410
Log:
The kern.geom.part.auto_resize should be tunable.
Modified:
head/sys/geom/part/g_part.c
Modified: head/sys/geom/part/g_part.c
On Mon, Feb 27, 2017 at 05:54:01PM +, Mariusz Zaborski wrote:
> Author: oshogbo
> Date: Mon Feb 27 17:54:01 2017
> New Revision: 314359
> URL: https://svnweb.freebsd.org/changeset/base/314359
>
> Log:
> Add sysctl to control auto resize of the GEOM metada
Author: oshogbo
Date: Mon Feb 27 17:54:01 2017
New Revision: 314359
URL: https://svnweb.freebsd.org/changeset/base/314359
Log:
Add sysctl to control auto resize of the GEOM metadata.
Reviewed by: AllanJude
Differential Revision:https://reviews.freebsd.org/D9603
Modified:
Author: oshogbo
Date: Sun Feb 26 22:07:26 2017
New Revision: 314319
URL: https://svnweb.freebsd.org/changeset/base/314319
Log:
Don't try to open devices in the gettc() function which will always
fail in the Capability mode. Instead silently fallback to the syscall
method, which is done for
Author: oshogbo
Date: Sun Feb 26 22:15:39 2017
New Revision: 314320
URL: https://svnweb.freebsd.org/changeset/base/314320
Log:
Remove unneeded variable initialization from r314319.
Pointed out by: kib
Modified:
head/lib/libc/x86/sys/__vdso_gettc.c
Modified:
Author: oshogbo
Date: Tue Aug 30 19:58:41 2016
New Revision: 305084
URL: https://svnweb.freebsd.org/changeset/base/305084
Log:
Fix Capsicum syscalls test suite.
Modified:
head/tools/regression/capsicum/syscalls/cap_fcntls_limit.c
head/tools/regression/capsicum/syscalls/cap_ioctls_limit.c
On Tue, Aug 30, 2016 at 06:04:50PM -0700, Ngie Cooper wrote:
> On Tue, Aug 30, 2016 at 12:58 PM, Mariusz Zaborski <osho...@freebsd.org>
> wrote:
> > Author: oshogbo
> > Date: Tue Aug 30 19:58:41 2016
> > New Revision: 305084
> > URL: https://svnweb.freebsd.o
Thanks for that!
On 8 September 2016 at 23:59, Jung-uk Kim wrote:
> Author: jkim
> Date: Thu Sep 8 21:59:34 2016
> New Revision: 305629
> URL: https://svnweb.freebsd.org/changeset/base/305629
>
> Log:
> Add new directories added in r305626 to fix "make installworld".
>
>
Author: oshogbo
Date: Thu Sep 8 20:01:26 2016
New Revision: 305626
URL: https://svnweb.freebsd.org/changeset/base/305626
Log:
Move libcasper tests from regression/capsicum/libcasper/ to
lib/libcasper/service/${service_name}/tests.
Reviewed by: emaste, ngie
Differential Revision:
Author: oshogbo
Date: Mon Sep 12 22:46:19 2016
New Revision: 305756
URL: https://svnweb.freebsd.org/changeset/base/305756
Log:
fd: add fget_cap and fget_cap_locked primitives
They can be used to obtain capabilities along with a referenced fp.
Reviewed by: mjg@
Modified:
Author: oshogbo
Date: Wed Oct 5 16:23:02 2016
New Revision: 306707
URL: https://svnweb.freebsd.org/changeset/base/306707
Log:
Fix naming in Casper man page.
Modified:
head/lib/libcasper/libcasper/libcasper.3
Modified: head/lib/libcasper/libcasper/libcasper.3
Author: oshogbo
Date: Tue Oct 4 13:33:43 2016
New Revision: 306673
URL: https://svnweb.freebsd.org/changeset/base/306673
Log:
libcapsicum: limit stderr
Don't limit stdout twice, instead limit stderr.
Pointed out by: rpokala@
Modified:
head/lib/libcapsicum/capsicum_helpers.h
Author: oshogbo
Date: Fri Oct 7 17:56:57 2016
New Revision: 306813
URL: https://svnweb.freebsd.org/changeset/base/306813
Log:
Remove the duplicated code using Capsicum helpers.
Reviewed by: cem, ed, bapt, emaste
Differential Revision https://reviews.freebsd.org/D8140
Modified:
Author: oshogbo
Date: Fri Oct 7 19:02:13 2016
New Revision: 306820
URL: https://svnweb.freebsd.org/changeset/base/306820
Log:
Restrict stdin if it's not in use.
Reviewed by: emaste, cem
Differential Revision:https://reviews.freebsd.org/D8184
Modified:
head/usr.bin/cmp/cmp.c
Author: oshogbo
Date: Wed Oct 5 19:01:00 2016
New Revision: 306716
URL: https://svnweb.freebsd.org/changeset/base/306716
Log:
Add man page for dnvlist.
Submitted by: Adam Starak
Reviewed by: cem, wblock
Added:
head/share/man/man9/dnv.9 (contents, props
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/libcapsicum/capsicum_helpers.3 Wed Oct 5 20:02:34 2016
(r306726)
@@ -0,0 +1,110 @@
+.\" Copyright (c) 2016 Mariusz Zaborski <osho...@freebsd.org>
+.\" All
porting you?
>> >
>> >
>> > On 22 September 2016 at 16:56, Ruslan Bukin <ruslan.bu...@cl.cam.ac.uk>
>> > wrote:
>> > > May be. The next line should be
>> > > /etc/rc: WARNING: $hostname is not set -- see rc.conf(5).
>> > >
Author: oshogbo
Date: Fri Sep 23 08:13:46 2016
New Revision: 306232
URL: https://svnweb.freebsd.org/changeset/base/306232
Log:
fd: fix up fget_cap
If the kernel is not compiled with the CAPABILITIES kernel options
fget_unlocked doesn't return the sequence number so fd_modify will
gt;
> Ruslan
>
> On Thu, Sep 22, 2016 at 09:58:46AM +, Mariusz Zaborski wrote:
>> Author: oshogbo
>> Date: Thu Sep 22 09:58:46 2016
>> New Revision: 306174
>> URL: https://svnweb.freebsd.org/changeset/base/306174
>>
>> Log:
>> capsicum: pro
Author: oshogbo
Date: Thu Sep 22 09:58:46 2016
New Revision: 306174
URL: https://svnweb.freebsd.org/changeset/base/306174
Log:
capsicum: propagate rights on accept(2)
Descriptor returned by accept(2) should inherits capabilities rights from
the listening socket.
PR: 201052
Author: oshogbo
Date: Thu Sep 22 11:54:20 2016
New Revision: 306184
URL: https://svnweb.freebsd.org/changeset/base/306184
Log:
fd: simplify fgetvp_rights by using fget_cap_locked
Reviewed by: mjg
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
/rc: WARNING: $hostname is not set -- see rc.conf(5).
>
> but it hangs before this line
>
> Ruslan
>
> On Thu, Sep 22, 2016 at 04:39:16PM +0200, Mariusz Zaborski wrote:
>> Hi Ruslan,
>>
>> Does it hang on some network script?
>>
>> Thanks,
>> Mariu
] Error code 1
>
> make[4]: stopped in /usr/home/adrian/work/freebsd/head-embedded/src/lib/libnv
> 1 error
>
>
>
> -a
>
>
> On 27 August 2016 at 08:22, Mariusz Zaborski <osho...@freebsd.org> wrote:
>> Author: oshogbo
>> Date: Sat Aug 27 15:22:55 2016
>&g
Author: oshogbo
Date: Sun Aug 28 07:40:11 2016
New Revision: 304952
URL: https://svnweb.freebsd.org/changeset/base/304952
Log:
Remove duplicated declaration.
Reported by: adrian@
Modified:
head/sys/sys/cnv.h
Modified: head/sys/sys/cnv.h
Author: oshogbo
Date: Sat Aug 27 13:40:27 2016
New Revision: 304909
URL: https://svnweb.freebsd.org/changeset/base/304909
Log:
Fix style issue in the cnv API.
Remove unused arguments in a macro.
Remove unused typedef.
Modified:
head/lib/libnv/tests/Makefile
Author: oshogbo
Date: Sat Aug 27 13:47:52 2016
New Revision: 304910
URL: https://svnweb.freebsd.org/changeset/base/304910
Log:
Introduce cnv man page.
Submitted by: Adam Starak
Reviewed by: cem@, wblock@
Differential Revision:
Author: oshogbo
Date: Sat Aug 27 13:37:30 2016
New Revision: 304908
URL: https://svnweb.freebsd.org/changeset/base/304908
Log:
Add cnv API.
cnv API is a set of functions for managing name/value pairs by cookie.
The cookie can be obtained by nvlist_next(), nvlist_get_parent() or
Author: oshogbo
Date: Sat Aug 27 15:22:55 2016
New Revision: 304912
URL: https://svnweb.freebsd.org/changeset/base/304912
Log:
Add missed header file for cnv.h .
Submitted by: Adam Starak
Reported by: ache@
Added:
head/sys/sys/cnv.h (contents, props changed)
Author: oshogbo
Date: Sat Aug 27 18:08:25 2016
New Revision: 304915
URL: https://svnweb.freebsd.org/changeset/base/304915
Log:
Bump date in the man page.
Modified:
head/share/man/man9/cnv.9
Modified: head/share/man/man9/cnv.9
Some inline comments :)
Cheers,
Mariusz
[...]
> +libifc_handle_t *
> +libifc_open(void)
> +{
> + struct libifc_handle *h;
> +
> + h = calloc(1, sizeof(struct libifc_handle));
This can fail, and we are using NULL references.
> +
> + for (int i = 0; i <= AF_MAX; i++) {
> +
1 - 100 of 388 matches
Mail list logo