search for: 366,6

Displaying 20 results from an estimated 112 matches for "366,6".

Did you mean: 36,6
2017 May 11
3
problem (and fix) with -fms-extensions
...e: /build/data/openbsd/cvs/src/gnu/llvm/tools/clang/lib/Frontend/InitPreprocessor.cpp,v retrieving revision 1.1.1.4 diff -u -p -r1.1.1.4 InitPreprocessor.cpp --- lib/Frontend/InitPreprocessor.cpp 14 Mar 2017 08:07:56 -0000 1.1.1.4 +++ lib/Frontend/InitPreprocessor.cpp 11 May 2017 17:54:41 -0000 @@ -366,6 +366,8 @@ static void InitializeStandardPredefined else Builder.defineMacro("__STDC_HOSTED__"); + if (LangOpts.MicrosoftMode) + Builder.defineMacro("__ms_extensions__", 1); if (!LangOpts.CPlusPlus) { if (LangOpts.C11) Builder.defineMacro("__ST...
2016 Mar 17
2
[PATCH] inspect: improve UsrMove detection (RHBZ#1186935)
...guestfs_is_dir (g, "/usr/bin") > 0)) && + is_symlink_to (g, "/bin", "usr/bin") > 0) && guestfs_is_file (g, "/etc/fstab") > 0) { fs->is_root = 1; fs->format = OS_FORMAT_INSTALLED; @@ -366,6 +366,22 @@ get_partition_context (guestfs_h *g, const char *partition, return 0; } +static int +is_symlink_to (guestfs_h *g, const char *file, const char *wanted_target) +{ + CLEANUP_FREE char *target = NULL; + + if (guestfs_is_symlink (g, file) == 0) + return 0; + + target = guestfs_...
2010 Apr 07
1
[PATCH] v2v: Fix error on exit unmounting transfer ISO
...handle. This change garbage collects the guestos explicitly before the libguestfs handle. --- v2v/virt-v2v.pl | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl index 08f1c8d..c7ebad3 100755 --- a/v2v/virt-v2v.pl +++ b/v2v/virt-v2v.pl @@ -366,6 +366,9 @@ END { sub close_guest_handle { + # Perform GuestOS cleanup before closing the handle + $guestos = undef; + if (defined($g)) { $g->umount_all(); $g->sync(); -- 1.6.6.1
2014 Jul 30
2
[PATCH libdrm] configure: Support symbol visibility when available
...\ > + libdrm.h \ > libdrm_lists.h > > libdrmincludedir = ${includedir} > diff --git a/configure.ac b/configure.ac > index 1c78c4520c49..f7c7177bfb2a 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -366,6 +366,26 @@ AC_ARG_WITH([kernel-source], > [kernel_source="$with_kernel_source"]) > AC_SUBST(kernel_source) > > +dnl Add flags for gcc and g++ > +if test "x$GCC" = xyes; then > + # Enable -fvisibility=hidden if using a gcc that supports it >...
2014 Feb 25
2
[PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit
...host/net.c +++ b/drivers/vhost/net.c @@ -345,7 +345,7 @@ static void handle_tx(struct vhost_net *net) .msg_flags = MSG_DONTWAIT, }; size_t len, total_len = 0; - int err; + int err, num_pends; size_t hdr_size; struct socket *sock; struct vhost_net_ubuf_ref *uninitialized_var(ubufs); @@ -366,13 +366,6 @@ static void handle_tx(struct vhost_net *net) if (zcopy) vhost_zerocopy_signal_used(net, vq); - /* If more outstanding DMAs, queue the work. - * Handle upend_idx wrap around - */ - if (unlikely((nvq->upend_idx + vq->num - VHOST_MAX_PEND) - % UIO_MAXIOV == nv...
2014 Feb 25
2
[PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit
...host/net.c +++ b/drivers/vhost/net.c @@ -345,7 +345,7 @@ static void handle_tx(struct vhost_net *net) .msg_flags = MSG_DONTWAIT, }; size_t len, total_len = 0; - int err; + int err, num_pends; size_t hdr_size; struct socket *sock; struct vhost_net_ubuf_ref *uninitialized_var(ubufs); @@ -366,13 +366,6 @@ static void handle_tx(struct vhost_net *net) if (zcopy) vhost_zerocopy_signal_used(net, vq); - /* If more outstanding DMAs, queue the work. - * Handle upend_idx wrap around - */ - if (unlikely((nvq->upend_idx + vq->num - VHOST_MAX_PEND) - % UIO_MAXIOV == nv...
2014 Jul 30
3
[PATCH] libdrm: hide all private symbols
On 30/07/14 11:16, Christian K?nig wrote: > [CCing Emil as well] > > Am 30.07.2014 um 11:38 schrieb Maarten Lankhorst: >> Using -export-symbols-regex all private symbols are hidden, resulting in the >> following changes: > > Wasn't "-export-symbols-regex" exactly that stuff we are trying to avoid in mesa? > IMHO we should try to pick up Thierry
2012 Jan 13
3
[PATCH v2 1/3] ext2: tweak the error returned message of resize2fs-M(BZ755729)
From: Wanlong Gao <gaowanlong at cn.fujitsu.com> Tweak the error message "e2fsck -f" and "e2fsck -fy". Indicate the user to use the correct and/or forceall options. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/ext2.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/daemon/ext2.c b/daemon/ext2.c index
2016 Feb 09
0
[PATCH 1/4] v2v: collect source network and video adapter types
..." -> Some Network @@ -340,6 +370,7 @@ let parse_libvirt_xml ?conn xml = let add_nic vnet = let nic = { s_mac = mac; + s_nic_model = model; s_vnet = vnet; s_vnet_orig = vnet; s_vnet_type = vnet_type @@ -366,6 +397,7 @@ let parse_libvirt_xml ?conn xml = s_features = features; s_firmware = UnknownFirmware; (* XXX until RHBZ#1217444 is fixed *) s_display = display; + s_video = video; s_sound = sound; s_disks = []; s_removables = removables; diff --git a/v2v/input_ova.ml b...
2016 Mar 18
0
[PATCH v4 1/5] v2v: collect source network and video adapter types
..." -> Some Network @@ -340,6 +365,7 @@ let parse_libvirt_xml ?conn xml = let add_nic vnet = let nic = { s_mac = mac; + s_nic_model = model; s_vnet = vnet; s_vnet_orig = vnet; s_vnet_type = vnet_type @@ -366,6 +392,7 @@ let parse_libvirt_xml ?conn xml = s_features = features; s_firmware = UnknownFirmware; (* XXX until RHBZ#1217444 is fixed *) s_display = display; + s_video = video; s_sound = sound; s_disks = []; s_removables = removables; diff --git a/v2v/input_ova.ml b...
2016 Feb 20
0
[PATCH v2 1/4] v2v: collect source network and video adapter types
..." -> Some Network @@ -340,6 +365,7 @@ let parse_libvirt_xml ?conn xml = let add_nic vnet = let nic = { s_mac = mac; + s_nic_model = model; s_vnet = vnet; s_vnet_orig = vnet; s_vnet_type = vnet_type @@ -366,6 +392,7 @@ let parse_libvirt_xml ?conn xml = s_features = features; s_firmware = UnknownFirmware; (* XXX until RHBZ#1217444 is fixed *) s_display = display; + s_video = video; s_sound = sound; s_disks = []; s_removables = removables; diff --git a/v2v/input_ova.ml b...
2023 Jan 26
1
[PATCH 2/2] vhost: check for pending livepatches from vhost worker kthreads
...hread can block a livepatch transition indefinitely. We've > > > > > seen this happen fairly often with busy vhost kthreads. > > > > > > > > > --- a/drivers/vhost/vhost.c > > > > > +++ b/drivers/vhost/vhost.c > > > > > @@ -366,6 +367,9 @@ static int vhost_worker(void *data) > > > > > if (need_resched()) > > > > > schedule(); > > > > > } > > > > > + > > > > > + if (unlikely(klp_patch_pending(current))) > > > > > + klp_...
2016 Mar 17
0
Re: [PATCH] inspect: improve UsrMove detection (RHBZ#1186935)
...ir (g, "/usr/bin") > 0)) && > + is_symlink_to (g, "/bin", "usr/bin") > 0) && > guestfs_is_file (g, "/etc/fstab") > 0) { > fs->is_root = 1; > fs->format = OS_FORMAT_INSTALLED; > @@ -366,6 +366,22 @@ get_partition_context (guestfs_h *g, const char *partition, > return 0; > } > > +static int > +is_symlink_to (guestfs_h *g, const char *file, const char *wanted_target) > +{ > + CLEANUP_FREE char *target = NULL; > + > + if (guestfs_is_symlink (g, file...
2007 Apr 18
0
[PATCH 3/14] i386 / Remove unnecessary tls init
...mware.com Index: linux-2.6.13/include/asm-i386/processor.h =================================================================== --- linux-2.6.13.orig/include/asm-i386/processor.h 2005-08-09 18:37:48.000000000 -0700 +++ linux-2.6.13/include/asm-i386/processor.h 2005-08-10 20:42:20.000000000 -0700 @@ -366,6 +366,7 @@ }; #define INIT_THREAD { \ + .tls_array = { [ 0 ... GDT_ENTRY_TLS_ENTRIES-1 ] = { 0,0 } }, \ .vm86_info = NULL, \ .sysenter_cs = __KERNEL_CS, \ .io_bitmap_ptr = NULL, \ Index: linux-2.6.13/arch/i386/kernel/cpu/common.c =====================================...
2004 Nov 13
1
Archive Delete Mode
...th delete, equivalent to -rlptgoD --delete\n"); rprintf(F," -r, --recursive recurse into directories\n"); rprintf(F," -R, --relative use relative path names\n"); rprintf(F," --no-relative turn off --relative\n"); @@ -366,6 +368,7 @@ {"verbose", 'v', POPT_ARG_NONE, 0, 'v', 0, 0 }, {"quiet", 'q', POPT_ARG_NONE, 0, 'q', 0, 0 }, {"archive", 'a', POPT_ARG_NONE, &archive_mode, 0,...
2003 May 14
0
vnconfig(8), bin/45754
...if ((flags & VN_UNCONFIG) == 0) @@ -351,8 +352,10 @@ if (verbose) printf("%s: not configured\n", dev); rv = 0; - } else + } else { + status--; warn("VNIOCDETACH"); + } } else if (verbose) printf("%s: cleared\n", dev); } @@ -366,6 +369,7 @@ else rv = ioctl(fileno(f), VNIOCUSET, &l); if (rv) { + status--; warn("VNIO[GU]SET"); } else if (verbose) printf("%s: flags now=%08x\n",dev,l); @@ -380,6 +384,7 @@ else rv = ioctl(fileno(f), VNIOCUCLEAR, &l); if (rv) { + sta...
2007 Apr 18
0
[PATCH 3/14] i386 / Remove unnecessary tls init
...mware.com Index: linux-2.6.13/include/asm-i386/processor.h =================================================================== --- linux-2.6.13.orig/include/asm-i386/processor.h 2005-08-09 18:37:48.000000000 -0700 +++ linux-2.6.13/include/asm-i386/processor.h 2005-08-10 20:42:20.000000000 -0700 @@ -366,6 +366,7 @@ }; #define INIT_THREAD { \ + .tls_array = { [ 0 ... GDT_ENTRY_TLS_ENTRIES-1 ] = { 0,0 } }, \ .vm86_info = NULL, \ .sysenter_cs = __KERNEL_CS, \ .io_bitmap_ptr = NULL, \ Index: linux-2.6.13/arch/i386/kernel/cpu/common.c =====================================...
2014 Feb 13
0
[PATCH] nv50: mark scissors/viewports dirty on context switch
..., 2 insertions(+) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c index dfce193..f953422 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c @@ -366,6 +366,8 @@ nv50_switch_pipe_context(struct nv50_context *ctx_to) ctx_to->state = ctx_from->state; ctx_to->dirty = ~0; + ctx_to->viewports_dirty = ~0; + ctx_to->scissors_dirty = ~0; if (!ctx_to->vertex) ctx_to->dirty &= ~(NV50_NEW_VERTEX | NV50...
2017 Jul 11
0
[PATCH 2/2] ocaml: fix build with Bytes fallback
...ils/guestfs_config.ml /common/mlstdutils/libdir.ml /common/mlstdutils/oUnit-* @@ -275,7 +276,6 @@ Makefile.in /fuse/test-guestmount-fd /fuse/test-guestunmount-fd /generator/.depend -/generator/bytes.ml /generator/common_utils.ml /generator/common_utils.mli /generator/files-generated.txt @@ -366,7 +366,6 @@ Makefile.in /make-fs/virt-make-fs.1 /missing /mllib/.depend -/mllib/bytes.ml /mllib/common_gettext.ml /mllib/common_utils_tests /mllib/getopt_tests diff --git a/generator/Makefile.am b/generator/Makefile.am index 401029d..3f54ad5 100644 --- a/generator/Makefile.am +++ b/generator/...
2014 Jul 30
0
[PATCH libdrm] configure: Support symbol visibility when available
...e.am @@ -69,6 +69,7 @@ libdrm_la_SOURCES = \ xf86drmSL.c \ xf86drmMode.c \ xf86atomic.h \ + libdrm.h \ libdrm_lists.h libdrmincludedir = ${includedir} diff --git a/configure.ac b/configure.ac index 1c78c4520c49..f7c7177bfb2a 100644 --- a/configure.ac +++ b/configure.ac @@ -366,6 +366,26 @@ AC_ARG_WITH([kernel-source], [kernel_source="$with_kernel_source"]) AC_SUBST(kernel_source) +dnl Add flags for gcc and g++ +if test "x$GCC" = xyes; then + # Enable -fvisibility=hidden if using a gcc that supports it + save_CFLAGS="$CFLAGS" +...