Displaying 7 results from an estimated 7 matches for "m_temp".
Did you mean:
_temp
1999 Sep 15
0
FreeBSD Security Advisory: FreeBSD-SA-99:04.core
...elf.c 1999/08/26 17:32:48 1.62
***************
*** 722,729 ****
if (name == NULL)
return (EFAULT); /* XXX -- not the best error */
! NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, name, p);
! error = vn_open(&nd, O_CREAT | FWRITE, S_IRUSR | S_IWUSR);
free(name, M_TEMP);
if (error)
return (error);
--- 722,729 ----
if (name == NULL)
return (EFAULT); /* XXX -- not the best error */
! NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, name, p);
! error = vn_open(&nd, O_CREAT | FWRITE | O_NOFOLLOW, S_IRUSR | S_IWUSR);
free(n...
2011 Jun 20
3
matrix problem
Hallo everyone! I have a problem about creating a matrix...
Suppose we have a vector y<-c(1,1,1,3,2)
and a zero matrix, m ,with nrows=length(y) and ncol=4.
The matrix would look like this:
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
I want to change the first three rows with the vector c(1,2,3,4).
I thought that with the command m[y==1,1:4]<-c(1,2,3,4) i would get
1 2 3 4
1 2 3 4
1 2 3 4
0
2003 Sep 01
1
testers needed for CAM INVARIANTS fix
...| CTLFLAG_RW,
- &softc->minimum_cmd_size, 0, dacmdsizesysctl, "I",
- "Minimum CDB size");
-
- /*
* Block our timeout handler while we
* add this softc to the dev list.
*/
--- 1286,1291 ----
***************
*** 1694,1701 ****
}
}
free(rdcap, M_TEMP);
! if (announce_buf[0] != '\0')
xpt_announce_periph(periph, announce_buf);
softc->state = DA_STATE_NORMAL;
/*
* Since our peripheral may be invalidated by an error
--- 1714,1727 ----
}
}
free(rdcap, M_TEMP);
! if (announce_buf[0] != '\0') {...
2004 Sep 29
5
Kernel-loadable Root Kits
...struct kldload_args* uap)
> {
> +#ifdef NO_KLD
> + /* Always return error. */
> + return EPERM;
> +#else
> char* filename = NULL, *modulename;
> linker_file_t lf;
> int error = 0;
> @@ -685,11 +690,16 @@
> if (filename)
> free(filename, M_TEMP);
> return error;
> +#endif
> }
>
> int
> kldunload(struct proc* p, struct kldunload_args* uap)
> {
> +#ifdef NO_KLD
> + /* Always fail. */
> + return EPERM;
> +#else
> linker_file_t lf;
> int error = 0;
>
> @@ -716,6 +726,7...
2012 Sep 30
2
rsync over NFSv4
Hi,
my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01
CEST 2012 lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC
i386) crashes reproducibly when rsync-ing files to an NFSv4 share on
the FreeBSD machine. The crash makes the system reboot. The crash
creates files in /var/crash which may be obtained
2003 Aug 22
3
PAE removal patch for testing
...args->seg.code32.limit = 0xffff;
- ptd = (pd_entry_t *)rcr3();
-#ifdef PAE
- ptd = (pd_entry_t *)(*ptd & PG_FRAME);
-#endif
+ ptd = (u_int *)rcr3();
if (ptd == IdlePTD) {
/*
* no page table, so create one and install it.
*/
- pte = (pt_entry_t *)malloc(PAGE_SIZE, M_TEMP, M_WAITOK);
- ptd = (pd_entry_t *)(KERNBASE + IdlePTD);
+ pte = (u_int *)malloc(PAGE_SIZE, M_TEMP, M_WAITOK);
+ ptd = (u_int *)((u_int)ptd + KERNBASE);
*ptd = vtophys(pte) | PG_RW | PG_V;
} else {
/*
* this is a user-level page table
*/
- pte = PTmap;
+ pte = (u_int *)&PTmap;...
2013 Oct 28
5
FreeBSD PVH guest support
...RVED1},
+ {"boot_verbose", RB_VERBOSE},
+ {"boot_multicons", RB_MULTIPLE},
+ {NULL, 0}
+};
+
+static struct bios_smap xen_smap[MAX_E820_ENTRIES];
+
+static int
+start_xen_ap(int cpu)
+{
+ struct vcpu_guest_context *ctxt;
+ int ms, cpus = mp_naps;
+
+ ctxt = malloc(sizeof(*ctxt), M_TEMP, M_NOWAIT | M_ZERO);
+ if (ctxt == NULL)
+ panic("unable to allocate memory");
+
+ ctxt->flags = VGCF_IN_KERNEL;
+ ctxt->user_regs.rip = (unsigned long) init_secondary;
+ ctxt->user_regs.rsp = (unsigned long) bootSTK;
+
+ /* Set the CPU to use the same page tables and CR4 value...