search for: copyin

Displaying 20 results from an estimated 56 matches for "copyin".

Did you mean: copying
2006 Jan 13
1
FreeBSD Errata Advisory FreeBSD-SA-06:03.cpio
Hi there, I'm following the security advisory to patch the cpio vulnerability (update to 6_0_0 RELENG p2, make obj, make depend), yet when it comes to make, it shows some error message as follows: /usr/src/gnu/usr.bin/cpio/../../../contrib/cpio/copyin.c:536: error: redefinition of 'safer_name_suffix' /usr/src/gnu/usr.bin/cpio/../../../contrib/cpio/copyin.c:488: error: previous definition of 'safer_name_suffix' was here /usr/src/gnu/usr.bin/cpio/../../../contrib/cpio/copyin.c:584: error: redefinition of 'safer_name_suffix'...
2009 Sep 17
5
"this" variables being overridden?
...profiled program to the dtrace space, and set a "this-dataP" variable to point to the local copy, after a while some of the fields of the local structure are overridden with junk values. In particular, consider the following code: pid$target::foo:entry { this->dataP = (ProfData*)copyin(arg2, sizeof(ProfData)); } /* various of other foo:entry clauses with various predicates. * None of them is doing a copyin operation. */ [snip] pid$target::foo:entry /disabled[0]==0 && arg1 != 0/ { this->ablock = arg0; this->time = this->dataP->execTime; this-&g...
2009 Jul 24
9
getting extra characters with printf(copyin(a, b))
Hi, I have a situation where a DTrace script is printing out extra characters, despite the copyin() call giving a specific length. Can anyone think of why this might be? It''s fine the first time all of the probes fire, but on a second run of my generating operations, I get junk in there. For example: set setop length 5, FOUND KEY, STORED set setop length 5, FOUND KEY, STORED get se...
2006 Aug 08
9
Handling userland char ** pointers
I''ve been trying to get access to a userland string that''s behind a second level pointer using DTrace, but I can''t seem to get it to work. I started with the example on the Team DTrace Tips and Tricks slides: trace(copyinstr(*(uintptr_t *)copyin(arg0, curpsinfo->pr_dmodel == PR_MODEL_ILP32 ? 4 : 8))); And when I couldn''t get it to work, I started breaking it down into smaller pieces to see what was going on at each step. Here''s the "C" and "D" code: --- pt.c --- static...
2008 Jul 07
2
copyin having secondary effects.
Dtracing gethostbyname I''m trying to read the h_alias array and all the entries it points to however every time I copyin an entry pointed to by the first entry in teh h_alias array the other entries in the array get corrupted. So I have ended up with this script: #!/usr/bin/dtrace -CZs #include <netdb.h> pid$target::gethostbyname_r:return { self->r = (struct hostent *)copyin(arg1, sizeof (struct hosten...
2005 Aug 12
3
Funny output from write syscall
I have a clause that look like this: syscall::write:entry /execname == "ntpd" && self->recspec/ { speculate(self->recspec); printf(" fd=%d buf=%d\n%s",arg0,arg2, stringof(copyin(arg1,arg2-1))); } The ntpd program always write a \n trminated string in this context, so I used the "arg2-1" to drop the \n. This works fine about 90% of the time, but every once in a while, the printf prints out more data than arg2 specified. It gets the expected data okay, but tacked...
2006 Jul 17
7
access to errno when using pid provider
I would like to know how to get access to errno when using pid provider to probe calls to libc functions like fopen(). The built-in errno appears to be only for system calls. What I''d like to be able to do is investigate where in an application I''m encountering EMFILE and what the stack looks like at the time. This message posted from opensolaris.org
2006 Jan 11
0
FreeBSD Security Advisory FreeBSD-SA-06:03.cpio
...VI. Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 contrib/cpio/copyin.c 1.6.6.2 contrib/cpio/copyout.c 1.2.8.1 contrib/cpio/cpio.1 1.3.6.1 contrib/cpio/extern.h 1.2.8.1 contrib/cpio/global.c...
2008 May 20
6
Dtrace queries - predicates & func arg tracing
[1] Predicates in one-liners I would like to list the probe modules in my executable and then dynamically create a dscript to trace execution of those modules alone (by excluding the 3rd party and system libraries). I tried the below script without success. The conditional given in the predicate is not taking effect. Why is this so ? $ dtrace -ln ''pid$target:::
2006 Jul 31
5
use tracemem to dump content in function read/write
Hi Expert I want to use dtrace to monitor the content change of one file. I made following scripts, #!/usr/sbin/dtrace -s inline int MYPID = $1; syscall::write:entry /pid == MYPID/ { tracemem(arg1, arg2); printf("\n"); } It always has an following error bash-3.00$ sudo dumpFIFO.dtrace 3836 dtrace: failed to compile script ./dumpFIFO.dtrace: line 19: tracemem( ) argument #2
2006 Jan 11
1
FreeBSD Security Advisory FreeBSD-SA-06:03.cpio
...VI. Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 contrib/cpio/copyin.c 1.6.6.2 contrib/cpio/copyout.c 1.2.8.1 contrib/cpio/cpio.1 1.3.6.1 contrib/cpio/extern.h 1.2.8.1 contrib/cpio/global.c...
2015 Mar 23
1
[PATCH] customize: add --copy
From: Maros Zatko <hacxman@gmail.com> This adds --copy SOURCE:DEST, equivalent of calling g#cp_a src dst. RFE: RHBZ#1203817 Maros Zatko (1): customize: add --copy builder/cmdline.ml | 2 +- customize/customize_run.ml | 4 ++++ generator/customize.ml | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) -- 1.9.3
2015 Feb 02
0
[PATCH 7/7] customize: add copy-in operation (RHBZ#1135585).
...n page virt-builder(1). | `FirstbootScript _ | `Hostname _ | `Link _ | `Mkdir _ | `Password _ | `RootPassword _ | `Scrub _ | `SSHInject _ | `Timezone _ | `Upload _ | `Write _ | `Chmod _ - | `CommandsFromFile _ -> false + | `CommandsFromFile _ | `CopyIn _ -> false ) ops.ops in if requires_execute_on_guest then error (f_"sorry, cannot run commands on a guest with a different architecture"); diff --git a/customize/customize_run.ml b/customize/customize_run.ml index fed905b..3c82cb4 100644 --- a/customize/cus...
2007 Mar 19
2
cant install or run programs from cd especially Final Fantasy VII (FF7)
ive been using wine for about a month now and ive tried a couple different versions but i cant install or run anything on wine from a CD..i did a work around for it by just copyin the cd to my hard drive and got my game installed, but it comes with 3 play disks and an install disk, and when i try to play it even when the correct play disk is in and copied everywhere on my hard drive the game still asks for me to insert any of the play disks.....if anyone plays that game or k...
2008 Sep 30
12
dtrace missing ''unlinkat''? showing process stack?
everyone, Just out of curiosity, I did a dtrace -n ''syscall:::entry { @num[execname, probefunc] = count(); }'' and looked at the entries produced by ''rm''. I see everything that rm did, *except* the unlinkat - which is unfortunate because I want to trace which processes have deleted which files. So - does dtrace contain unlinkat as a probe for a system call?
2007 Apr 18
3
dtrace-discuss: cannot get a ''string'' to print...
hi, I''m using the PID provider to trace a 32-bit app, prtdiag. I''m trying to print the value of "propname" (arg1) in the following func: int picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t nbytes) ... i''ve tried many versions, but this is a representative one: 53 this string propname; 54 55
2007 Aug 09
9
Is DTrace Vulnerable?
There is a Slashdot discussion today titled "Cambridge Researcher Breaks OpenBSD Systrace". Slashdot anonymous member has a comment "Even Sun''s Dtrace might be vulnerable." I don''t think it is. Comments? Exploiting Concurrency Vulnerabilities in System Call Wrappers http://www.watson.org/~robert/2007woot/2007usenixwoot-exploitingconcurrency.pdf Abstract
2010 Mar 19
2
Using DTrace in 32-bit to handle 64-bit parameters [72631230]
Hi all, OK, so this at first looked like a clear cut "Don''t do it, or at worst handle the results" issue my customer has come to me with, but the more we discuss it, the more it looks like we should have better ways of dealing with this issue. > We have user defined dtrace probe points in the application which use > as parameter 64 bit values: > > provider adv {
2005 Nov 22
6
DTrace #include problems
...ts to use application defined types, and am running into a few issues. When I attempt to run a script with a application defined type, it looks like the DTrace preprocessor is getting angry with me: $ cat view.d #include "httpd.h" :::acceptconnection { this->addr = (conn_rec *)copyin(arg0,sizeof(conn_rec *)); } $ dtrace -C -I/tmp/apache/include -s view.d dtrace: failed to compile script view.d: "/tmp/apache/include/apr_thread_mutex.h", line 100: syntax error near "#" At first I thought there was an issue with the header files, so I ran CPP by hand to gen...
2012 Aug 06
2
Problem in sharing printers
...to the printer subfolder I see two printers with no name, so when I try to edit properties to upload drivers it complains printer has no name. Same happens if I go back to server shares' "root" and I try to add the printer, I get asked for the drivers, provide them, then when finishes copyin it complains the printer has no name or it's not on the server anymore. What could be the problem? thanks -- Lorenzo Milesi - lorenzo.milesi at yetopen.it GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it