search for: 240,10

Displaying 20 results from an estimated 37 matches for "240,10".

Did you mean: 24,10
2017 Apr 03
2
[PATCH supermin] init: Don't perform ioctl (TIOCSCTTY).
Don't know why it works, but it works ... Rich.
2013 Apr 21
2
flac 1.3.0pre3 pre-release
Janne Hyv?rinen wrote: > Sorry for spamming but I noticed one more display glitch while doing > further testing. It could leave old status messages at the end of the > line while printing status messages if initial status fit on one line > and new status text required new line. Patches applied. Thanks! Erik --
2020 Mar 05
0
[PATCH 19/22] drm/virtgpu: Use simple encoder
...virtgpu_display.c +++ b/drivers/gpu/drm/virtio/virtgpu_display.c @@ -30,6 +30,7 @@ #include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_probe_helper.h> +#include <drm/drm_simple_kms_helper.h> #include "virtgpu_drv.h" @@ -240,10 +241,6 @@ static const struct drm_connector_funcs virtio_gpu_connector_funcs = { .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, }; -static const struct drm_encoder_funcs virtio_gpu_enc_funcs = { - .destroy = drm_encoder_cleanup, -}; - static int vgdev_output_init(struct...
2017 Apr 03
0
[PATCH supermin] init: Don't perform ioctl (TIOCSCTTY).
...init compiled with dietlibc worked, since the dietlibc header files don't define TIOCSCTTY and hence the ioctl was not called. --- init/init.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init/init.c b/init/init.c index e6fd0e6..aa6c25f 100644 --- a/init/init.c +++ b/init/init.c @@ -240,10 +240,6 @@ main () /* Make current process the controlling process of the tty. */ setsid (); -#ifdef TIOCSCTTY - if (ioctl (0, TIOCSCTTY, 1) == -1) - perror ("ioctl: TIOCSCTTY"); -#endif if (!quiet) fprintf (stderr, "supermin: creating /dev/root as block speci...
2012 Nov 27
1
[PATCH] Add the .mailmap and change the method to generate AUTHORS
...+Richard W.M. Jones <rjones at redhat.com> Sandeep Shedmake <sshedmak at redhat.com> Shankar Prasad <svenkate at redhat.com> Thomas S Hatch <thatch45 at gmail.com> diff --git a/Makefile.am b/Makefile.am index 1ae7849..9b307b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -240,10 +240,7 @@ dist-hook: $(top_srcdir)/update-bugs.sh > BUGS-t mv BUGS-t BUGS cp BUGS $(distdir)/BUGS - git log --pretty="format:%an <%ae>" | sort -u | uniq -w 10 | \ - grep -v rjones | \ - grep -v "Richard Jones" \ - > AUTHORS-t + git shortlog -se | awk -F...
2016 Jul 07
0
[PATCH v2 1/4] drm/nouveau/acpi: ensure matching ACPI handle and supported functions
...ts_mux && !supports_opt) + return; - if (retval & NOUVEAU_DSM_HAS_OPT) { + *dhandle_out = dhandle; + *has_mux = supports_mux; + *has_opt = supports_opt; + + if (supports_opt) { uint32_t result; nouveau_optimus_dsm(dhandle, NOUVEAU_DSM_OPTIMUS_CAPS, 0, &result); @@ -240,10 +244,6 @@ static int nouveau_dsm_pci_probe(struct pci_dev *pdev) (result & OPTIMUS_DYNAMIC_PWR_CAP) ? "dynamic power, " : "", (result & OPTIMUS_HDA_CODEC_MASK) ? "hda bios codec supported" : ""); } - if (retval) - nouveau_dsm_priv.dhan...
2020 Jul 31
0
[PATCH] vdpasim: protect concurrent access to iommu iotlb
...dpasim *vdpasim) for (i = 0; i < VDPASIM_VQ_NUM; i++) vdpasim_vq_reset(&vdpasim->vqs[i]); + spin_lock(&vdpasim->iommu_lock); vhost_iotlb_reset(vdpasim->iommu); + spin_unlock(&vdpasim->iommu_lock); vdpasim->features = 0; vdpasim->status = 0; @@ -236,8 +240,10 @@ static dma_addr_t vdpasim_map_page(struct device *dev, struct page *page, /* For simplicity, use identical mapping to avoid e.g iova * allocator. */ + spin_lock(&vdpasim->iommu_lock); ret = vhost_iotlb_add_range(iommu, pa, pa + size - 1, pa, dir_to_perm(dir)); + spin...
2016 Jul 15
0
[PATCH v3 1/4] drm/nouveau/acpi: ensure matching ACPI handle and supported functions
...ts_mux && !supports_opt) + return; - if (retval & NOUVEAU_DSM_HAS_OPT) { + *dhandle_out = dhandle; + *has_mux = supports_mux; + *has_opt = supports_opt; + + if (supports_opt) { uint32_t result; nouveau_optimus_dsm(dhandle, NOUVEAU_DSM_OPTIMUS_CAPS, 0, &result); @@ -240,10 +244,6 @@ static int nouveau_dsm_pci_probe(struct pci_dev *pdev) (result & OPTIMUS_DYNAMIC_PWR_CAP) ? "dynamic power, " : "", (result & OPTIMUS_HDA_CODEC_MASK) ? "hda bios codec supported" : ""); } - if (retval) - nouveau_dsm_priv.dhan...
2019 May 16
0
[nbdkit PATCH v2 08/24] ocaml: Implement .cache script callback
...che_flag) -> unit = "ocaml_nbdkit_set_can_cache" +external set_cache : ('a -> int32 -> int64 -> flags -> unit) -> unit = "ocaml_nbdkit_set_cache" + let may f = function None -> () | Some a -> f a let register_plugin thread_model plugin = @@ -229,7 +240,10 @@ let register_plugin thread_model plugin = may set_can_multi_conn plugin.can_multi_conn; may set_can_extents plugin.can_extents; - may set_extents plugin.extents + may set_extents plugin.extents; + + may set_can_cache plugin.can_cache; + may set_cache plugin.cache external _set_er...
2010 Oct 28
5
[PATCH] Fix pci passthru in xend interface used by libvirt
...d so I''ve done the same here. Signed-off-by: Jim Fehlig <jfehlig@novell.com> diff -r 28a160746815 -r 461b9d3a643a tools/python/xen/util/pci.py --- a/tools/python/xen/util/pci.py Wed Oct 27 12:24:28 2010 +0100 +++ b/tools/python/xen/util/pci.py Thu Oct 28 15:27:09 2010 -0600 @@ -240,10 +240,16 @@ pci_dev_info = dict(pci_dev[1:]) if ''opts'' in pci_dev_info: pci_dev_info[''opts''] = pci_opts_list_from_sxp(pci_dev) - # append uuid to each pci device that does''t already have one. + # If necessar...
2008 Jan 25
1
OpenSSH for OS/390
I have been trying to compile OpenSSH_4.7p1 for OS/390 and got really stuck. IBM released a build of v3.8.1p1 several years ago, but I do not know whether anyone else has ever managed to compile it for OS/390 or OS/z. The first problem is that the build apparently performs ssh transport exchange using EBCDIC character encoding instead of ASCII (which breaks RFC 4253) and I am not sure how to do
2017 Nov 05
3
[PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions.
...gt; output_string chan xml); (* Finished, so don't delete the disks on exit. *) message (f_"Finishing off"); diff --git a/v2v/input_libvirt_vddk.ml b/v2v/input_libvirt_vddk.ml index 63e76a5aa..e29fbc2b7 100644 --- a/v2v/input_libvirt_vddk.ml +++ b/v2v/input_libvirt_vddk.ml @@ -240,10 +240,11 @@ object "password=-" | Some password -> let password_file = tmpdir // "password" in - let chan = open_out password_file in - chmod password_file 0o600; - output_string chan password; - close...
2020 Jun 01
2
[PATCH nbdkit] vddk: Disallow password=-
...the password (interactively) when nbdkit starts up. - =item B<password=+>FILENAME Read the password from the named file. This is a secure method diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c index 4815a43e..54a6e019 100644 --- a/plugins/vddk/vddk.c +++ b/plugins/vddk/vddk.c @@ -240,6 +240,10 @@ vddk_config (const char *key, const char *value) return -1; } else if (strcmp (key, "password") == 0) { + if (strcmp (value, "-") == 0) { + nbdkit_error ("password=- is not supported with the VDDK plugin"); + return -1; + }...
2003 Apr 27
3
[PATCH re-send]: Clean up logging of failed logins
sorry, Darren. Long over due comments. [..] >+/* Record a failed login attempt. */ >+void >+record_failed_login(const char *user, const char *host, const char *ttyname) >+{ >+#ifdef WITH_AIXAUTHENTICATE >+ loginfailed(user, host, ttyname); >+#endif >+#ifdef _UNICOS >+ cray_login_failure((char *)user, IA_UDBERR); >+#endif /* _UNICOS */ >+} I like the
2019 Jan 01
0
[PATCH nbdkit] plugins, filters: Define and use NBDKIT_HANDLE_NOT_NEEDED.
...return NULL; - return &handle; + return NBDKIT_HANDLE_NOT_NEEDED; } /* Get the file size and ensure the overlay is the correct size. */ diff --git a/filters/error/error.c b/filters/error/error.c index c897c76..598bd1f 100644 --- a/filters/error/error.c +++ b/filters/error/error.c @@ -240,12 +240,10 @@ error_config (nbdkit_next_config *next, void *nxdata, static void * error_open (nbdkit_next_open *next, void *nxdata, int readonly) { - static int handle; - if (next (nxdata, readonly) == -1) return NULL; - return &handle; + return NBDKIT_HANDLE_NOT_NEEDED; } /...
2007 Apr 13
0
[951] branches/wxruby2/wxwidgets_282: Additions to Grid API 2.6->2.8
...span class="cx"> wxColour GetCellHighlightColour(); </span><span class="cx"> int GetCellHighlightPenWidth(); </span><span class="cx"> int GetCellHighlightROPenWidth(); </span><span class="lines">@@ -240,10 +243,14 @@ </span><span class="cx"> void EnableDragColSize( bool enable = true ); </span><span class="cx"> void DisableDragColSize(); </span><span class="cx"> bool CanDragColSize(); </span><ins>...
2019 Oct 12
5
[PATCH 2/2] virtio_ring: Use DMA API if memory is encrypted
From: Thiago Jung Bauermann <bauerman at linux.ibm.com> Normally, virtio enables DMA API with VIRTIO_F_IOMMU_PLATFORM, which must be set by both device and guest driver. However, as a hack, when DMA API returns physical addresses, guest driver can use the DMA API; even though device does not set VIRTIO_F_IOMMU_PLATFORM and just uses physical addresses. Doing this works-around POWER secure
2019 Oct 12
5
[PATCH 2/2] virtio_ring: Use DMA API if memory is encrypted
From: Thiago Jung Bauermann <bauerman at linux.ibm.com> Normally, virtio enables DMA API with VIRTIO_F_IOMMU_PLATFORM, which must be set by both device and guest driver. However, as a hack, when DMA API returns physical addresses, guest driver can use the DMA API; even though device does not set VIRTIO_F_IOMMU_PLATFORM and just uses physical addresses. Doing this works-around POWER secure
2006 May 01
6
[PATCH] Use stddef.h in Mini-OS to define size_t
Please patch Mini-OS so that it uses stddef.h to define size_t and NULL. This problem fixes errors that occur when linking Mini-OS with ANSI standard code that uses stddef.h. John diff -ur oxen-3.0-testing/extras/mini-os/include/lib.h nxen-3.0-testing/extras/mini-os/include/lib.h --- oxen-3.0-testing/extras/mini-os/include/lib.h 2006-04-14 22:21:55.000000000 -0400 +++
2019 Jan 21
0
[PATCH nbdkit v2 1/4] partitioning plugin: Support MBR logical partitions.
...ot;; + if (append_region (&regions, region) == -1) + return -1; + + offset = virtual_size (&regions); + } + /* Make sure each partition is aligned for best performance. */ if (!IS_ALIGNED (offset, files[i].alignment)) { region.start = offset; @@ -207,13 +240,10 @@ create_partition_table (void) if (parttype == PARTTYPE_GPT) assert (secondary != NULL); - if (parttype == PARTTYPE_MBR) { - assert (nr_files <= 4); - create_mbr_partition_table (primary); - } - else /* parttype == PARTTYPE_GPT */ { + if (parttype == PARTTYPE_MBR) + c...