search for: lnbd

Displaying 13 results from an estimated 13 matches for "lnbd".

Did you mean: gnbd
2020 Mar 12
2
[libnbd PATCH] lib: remove extra @LIBS@ from pkg-config file
...in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libnbd.pc.in b/lib/libnbd.pc.in index ba91f49..294c090 100644 --- a/lib/libnbd.pc.in +++ b/lib/libnbd.pc.in @@ -8,4 +8,4 @@ Version: @PACKAGE_VERSION@ Description: NBD client library in userspace Requires: Cflags: -Libs: -lnbd @LIBS@ +Libs: -lnbd -- 2.24.1
2020 Mar 18
6
Re: Fuzzing Questions
On Wed, Mar 18, 2020 at 01:46:14PM -0400, habib dan aouta wrote: > Hello Richard, > > Hope you are doing well. My name is Habib and I am current student > at the University of North Carolina at Charlotte(U.S). I am > currently following your Libnbd client fuzzing tutorial from the > Wordpress articles
2020 Mar 12
0
Re: [libnbd PATCH] lib: remove extra @LIBS@ from pkg-config file
...ion(-) > > diff --git a/lib/libnbd.pc.in b/lib/libnbd.pc.in > index ba91f49..294c090 100644 > --- a/lib/libnbd.pc.in > +++ b/lib/libnbd.pc.in > @@ -8,4 +8,4 @@ Version: @PACKAGE_VERSION@ > Description: NBD client library in userspace > Requires: > Cflags: > -Libs: -lnbd @LIBS@ > +Libs: -lnbd ACK Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
2020 Mar 18
0
Re: Fuzzing Questions
...wrapper.c:130:3: warning: implicit declaration of function 'nbd_connect_socket' [-Wimplicit-function-declaration] nbd_connect_socket (nbd, sock); I also added the #include<libnbd.h> into the Libnbd-fuzz-wrapper.c but still getting the same error. Finally I ran this command : ld -lnbd —verbose and I found out libnbd library is missing attempt to open //usr/local/lib/x86_64-linux-gnu/libnbd.so failed attempt to open //usr/local/lib/x86_64-linux-gnu/libnbd.a failed attempt to open //lib/x86_64-linux-gnu/libnbd.so failed attempt to open //lib/x86_64-linux-gnu/libnbd.a failed attemp...
2020 Mar 18
0
Re: Fuzzing Question
...wrapper.c:130:3: warning: implicit declaration of function 'nbd_connect_socket' [-Wimplicit-function-declaration] nbd_connect_socket (nbd, sock); I also added the #include<libnbd.h> into the Libnbd-fuzz-wrapper.c but still getting the same error. Finally I ran this command : ld -lnbd —verbose and I found out libnbd library is missing attempt to open //usr/local/lib/x86_64-linux-gnu/libnbd.so failed attempt to open //usr/local/lib/x86_64-linux-gnu/libnbd.a failed attempt to open //lib/x86_64-linux-gnu/libnbd.so failed attempt to open //lib/x86_64-linux-gnu/libnbd.a failed attemp...
2020 Mar 12
0
[PATCH libnbd 2/3] build: Allow C programs using libnbd to be compiled against build dir.
...correctly. + +prefix=@abs_top_builddir@ +exec_prefix=@abs_top_builddir@ +libdir=@abs_top_builddir@/lib/.libs +includedir=@abs_top_srcdir@/include + +Name: @PACKAGE_NAME@ +Version: @PACKAGE_VERSION@ +Description: NBD client library in userspace +Requires: +Cflags: -I${includedir} +Libs: -L${libdir} -lnbd diff --git a/run.in b/run.in index 599752d..a7a2850 100755 --- a/run.in +++ b/run.in @@ -1,6 +1,6 @@ #!/usr/bin/env bash # libnbd 'run' programs locally script -# Copyright (C) 2011-2019 Red Hat Inc. +# Copyright (C) 2011-2020 Red Hat Inc. # # @configure_input@ # @@ -35,6 +35,12 @@ #...
2020 Mar 12
5
[PATCH libnbd 1/3] tests: Don't use <config.h> in simple compile tests.
For these simple compile tests where we want to ensure that a basic external program could be compiled using libnbd, we shouldn't include <config.h>. This is because we want to test here that <libnbd.h> can stand alone, without needing anything defined by the GNU autotools infrastructure. Of course we can use <config.h> in other test programs where we aren't evaluating
2020 Mar 17
0
[PATCH libnbd] Add outline framework for Go language bindings (golang).
...e Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + *) + +(* Go language bindings. *) + +open Printf + +open API +open Utils + +let generate_golang_libnbd_go () = + generate_header CStyle; + + pr "\ +package libnbd + +/* +#cgo CFLAGS: +#cgo LDFLAGS: -lnbd +#include <config.h> +#include <stdio.h> +#include <stdlib.h> +#include \"libnbd.h\" +*/ +import \"C\" + +import ( + \"fmt\" + \"runtime\" + \"syscall\" +) + +/* Handle. */ +type Libnbd struct { + h *C.struct_nbd_handle...
2020 Mar 17
5
[PATCH libnbd v2 0/3] Unfinished golang bindings.
These bindings get as far as running very simple connections. However there are many missing parts still: * No callbacks. * No functions which handle buffers (pread/pwrite!) This is posted just for general early interest, not even for review. Rich.
2020 Mar 17
0
[PATCH libnbd v2 2/3] Add outline framework for Go language bindings (golang).
...e Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + *) + +(* Go language bindings. *) + +open Printf + +open API +open Utils + +let generate_golang_libnbd_go () = + generate_header CStyle; + + pr "\ +package libnbd + +/* +#cgo CFLAGS: +#cgo LDFLAGS: -lnbd + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include \"libnbd.h\" + +struct error { + char *error; + int errnum; +}; + +static void +save_error (struct error *err) +{ + err->error = strdup (nbd_get_error ()); + e...
2019 May 30
5
[nbdkit PATCH 0/4] Play with libnbd for nbdkit-add
Patch 1 played with an early draft of Rich's Fedora 30 libnbd package: https://bugzilla.redhat.com/show_bug.cgi?id=1713767#c17 Note that comment 21 provides a newer package 0.1.1-1 with a different API; and that libnbd has more unreleased API changes in the pipeline (whether that will be called 0.2 or 0.1.2); so we'll have to tweak things based on what is actually available in distros.
2019 Jun 02
5
[nbdkit PATCH v2 0/5] Play with libnbd for nbdkit-nbd
libnbd-0.1.2-1 is now available in Fedora 29/30 updates-testing, although it was not compiled against libxml2 so it lacks uri support (I ended up testing patch 4 with a self-built libnbd). Diffs since v1 - rebase to master, bump from libnbd 0.1 to 0.1.2, add URI support, better timing results Still not done - patch 5 needs associated tests Eric Blake (5): nbd: Check for libnbd nbd:
2019 Jun 12
8
[nbdkit PATCH v3 0/5] Play with libnbd for nbdkit-nbd
libnbd-0.1.4-1 is now available in Fedora 29/30 updates testing. Diffs since v2 - rebase to master, bump from libnbd 0.1.2 to 0.1.3+, add tests to TLS usage which flushed out the need to turn relative pathnames into absolute, doc tweaks Now that the testsuite covers TLS and libnbd has been fixed to provide the things I found lacking when developing v2, I'm leaning towards pushing this on