Displaying 20 results from an estimated 95 matches for "291,6".
Did you mean:
201,6
2020 Oct 14
2
[PATCH RFC] drm/nouveau: fix memory leak in nvkm_iccsense_oneinit
...u/nvkm/subdev/iccsense/base.c
@@ -280,8 +280,10 @@ nvkm_iccsense_oneinit(struct nvkm_subdev *subdev)
}
rail = kmalloc(sizeof(*rail), GFP_KERNEL);
- if (!rail)
+ if (!rail) {
+ kfree(stbl.rail);
return -ENOMEM;
+ }
rail->read = read;
rail->sensor = sensor;
@@ -291,6 +293,7 @@ nvkm_iccsense_oneinit(struct nvkm_subdev *subdev)
list_add_tail(&rail->head, &iccsense->rails);
}
}
+ kfree(stbl.rail);
return 0;
}
--
2.17.1
2016 Jun 03
2
[PATCH] v2v: copy all driver files into guest
...hem instead.
Signed-off-by: Roman Kagan <rkagan at virtuozzo.com>
---
v2v/windows_virtio.ml | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
index 6c8396c..354aa19 100644
--- a/v2v/windows_virtio.ml
+++ b/v2v/windows_virtio.ml
@@ -291,17 +291,6 @@ and virtio_iso_path_matches_guest_os path inspect =
* elements.
*)
let lc_path = String.lowercase_ascii path in
- let lc_basename = Filename.basename lc_path in
-
- let extension =
- match last_part_of lc_basename '.' with
- | Some x -> x
-...
2006 Mar 21
2
[PATCH] initramfs: CPIO unpacking fix
...263,6 +264,7 @@ static int __init do_name(void)
sys_chmod(collected, mode);
} else if (S_ISBLK(mode) || S_ISCHR(mode) ||
S_ISFIFO(mode) || S_ISSOCK(mode)) {
+ sys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);
@@ -291,6 +293,7 @@ static int __init do_copy(void)
static int __init do_symlink(void)
{
collected[N_ALIGN(name_len) + body_len] = '\0';
+ sys_unlink(collected);
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
2001 Apr 02
1
[PATCH]: scp could hang in Cygwin
...roblem, the patch results in a way
faster copy process.
Corinna
Index: scp.c
===================================================================
RCS file: /cvs/openssh_cvs/scp.c,v
retrieving revision 1.66
diff -u -p -r1.66 scp.c
--- scp.c 2001/03/29 00:43:54 1.66
+++ scp.c 2001/04/02 19:47:14
@@ -291,6 +291,9 @@ main(argc, argv)
case 't': /* "to" */
iamremote = 1;
tflag = 1;
+#ifdef HAVE_CYGWIN
+ setmode (0, O_BINARY);
+#endif
break;
default:
usage();
Index: openbsd-compat/bsd-cygwin_util.c
===============================================================...
2020 Oct 15
0
[PATCH RFC] drm/nouveau: fix memory leak in nvkm_iccsense_oneinit
...gt; + if (!rail) {
> + kfree(stbl.rail);
> return -ENOMEM;
> + }
>
> rail->read = read;
> rail->sensor = sensor;
> @@ -291,6 +293,7 @@ nvkm_iccsense_oneinit(struct nvkm_subdev *subdev)
> list_add_tail(&rail->head, &iccsense->rails);
> }
> }
> + kfree(stbl.rail);
> return 0;
> }
>
> --
> 2.17.1
>
> _____________...
2020 Oct 19
0
[PATCH] drm/nouveau: fix memory leak in iccsense/base.c
...file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c
index fecfa6a..23d91b6 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c
@@ -291,6 +291,7 @@ nvkm_iccsense_oneinit(struct nvkm_subdev *subdev)
list_add_tail(&rail->head, &iccsense->rails);
}
}
+ kfree(stbl.rail);
return 0;
}
--
2.7.4
2018 Sep 13
0
[PATCH 2/3] virtio-gpu: add VIRTIO_GPU_F_EDID feature
.../* 3d commands */
VIRTIO_GPU_CMD_CTX_CREATE = 0x0200,
@@ -76,6 +78,7 @@ enum virtio_gpu_ctrl_type {
VIRTIO_GPU_RESP_OK_DISPLAY_INFO,
VIRTIO_GPU_RESP_OK_CAPSET_INFO,
VIRTIO_GPU_RESP_OK_CAPSET,
+ VIRTIO_GPU_RESP_OK_EDID,
/* error responses */
VIRTIO_GPU_RESP_ERR_UNSPEC = 0x1200,
@@ -291,6 +294,20 @@ struct virtio_gpu_resp_capset {
__u8 capset_data[];
};
+/* VIRTIO_GPU_CMD_GET_EDID */
+struct virtio_gpu_get_edid {
+ struct virtio_gpu_ctrl_hdr hdr;
+ __le32 scanout;
+};
+
+/* VIRTIO_GPU_RESP_OK_EDID */
+struct virtio_gpu_resp_edid {
+ struct virtio_gpu_ctrl_hdr hdr;
+ __le32 sc...
2018 Oct 05
0
[PATCH v2] virtio-gpu: add VIRTIO_GPU_F_EDID feature
.../* 3d commands */
VIRTIO_GPU_CMD_CTX_CREATE = 0x0200,
@@ -76,6 +78,7 @@ enum virtio_gpu_ctrl_type {
VIRTIO_GPU_RESP_OK_DISPLAY_INFO,
VIRTIO_GPU_RESP_OK_CAPSET_INFO,
VIRTIO_GPU_RESP_OK_CAPSET,
+ VIRTIO_GPU_RESP_OK_EDID,
/* error responses */
VIRTIO_GPU_RESP_ERR_UNSPEC = 0x1200,
@@ -291,6 +294,20 @@ struct virtio_gpu_resp_capset {
__u8 capset_data[];
};
+/* VIRTIO_GPU_CMD_GET_EDID */
+struct virtio_gpu_get_edid {
+ struct virtio_gpu_ctrl_hdr hdr;
+ __le32 scanout;
+};
+
+/* VIRTIO_GPU_RESP_OK_EDID */
+struct virtio_gpu_resp_edid {
+ struct virtio_gpu_ctrl_hdr hdr;
+ __le32 sc...
2018 Oct 05
0
[PATCH v2] virtio-gpu: add VIRTIO_GPU_F_EDID feature
...@@ enum virtio_gpu_ctrl_type {
> > VIRTIO_GPU_RESP_OK_DISPLAY_INFO,
> > VIRTIO_GPU_RESP_OK_CAPSET_INFO,
> > VIRTIO_GPU_RESP_OK_CAPSET,
> > + VIRTIO_GPU_RESP_OK_EDID,
> >
> > /* error responses */
> > VIRTIO_GPU_RESP_ERR_UNSPEC = 0x1200,
> > @@ -291,6 +294,20 @@ struct virtio_gpu_resp_capset {
> > __u8 capset_data[];
> > };
> >
> > +/* VIRTIO_GPU_CMD_GET_EDID */
> > +struct virtio_gpu_get_edid {
> > + struct virtio_gpu_ctrl_hdr hdr;
> > + __le32 scanout;
> > +};
> > +
> > +/* VIRTIO...
2019 Apr 02
0
[PATCH 1/2] drm/bochs: drop mode_config_initialized
...t struct drm_mode_config_funcs bochs_mode_funcs = {
int bochs_kms_init(struct bochs_device *bochs)
{
drm_mode_config_init(bochs->dev);
- bochs->mode_config_initialized = true;
bochs->dev->mode_config.max_width = 8192;
bochs->dev->mode_config.max_height = 8192;
@@ -292,9 +291,6 @@ int bochs_kms_init(struct bochs_device *bochs)
void bochs_kms_fini(struct bochs_device *bochs)
{
- if (bochs->mode_config_initialized) {
- drm_atomic_helper_shutdown(bochs->dev);
- drm_mode_config_cleanup(bochs->dev);
- bochs->mode_config_initialized = false;
- }
+ drm_atomi...
2016 Jun 03
0
Re: [PATCH] v2v: copy all driver files into guest
...rkagan at virtuozzo.com>
> ---
> v2v/windows_virtio.ml | 11 -----------
> 1 file changed, 11 deletions(-)
>
> diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
> index 6c8396c..354aa19 100644
> --- a/v2v/windows_virtio.ml
> +++ b/v2v/windows_virtio.ml
> @@ -291,17 +291,6 @@ and virtio_iso_path_matches_guest_os path inspect =
> * elements.
> *)
> let lc_path = String.lowercase_ascii path in
> - let lc_basename = Filename.basename lc_path in
> -
> - let extension =
> - match last_part_of lc_basename '....
2002 Apr 22
0
[Bug 98] auth1.c modifications for correct UNICOS behavior
...Mon Apr 22 14:28:12 2002
+++ auth1.c Mon Apr 22 14:29:48 2002
@@ -26,6 +26,9 @@
#include "session.h"
#include "uidswap.h"
#include "monitor_wrap.h"
+#ifdef _CRAY
+#include <ia.h>
+#endif /* _CRAY */
/* import */
extern ServerOptions options;
@@ -291,6 +294,16 @@
if (!authctxt->valid && authenticated)
fatal("INTERNAL ERROR: authenticated invalid user %s",
authctxt->user);
+
+#ifdef _CRAY
+ if (type == SSH_CMSG_AUTH_PASSWORD && !auth...
2007 Jan 25
0
sshd unhandled SIGALRM
...//gaul.org/
-------------- next part --------------
Index: sshd.c
===================================================================
RCS file: /cvs/openssh/sshd.c,v
retrieving revision 1.345
diff -u -r1.345 sshd.c
--- sshd.c 24 Jul 2006 04:51:01 -0000 1.345
+++ sshd.c 3 Aug 2006 06:13:53 -0000
@@ -291,6 +291,7 @@
logit("Received SIGHUP; restarting.");
close_listen_socks();
close_startup_pipes();
+ alarm(0); /* alarm timer persists across exec */
execv(saved_argv[0], saved_argv);
logit("RESTART FAILED: av[0]='%.100s', error: %.100s.", saved_argv[0],
st...
2013 Nov 20
0
[PATCH -tip v3 18/23] x86/dumpstack: Use NOKPROBE_SYMBOL macro in dumpstack.c
...uct pt_regs *regs, int signr)
panic("Fatal exception");
do_exit(signr);
}
+NOKPROBE_SYMBOL(oops_end);
-int __kprobes __die(const char *str, struct pt_regs *regs, long err)
+int __die(const char *str, struct pt_regs *regs, long err)
{
#ifdef CONFIG_X86_32
unsigned short ss;
@@ -291,6 +293,7 @@ int __kprobes __die(const char *str, struct pt_regs *regs, long err)
#endif
return 0;
}
+NOKPROBE_SYMBOL(__die);
/*
* This is gone through when something in the kernel has done something bad
2002 Jun 21
1
small security-related rsync extension
...ckups\n");
X rprintf(F," -u, --update update only (don't overwrite newer files)\n");
X rprintf(F," -l, --links copy symlinks as symlinks\n");
X rprintf(F," -L, --copy-links copy the referent of symlinks\n");
X@@ -291,6 +295,9 @@
X {"include-from", 0, POPT_ARG_STRING, 0, OPT_INCLUDE_FROM},
X {"safe-links", 0, POPT_ARG_NONE, &safe_symlinks},
X {"help", 'h', POPT_ARG_NONE, 0, 'h'},
X+#ifdef HAVE_CHMOD
X+ {...
2008 Jul 22
2
[PATCH 1/3] Fix loading of *.lkrn images from gPXE
...rnel.inc
+++ b/core/runkernel.inc
@@ -216,13 +216,6 @@ new_kernel:
mov al,[es:su_loadflags]
mov [LoadFlags],al
- ; Cap the ramdisk memory range if appropriate
- mov eax,[RamdiskMax]
- cmp eax,[MyHighMemSize]
- ja .ok
- mov [MyHighMemSize],eax
-.ok:
-
any_kernel:
;
@@ -291,6 +284,12 @@ high_load_done:
; if we tried to load initrd using an old kernel
;
load_initrd:
+ ; Cap the ramdisk memory range if appropriate
+ mov eax,[RamdiskMax]
+ cmp eax,[MyHighMemSize]
+ ja .ok
+ mov [MyHighMemSize],eax
+.ok:
xor eax,eax
cmp [InitRDPtr],ax...
2019 Jan 05
0
[PATCH nbdkit v2 06/11] plugins: Return NBD_FLAG_CAN_MULTI_CONN from some readonly plugins.
...so_get_size (void *handle)
return statbuf.st_size;
}
+/* Serves the same data over multiple connections. */
+static int
+iso_can_multi_conn (void *handle)
+{
+ return 1;
+}
+
/* Read data from the file. */
static int
iso_pread (void *handle, void *buf, uint32_t count, uint64_t offset)
@@ -291,6 +298,7 @@ static struct nbdkit_plugin plugin = {
.magic_config_key = "dir",
.open = iso_open,
.get_size = iso_get_size,
+ .can_multi_conn = iso_can_multi_conn,
.pread = iso_pread,
.errno_is_preserved = 1,
};
diff --git a/plugins/pat...
2006 Feb 21
1
[PATCH] initramfs: multiple CPIO unpacking fix
...263,6 +264,7 @@ static int __init do_name(void)
sys_chmod(collected, mode);
} else if (S_ISBLK(mode) || S_ISCHR(mode) ||
S_ISFIFO(mode) || S_ISSOCK(mode)) {
+ sys_unlink(collected);
if (maybe_link() == 0) {
sys_mknod(collected, mode, rdev);
sys_chown(collected, uid, gid);
@@ -291,6 +293,7 @@ static int __init do_copy(void)
static int __init do_symlink(void)
{
collected[N_ALIGN(name_len) + body_len] = '\0';
+ sys_unlink(collected);
sys_symlink(collected + N_ALIGN(name_len), collected);
sys_lchown(collected, uid, gid);
state = SkipIt;
2009 Mar 13
1
v1.1.12 and v1.2.beta2 released
http://dovecot.org/releases/1.1/dovecot-1.1.12.tar.gz
http://dovecot.org/releases/1.1/dovecot-1.1.12.tar.gz.sig
http://dovecot.org/releases/1.2/beta/dovecot-1.2.beta2.tar.gz
http://dovecot.org/releases/1.2/beta/dovecot-1.2.beta2.tar.gz.sig
I thought I'd do a double-release since it's Friday the 13th. v1.2.0 is
getting closer, mainly some ACL fixes left.
Changes in v1.2.beta2 since
2009 Mar 13
1
v1.1.12 and v1.2.beta2 released
http://dovecot.org/releases/1.1/dovecot-1.1.12.tar.gz
http://dovecot.org/releases/1.1/dovecot-1.1.12.tar.gz.sig
http://dovecot.org/releases/1.2/beta/dovecot-1.2.beta2.tar.gz
http://dovecot.org/releases/1.2/beta/dovecot-1.2.beta2.tar.gz.sig
I thought I'd do a double-release since it's Friday the 13th. v1.2.0 is
getting closer, mainly some ACL fixes left.
Changes in v1.2.beta2 since