Displaying 20 results from an estimated 32 matches for "1042,6".
Did you mean:
1042,7
2000 Sep 04
1
trivial patch to post overridden command into env
..._check(plen, 0, type);
}
if (forced_command != NULL) {
+ saved_command = command;
command = forced_command;
debug("Forced command '%.500s'", forced_command);
+ } else {
+ saved_command = NULL;
}
if (have_pty)
do_exec_pty(s, command, pw);
@@ -1042,6 +1047,9 @@
env = xmalloc(envsize * sizeof(char *));
env[0] = NULL;
+ if (saved_command) {
+ child_set_env(&env, &envsize, "command", saved_command);
+ }
if (!options.use_login) {
/* Set basic environment. */
child_set_env(&env, &envsize, "USER",...
2019 May 20
4
Authenticate against key files before AuthorizedKeysCommand
Hello,
Currently OpenSSH has a fixed order on how the key authenticates the
user: at first it tries to authenticate against TrustedUserCAKeys,
afterwards it does it against the output keys from the
AuthorizedKeysCommand and finally against the files as set in
AuthorizedKeysFile. I have an use-case where this order is not ideal.
This is because in my case the command fetches keys from the cloud
2012 May 03
1
[PATCH] Btrfs: fix crash in scrub repair code when device is missing
...ex;
page->logical = logical;
page->physical = bbio->stripes[mirror_index].physical;
+ /* for missing devices, bdev is NULL */
page->bdev = bbio->stripes[mirror_index].dev->bdev;
page->mirror_num = mirror_index + 1;
page->page = alloc_page(GFP_NOFS);
@@ -1042,6 +1043,12 @@ static int scrub_recheck_block(struct btrfs_fs_info *fs_info,
struct scrub_page *page = sblock->pagev + page_num;
DECLARE_COMPLETION_ONSTACK(complete);
+ if (page->bdev == NULL) {
+ page->io_error = 1;
+ sblock->no_io_error_seen = 0;
+ continue;
+ }
+
BU...
2018 Feb 10
0
[PATCH] dri3: don't check permissions on render node
...at *st)
+static int is_render_node(int fd)
{
- if (fstat(fd, st))
+ struct stat st;
+ if (fstat(fd, &st))
return 0;
- if (!S_ISCHR(st->st_mode))
+ if (!S_ISCHR(st.st_mode))
return 0;
- return st->st_rdev & 0x80;
+ return st.st_rdev & 0x80;
}
static int
@@ -1041,7 +1042,6 @@ nouveau_dri3_open(ScreenPtr screen, RRProviderPtr provider, int *out)
ScrnInfoPtr pScrn = xf86ScreenToScrn(screen);
NVPtr pNv = NVPTR(pScrn);
int fd = -1;
- struct stat buff;
#ifdef O_CLOEXEC
fd = open(pNv->render_node, O_RDWR | O_CLOEXEC);
@@ -1051,11 +1051,7 @@ nouveau_dri3_ope...
2000 Mar 11
3
TEST RELEASE: openssh-1.2.3pre1
I have just uploaded a test release of 1.2.3. It includes numerous
fixes from the OpenBSD team and should fix the stupid configure bugs
of 1.2.2p1.
http://violet.ibs.com.au/openssh/files/test/
A detailed ChangeLog is in the directory.
Please report successes and failures.
Regards,
Damien Miller
--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller -
2020 Oct 29
0
[PATCH] fbcon: Disable accelerated scrolling
...@@ static void fbcon_init(struct vc_data *vc, int init)
struct vc_data *svc = *default_mode;
struct fbcon_display *t, *p = &fb_display[vc->vc_num];
int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
- int cap, ret;
+ int ret;
if (WARN_ON(info_idx == -1))
return;
@@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
con2fb_map[vc->vc_num] = info_idx;
info = registered_fb[con2fb_map[vc->vc_num]];
- cap = info->flags;
if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET)
logo_shown = FBCON_LOGO_DONT...
2020 Oct 31
2
[PATCH] fbcon: Disable accelerated scrolling
...ta *vc, int init)
> struct vc_data *svc = *default_mode;
> struct fbcon_display *t, *p = &fb_display[vc->vc_num];
> int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
> - int cap, ret;
> + int ret;
>
> if (WARN_ON(info_idx == -1))
> return;
> @@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
> con2fb_map[vc->vc_num] = info_idx;
>
> info = registered_fb[con2fb_map[vc->vc_num]];
> - cap = info->flags;
>
> if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET)
> l...
2020 Oct 31
0
[PATCH] fbcon: Disable accelerated scrolling
...t; struct fbcon_display *t, *p = &fb_display[vc->vc_num];
> > int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256;
> > - int cap, ret;
> > + int ret;
> >
> > if (WARN_ON(info_idx == -1))
> > return;
> > @@ -1042,7 +1042,6 @@ static void fbcon_init(struct vc_data *vc, int init)
> > con2fb_map[vc->vc_num] = info_idx;
> >
> > info = registered_fb[con2fb_map[vc->vc_num]];
> > - cap = info->flags;
> >
> > if (logo_shown < 0 &&...
2013 Mar 22
4
[PATCH V2 0/3] tcm_vhost pending requests flush
Changes in v2:
- Increase/Decrease inflight requests in
vhost_scsi_{allocate,free}_cmd and tcm_vhost_{allocate,free}_evt
Asias He (3):
tcm_vhost: Wait for pending requests in vhost_scsi_flush()
tcm_vhost: Wait for pending requests in vhost_scsi_clear_endpoint()
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
drivers/vhost/tcm_vhost.c | 131
2013 Mar 22
4
[PATCH V2 0/3] tcm_vhost pending requests flush
Changes in v2:
- Increase/Decrease inflight requests in
vhost_scsi_{allocate,free}_cmd and tcm_vhost_{allocate,free}_evt
Asias He (3):
tcm_vhost: Wait for pending requests in vhost_scsi_flush()
tcm_vhost: Wait for pending requests in vhost_scsi_clear_endpoint()
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
drivers/vhost/tcm_vhost.c | 131
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...of(buf));
> + printf("%s",buf);
> +
> +}
> +
> int efi_pollchar(void)
> {
> SIMPLE_INPUT_INTERFACE *in = ST->ConIn;
This probably deserves a NULL terminator but perhaps calling
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.ClearScreen() may be better.
> @@ -1042,6 +1061,97 @@ static int exit_boot(struct boot_params
> return 0;
> }
>
> +
> +/* efi_boot_efi:
> + * Boots an efi image
> + */
> +int efi_boot_efi(void *kernel_buf, size_t kernel_size,
> + char *cmdline, int cmdlineSize)
> +{
> +
> +char*...
2019 Aug 09
0
[RFC PATCH v6 55/92] kvm: introspection: add KVMI_CONTROL_MSR and KVMI_EVENT_MSR
...kvmi_msg.c | 13 +++
10 files changed, 283 insertions(+), 1 deletion(-)
diff --git a/Documentation/virtual/kvm/kvmi.rst b/Documentation/virtual/kvm/kvmi.rst
index 2e6e285c8e2e..c41c3edb0134 100644
--- a/Documentation/virtual/kvm/kvmi.rst
+++ b/Documentation/virtual/kvm/kvmi.rst
@@ -1042,6 +1042,45 @@ ID set.
* -KVM_EINVAL - padding is not zero
* -KVM_EAGAIN - the selected vCPU can't be introspected yet
+22. KVMI_CONTROL_MSR
+--------------------
+
+:Architectures: x86
+:Versions: >= 1
+:Parameters:
+
+::
+
+ struct kvmi_vcpu_hdr;
+ struct kvmi_control_msr {
+ __u8 enab...
2020 Oct 29
4
[PATCH 1/3] fbcon: Disable accelerated scrolling
So ever since syzbot discovered fbcon, we have solid proof that it's
full of bugs. And often the solution is to just delete code and remove
features, e.g. 50145474f6ef ("fbcon: remove soft scrollback code").
Now the problem is that most modern-ish drivers really only treat
fbcon as an dumb kernel console until userspace takes over, and Oops
printer for some emergencies. Looking at
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...0;
}
+void efi_clear_screen(void)
+{
+
+ //simple form feed leaving only the background if any
+ char buf[55];
+ memset(&buf,'\n',sizeof(buf));
+ printf("%s",buf);
+
+}
+
int efi_pollchar(void)
{
SIMPLE_INPUT_INTERFACE *in = ST->ConIn;
@@ -1042,6 +1061,97 @@ static int exit_boot(struct boot_params
return 0;
}
+
+/* efi_boot_efi:
+ * Boots an efi image
+ */
+int efi_boot_efi(void *kernel_buf, size_t kernel_size,
+ char *cmdline, int cmdlineSize)
+{
+
+char* szLoadImage = "LoadImage()";
+char* szHandleProtocol = "Hand...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...if (add_inbuf(portdev->c_ivq, buf) < 0) {
- dev_warn(&portdev->vdev->dev,
- "Error adding buffer to queue\n");
- free_buf(buf);
- }
- }
- spin_unlock(&portdev->cvq_lock);
-}
-
static void in_intr(struct virtqueue *vq)
{
struct port *port;
@@ -1206,62 +1042,6 @@ fail:
return err;
}
-/*
- * The workhandler for config-space updates.
- *
- * This is called when ports are hot-added.
- */
-static void config_work_handler(struct work_struct *work)
-{
- struct virtio_console_config virtconconf;
- struct ports_device *portdev;
- struct virtio_device *vde...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...if (add_inbuf(portdev->c_ivq, buf) < 0) {
- dev_warn(&portdev->vdev->dev,
- "Error adding buffer to queue\n");
- free_buf(buf);
- }
- }
- spin_unlock(&portdev->cvq_lock);
-}
-
static void in_intr(struct virtqueue *vq)
{
struct port *port;
@@ -1206,62 +1042,6 @@ fail:
return err;
}
-/*
- * The workhandler for config-space updates.
- *
- * This is called when ports are hot-added.
- */
-static void config_work_handler(struct work_struct *work)
-{
- struct virtio_console_config virtconconf;
- struct ports_device *portdev;
- struct virtio_device *vde...
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
...minimal .23560-linux-2.6.17-rc4-git3/include/linux/mm.h .23560-linux-2.6.17-rc4-git3.updated/include/linux/mm.h
--- .23560-linux-2.6.17-rc4-git3/include/linux/mm.h 2006-05-16 10:51:43.000000000 +1000
+++ .23560-linux-2.6.17-rc4-git3.updated/include/linux/mm.h 2006-05-17 17:10:49.000000000 +1000
@@ -1042,6 +1042,13 @@ int in_gate_area_no_task(unsigned long a
#define in_gate_area(task, addr) ({(void)task; in_gate_area_no_task(addr);})
#endif /* __HAVE_ARCH_GATE_AREA */
+#ifndef __HAVE_ARCH_VMA_NAME
+static inline const char *arch_vma_name(struct vm_area_struct *vma)
+{
+ return NULL;
+}
+#endif...
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
...minimal .23560-linux-2.6.17-rc4-git3/include/linux/mm.h .23560-linux-2.6.17-rc4-git3.updated/include/linux/mm.h
--- .23560-linux-2.6.17-rc4-git3/include/linux/mm.h 2006-05-16 10:51:43.000000000 +1000
+++ .23560-linux-2.6.17-rc4-git3.updated/include/linux/mm.h 2006-05-17 17:10:49.000000000 +1000
@@ -1042,6 +1042,13 @@ int in_gate_area_no_task(unsigned long a
#define in_gate_area(task, addr) ({(void)task; in_gate_area_no_task(addr);})
#endif /* __HAVE_ARCH_GATE_AREA */
+#ifndef __HAVE_ARCH_VMA_NAME
+static inline const char *arch_vma_name(struct vm_area_struct *vma)
+{
+ return NULL;
+}
+#endif...
2001 Oct 24
2
disable features
...f WITH_AGENTFWD
Index: clientloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/clientloop.c,v
retrieving revision 1.84
diff -u -r1.84 clientloop.c
--- clientloop.c 11 Oct 2001 15:24:00 -0000 1.84
+++ clientloop.c 22 Oct 2001 18:23:38 -0000
@@ -1042,6 +1042,7 @@
quit_pending = 1;
}
+#ifdef WITH_TCPFWD
static Channel *
client_request_forwarded_tcpip(const char *request_type, int rchan)
{
@@ -1078,7 +1079,9 @@
xfree(listen_address);
return c;
}
+#endif /* WITH_TCPFWD */
+#ifdef WITH_X11FWD
static Channel*
client_request_x11(cons...
2019 Aug 02
0
[PATCH v7 14/18] drm/virtio: switch from ttm to gem shmem helpers
...return -EINVAL;
- ret = virtio_gpu_object_get_sg_table(vgdev, obj);
- if (ret)
- return ret;
+ obj->pages = drm_gem_shmem_get_sg_table(&obj->base.base);
+ if (obj->pages == NULL) {
+ drm_gem_shmem_unpin(&obj->base.base);
+ return -EINVAL;
}
if (use_dma_api) {
@@ -1042,6 +1046,9 @@ void virtio_gpu_object_detach(struct virtio_gpu_device *vgdev,
{
bool use_dma_api = !virtio_has_iommu_quirk(vgdev->vdev);
+ if (WARN_ON_ONCE(!obj->pages))
+ return;
+
if (use_dma_api && obj->mapped) {
struct virtio_gpu_fence *fence = virtio_gpu_fence_alloc(v...