similar to: [PATCH] daemon: Don't xdr_free uninitialized args struct on error paths.

Displaying 20 results from an estimated 100 matches similar to: "[PATCH] daemon: Don't xdr_free uninitialized args struct on error paths."

2017 Apr 20
6
[PATCH 0/5] generator: daemon: Various simplifications to stubs code.
This is a series of simplifications to the stubs code. It's all refactoring, there is no functional change. Rich.
2003 Oct 20
0
AFS via Samba compile problem
Hi folks, I'd like to compile samba-3.0.1pre1 --with-afs to reach my afs filesystem thru samba. Maybe it's not samba related bug but I hope if somebody can help me. Compiling auth/pampass.c auth/pampass.c: In function `make_pw_chat': auth/pampass.c:224: warning: passing arg 1 of `next_token' from incompatible poi nter type auth/pampass.c:235: warning: passing arg 1 of
2017 Apr 25
0
[PATCH] daemon: Use CLEANUP_* functions to avoid an explicit free in stub functions.
--- generator/daemon.ml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/generator/daemon.ml b/generator/daemon.ml index b00627063..9d5ba00b2 100644 --- a/generator/daemon.ml +++ b/generator/daemon.ml @@ -155,13 +155,13 @@ let generate_daemon_stubs actions () = | RBool _ -> pr " int r;\n" | RConstString _ | RConstOptString _
1999 May 14
0
Problems Building Samba 2.0.3 --with-afs
Hi all, I'm going nuts. Ken Weiss and Steve Holstead have been very nice to me and supplied me with info on how to set my configure files and such. It helped me a lot but I still get stuck a bit later in the process. Namely during pass_check.c. I'm on a AIX 4.1.5 box. Using the export version of AFS 3.4. Help is appreciated. I wouldn't ask you all this if I hadn't already spent
2014 Jan 16
3
LVM mounting issue
Hello, It's me again with one more misunderstanding of libguestfs usage... Guestfish (as well as python libguestfs module) refuse to mount logical volume containing the root partition of the VM's filesystem. According to this short guide<http://rwmj.wordpress.com/2009/04/07/libguestfs-lvm-support/> I am trying to mount /dev/vg_kojit/lv_root as "/", but nothing works:
2009 Sep 24
1
enabling more syntax-checks
The first c-set cleans up the list of excluded syntax-checks. The second enables the sc_avoid_ctype_macros test and changes each use of a ctype macro like isspace to c_isspace. This makes it so such tests (often parsing-related) is locale-independent. Otherwise, in some odd corner cases (combination of non-C locale and perverted inputs), I suspect that libguestfs tools would mistakenly accept
2017 Mar 10
2
[PATCH 1/2] daemon: generate cleanup handlers for structs
This way it is possible to cleanup properly structs in the daemon, when using them within other daemon functions. --- .gitignore | 2 + daemon/Makefile.am | 4 ++ daemon/daemon.h | 1 + generator/daemon.ml | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++ generator/daemon.mli | 2 + generator/main.ml | 4 ++ 6 files changed, 114 insertions(+) diff --git
2004 Apr 08
0
Error building Samba 3.0.2a
While building Samba 3 for SuSE linux 9.0 I have a problem with the AFS component (it builds fine if I omit the --with-afs and --with-fake-kaserver options). During configure I did get a warning: checking whether to use AFS clear-text auth... yes checking whether to use AFS fake-kaserver... yes checking for /usr/include/afs... yes checking afs.h usability... no checking afs.h presence... no
2014 Jan 16
0
Re: LVM mounting issue
On Thu, Jan 16, 2014 at 03:57:50PM +0000, Исаев Виталий Анатольевич wrote: > Hello, It's me again with one more misunderstanding of libguestfs usage... > Guestfish (as well as python libguestfs module) refuse to mount logical volume containing the root partition of the VM's filesystem. > According to this short
2010 Jun 01
0
Compiling Samba 3.0.37 --with-afs (Steve Linehan)
> I do not know how to proceed. I tried to comment out the line in the spec file to no avail. this is bad idea ;) > Any suggestions? OpenAFS is not supplied directly by CentOS/RHEL. You would have had to get it from a 3rd party repo such as ATrpms/DAG or install from http://openafs.org/release/1.4.12/index-rhel5.html # cd /tmp/ # wget http://samba.org/samba/ftp/stable/samba-3.4.8.tar.gz
2014 Dec 02
0
Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
On Tue, Dec 02, 2014 at 07:11:55PM +0200, Nikos Skalkotos wrote: > Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> > --- > src/inspect-fs-unix.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c > index 01a59f1..f55e53b 100644 > --- a/src/inspect-fs-unix.c > +++ b/src/inspect-fs-unix.c
1999 Apr 22
0
Samba and NIS+ (lengthy desperate plea)
Hi everyone, Let me briefly describe my setup. I work at a small university and we are setting up 3 labs. 2 are filled with Ultra Sparc 5's, and the 3rd will be filled with PCs running NT4 workstation. We have an Enterprise Server 3500 running NIS+ to authenticate the Unix labs (or rather we will, once I get it working), and I'd like to set up Samba to authenticate the NT labs using
2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
>From 6f128e90afb055f9899011c4a592eb289e678936 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Thu, 19 Nov 2009 11:39:10 +0100 Subject: [PATCH libguestfs] syntax-check: expand TABs in generator.ml * src/generator.ml: Expand leading TABs to spaces. --- src/generator.ml | 46 +++++++++++++++++++++++----------------------- 1 files changed, 23 insertions(+), 23
2014 Jan 17
2
Re: LVM mounting issue
-----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Thursday, January 16, 2014 8:58 PM To: Исаев Виталий Анатольевич Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] LVM mounting issue On Thu, Jan 16, 2014 at 03:57:50PM +0000, Исаев Виталий Анатольевич wrote: > Hello, It's me again with one more misunderstanding of libguestfs usage... > Guestfish
2014 Dec 03
2
Re: [synnefo-devel] Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
Hello, I've been trying to run the tests from master, before applying my patches and it's not not working. I always get this: # make -C tests/mountable check make: Entering directory `/root/src/libguestfs/tests/mountable' make test-internal-parse-mountable make[1]: Entering directory `/root/src/libguestfs/tests/mountable' make[1]: `test-internal-parse-mountable' is up to
2017 Aug 03
0
[PATCH 3/6] daemon: Refine check for Device and Dev_or_Path parameters (RHBZ#1477623).
For Device parameters we expect a block device name. However we were only testing for "/dev/..." and so chardevs (from the appliance) could be passed here, resulting in strange effects. This adds a function is_device_parameter which tests for a valid block device name. For Dev_or_Path parameters much the same, except we can also use the is_device_parameter function elsewhere in the
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
Per discussion on IRC, here are two changes to convert all TABs-as-indentation to spaces. The first one is the fully-automated conversion. However, note that the command mentioned uses a file (the .x-sc* one) that is added only in the following patch. The second patch adds rules to help keep things that way: Document and enforce the new spaces-only indentation policy. * cfg.mk
2013 Feb 07
12
[PATCH 01/12] generator: Add new Mountable argument type
This type is initially identical to Device. --- generator/bindtests.ml | 2 +- generator/c.ml | 7 +++++-- generator/csharp.ml | 6 ++++-- generator/daemon.ml | 4 ++-- generator/erlang.ml | 6 +++--- generator/fish.ml | 8 ++++---- generator/gobject.ml | 11 ++++++----- generator/haskell.ml | 11 +++++++---- generator/java.ml | 10 +++++-----
2014 Oct 01
0
Useful tip: Run guestfsd under gdb and print stack trace on exit
Useful for tracking down segfaults in the daemon. This is not upstreamable right now. Example usage: $ ./run guestfish -v -x -a /dev/null run : debug segv "" [...] libguestfs: trace: launch = 0 libguestfs: trace: debug "segv" "" guestfsd: main_loop: new request, len 0x34 Program received signal SIGSEGV, Segmentation fault. debug_segv (subcmd=0x4687050
2014 Dec 02
2
[PATCH 1/5] Remove extra space in inspect-fs-unix.c
Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr> --- src/inspect-fs-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 01a59f1..f55e53b 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -58,8 +58,8 @@ COMPILE_REGEXP (re_scientific_linux, "Scientific Linux.*release