search for: 1028,7

Displaying 20 results from an estimated 49 matches for "1028,7".

Did you mean: 1020,7
2008 Jul 01
1
[PATCH] SOCKS4A support
...for it (in the existing processing of the username) seems to have been off-by-one; not accounting for the terminating NUL. I've fixed that while I'm at it. --- openssh-5.0p1/channels.c~ 2008-04-09 17:06:20.000000000 +0100 +++ openssh-5.0p1/channels.c 2008-07-01 09:34:51.000000000 +0100 @@ -1028,7 +1028,7 @@ static int channel_decode_socks4(Channel *c, fd_set *readset, fd_set *writeset) { char *p, *host; - u_int len, have, i, found; + u_int len, have, i, found, need; char username[256]; struct { u_int8_t version; @@ -1044,10 +1044,20 @@ channel_decode_socks4(Channel *c, fd_set...
2020 Mar 06
1
[PATCH 00/14] iommu: Move iommu_fwspec out of 'struct device'
...struct iommu_ops *iort_iommu_configure(struct device *dev) return ops; if (dev_is_pci(dev)) { - struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); + struct iommu_fwspec *fwspec; struct pci_bus *bus = to_pci_dev(dev)->bus; struct iort_pci_alias_info info = { .dev = dev }; @@ -1028,7 +1028,8 @@ const struct iommu_ops *iort_iommu_configure(struct device *dev) err = pci_for_each_dma_alias(to_pci_dev(dev), iort_pci_iommu_init, &info); - if (!err && iort_pci_rc_supports_ats(node)) + fwspec = dev_iommu_fwspec_get(dev); + if (fwspec && iort_pci...
2007 Jan 05
0
[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample
...ge_box("Please select some item first!", </span><span class="cx"> "Tree sample error", </span><span class="cx"> Wx::OK|Wx::ICON_EXCLAMATION, self) </span><span class="lines">@@ -1028,7 +1028,7 @@ </span><span class="cx"> def on_dump_selected(event) </span><span class="cx"> if ( @treectrl.get_window_style & Wx::TR_MULTIPLE ) == 0 </span><span class="cx"> item_id = @treectrl.get_selection </span&...
2019 Sep 06
2
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
On Thu, Sep 05, 2019 at 03:48:57PM -0400, Vivek Goyal wrote: > It is possible that a mount is in progress and device is being removed at > the same time. Use virtio_fs_mutex to avoid races. > > This also takes care of bunch of races and removes some TODO items. > > Signed-off-by: Vivek Goyal <vgoyal at redhat.com> > --- > fs/fuse/virtio_fs.c | 32
2019 Sep 06
2
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
On Thu, Sep 05, 2019 at 03:48:57PM -0400, Vivek Goyal wrote: > It is possible that a mount is in progress and device is being removed at > the same time. Use virtio_fs_mutex to avoid races. > > This also takes care of bunch of races and removes some TODO items. > > Signed-off-by: Vivek Goyal <vgoyal at redhat.com> > --- > fs/fuse/virtio_fs.c | 32
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...snprintf(bp, len, "%s -f %s", cmd, src); + (void) snprintf(bp, len, "%s -f %s", rscpcmd, src); if (do_cmd(host, suser, bp, &remin, &remout, argc) < 0) { (void) xfree(bp); ++errs; @@ -1013,7 +1028,7 @@ { (void) fprintf(stderr, "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" - " [-l limit] [-o ssh_option] [-P port] [-S program]\n" + " [-l limit] [-o ssh_option] [-P port] [-S progr...
2008 May 02
0
[PATCH] minios: end watch of FS backend state value
[PATCH] minios: end watch of FS backend state value Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> diff -r 48925b5a5d53 extras/mini-os/fs-front.c --- a/extras/mini-os/fs-front.c Fri May 02 12:21:27 2008 +0100 +++ b/extras/mini-os/fs-front.c Fri May 02 14:11:45 2008 +0100 @@ -1028,6 +1028,7 @@ done: /* The token will not be unique if multiple imports are inited */ xenbus_watch_path(XBT_NIL, r_nodename/*, token*/); xenbus_wait_for_value(/*token,*/ r_nodename, STATE_READY); + xenbus_unwatch_path(XBT_NIL, r_nodename); printk("Backend ready.\n");...
2019 Sep 05
0
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
...g); goto err; } @@ -1007,7 +1016,6 @@ static int virtio_fs_fill_super(struct super_block *sb) fc = fs->vqs[VQ_REQUEST].fud->fc; - /* TODO take fuse_mutex around this loop? */ for (i = 0; i < fs->nvqs; i++) { struct virtio_fs_vq *fsvq = &fs->vqs[i]; @@ -1020,6 +1028,7 @@ static int virtio_fs_fill_super(struct super_block *sb) /* Previous unmount will stop all queues. Start these again */ virtio_fs_start_all_queues(fs); fuse_send_init(fc, init_req); + mutex_unlock(&virtio_fs_mutex); return 0; err_free_init_req: @@ -1027,6 +1036,7 @@ static int vi...
2019 Sep 06
0
[PATCH 16/18] virtiofs: Use virtio_fs_mutex for races w.r.t ->remove and mount path
...uot;, fs->tag); goto err; } @@ -1007,7 +1016,6 @@ static int virtio_fs_fill_super(struct s fc = fs->vqs[VQ_REQUEST].fud->fc; - /* TODO take fuse_mutex around this loop? */ for (i = 0; i < fs->nvqs; i++) { struct virtio_fs_vq *fsvq = &fs->vqs[i]; @@ -1020,6 +1028,7 @@ static int virtio_fs_fill_super(struct s /* Previous unmount will stop all queues. Start these again */ virtio_fs_start_all_queues(fs); fuse_send_init(fc, init_req); + mutex_unlock(&virtio_fs_mutex); return 0; err_free_init_req: @@ -1027,6 +1036,7 @@ err_free_init_req: err_free...
1998 May 26
0
Re: Beware of dangerous enviroment (Re: Overflows in minicom)
...t;; --- libc-5.4.44/libc/time/bsdtime.c.secenv Mon Oct 21 06:40:22 1996 +++ libc-5.4.44/libc/time/bsdtime.c Sat May 16 17:02:38 1998 @@ -1015,6 +1015,8 @@ (void) tzparse(GMT, sp, TRUE); } +extern char *__libc_secure_getenv(const char *); + #ifdef __STDC__ void tzset(void) @@ -1026,7 +1028,7 @@ register const char * name; void tzsetwall(void); - name = getenv("TZ"); + name = __libc_secure_getenv("TZ"); if (name == NULL) { tzsetwall(); return; <<<end of the patch>>>
2007 Mar 05
0
11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
...gt;sp[-2]; cx->fp->sp--; - d = swfdec_action_to_number (cx, lval); - d2 = swfdec_action_to_number (cx, rval); + d = swfdec_value_to_number (cx, lval); + d2 = swfdec_value_to_number (cx, rval); if (action == 0x48) cx->fp->sp[-1] = BOOLEAN_TO_JSVAL (d < d2); else @@ -1028,7 +1028,7 @@ swfdec_action_not_4 (JSContext *cx, guin { double d; - d = swfdec_action_to_number (cx, cx->fp->sp[-1]); + d = swfdec_value_to_number (cx, cx->fp->sp[-1]); cx->fp->sp[-1] = INT_TO_JSVAL (d == 0 ? 1 : 0); return JS_TRUE; } @@ -1038,7 +1038,7 @@ swfdec_ac...
2016 May 19
2
[PATCH v4] vga_switcheroo: Add helper for deferred probing
...ude "intel_drv.h" -#include <linux/apple-gmux.h> #include <linux/console.h> #include <linux/module.h> #include <linux/pm_runtime.h> -#include <linux/vgaarb.h> #include <linux/vga_switcheroo.h> #include <drm/drm_crtc_helper.h> @@ -1030,13 +1028,7 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (PCI_FUNC(pdev->devfn)) return -ENODEV; - /* - * apple-gmux is needed on dual GPU MacBook Pro - * to probe the panel if we're the inactive GPU. - */ - if (IS_ENABLED(CONFIG_VGA_ARB) &&...
2008 Feb 26
2
Patch to add debugfs interface to o2net
This is a forward port for net_proc.c from 1.2.
2016 May 31
2
[PATCH v6 1/2] vga_switcheroo: Add helper for deferred probing
...ude "intel_drv.h" -#include <linux/apple-gmux.h> #include <linux/console.h> #include <linux/module.h> #include <linux/pm_runtime.h> -#include <linux/vgaarb.h> #include <linux/vga_switcheroo.h> #include <drm/drm_crtc_helper.h> @@ -1030,13 +1028,7 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (PCI_FUNC(pdev->devfn)) return -ENODEV; - /* - * apple-gmux is needed on dual GPU MacBook Pro - * to probe the panel if we're the inactive GPU. - */ - if (IS_ENABLED(CONFIG_VGA_ARB) &&...
2014 Apr 13
2
Adding an external library to Xapian
...ios::app); + Xapian::Query logquery = this->get_query(); + // logfile << (get_query).serialise << endl; + logfile.close(); +*/ LOGCALL(API, Xapian::MSet, "Xapian::Enquire::get_mset", first | maxitems | check_at_least | rset | mdecider | matchspy); try { @@ -1028,7 +1051,15 @@ Xapian::doccount check_at_least, const RSet *rset, const MatchDecider *mdecider) const { - LOGCALL(API, Xapian::MSet, "Xapian::Enquire::get_mset", first | maxitems | check_at_least | rset | mdecider); + cout << "In Enquire::get_mset : 5 args" &l...
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
...perror (optarg); - exit (1); + exit (EXIT_FAILURE); } drv = malloc (sizeof (struct drv)); if (!drv) { perror ("malloc"); - exit (1); + exit (EXIT_FAILURE); } drv->filename = optarg; drv->next = drvs; @@ -1028,7 +1028,7 @@ main (int argc, char *argv[]) mp = malloc (sizeof (struct mp)); if (!mp) { perror ("malloc"); - exit (1); + exit (EXIT_FAILURE); } p = strchr (optarg, ':'); if (p) { @@ -1061,7 +1061,7 @@ main (int argc, char *...
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following it the error that occurred: http://pastebin.com/cVJrjUZX On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote: > On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > A linker error is encountered even after following the above
2017 Jun 09
0
[PATCH v11 3/6] virtio-balloon: VIRTIO_BALLOON_F_PAGE_CHUNKS
...n_remove(struct virtio_device *vdev) cancel_work_sync(&vb->update_balloon_stats_work); remove_common(vb); + free_page_bmap(vb); + kfree(vb->balloon_page_chunk.desc_table); #ifdef CONFIG_BALLOON_COMPACTION if (vb->vb_dev_info.inode) iput(vb->vb_dev_info.inode); @@ -664,6 +1028,7 @@ static unsigned int features[] = { VIRTIO_BALLOON_F_MUST_TELL_HOST, VIRTIO_BALLOON_F_STATS_VQ, VIRTIO_BALLOON_F_DEFLATE_ON_OOM, + VIRTIO_BALLOON_F_PAGE_CHUNKS, }; static struct virtio_driver virtio_balloon_driver = { @@ -674,6 +1039,7 @@ static struct virtio_driver virtio_balloon_dri...
2013 Apr 27
2
[PATCH v6 0/2] tcm_vhost flush
Changes in v6: - Allow device specific fields per vq - Track cmd per vq - Do not track evt - Switch to static array for inflight allocation, completely get rid of the pain to handle inflight allocation failure. Asias He (2): vhost: Allow device specific fields per vq tcm_vhost: Wait for pending requests in vhost_scsi_flush() drivers/vhost/net.c | 60 +++++++++++--------
2013 Apr 27
2
[PATCH v6 0/2] tcm_vhost flush
Changes in v6: - Allow device specific fields per vq - Track cmd per vq - Do not track evt - Switch to static array for inflight allocation, completely get rid of the pain to handle inflight allocation failure. Asias He (2): vhost: Allow device specific fields per vq tcm_vhost: Wait for pending requests in vhost_scsi_flush() drivers/vhost/net.c | 60 +++++++++++--------