regarding ptrace equivalent in solairs


 
Thread Tools Search this Thread
Top Forums Programming regarding ptrace equivalent in solairs
# 1  
Old 03-11-2009
regarding ptrace equivalent in solairs

hi,'m using the 5.11 kernel version on amd64 architecture, 32-bit. i need help on the following issues
1)a proper structure to represent the register structure in the architecture
2)a function which would change the register values of the child when the control is with the parent.. ptrace_setregs is not supported in solaris , nor we could find ptrace.h library in solaris. Even a dtrace equivalent to this would be fine..
3)can we modify the register values using ptrace_peekuser? the offset in the uarea is required for it.. how to get that?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solairs 11 Hyper V

Hola, First time i'm doing this so apologies if i ask something daft. I've a host windows 2008R2 server which is running hyper-v. I have created a virtual machine and installed Solaris 11. I'm trying to configure the network settings so that I can access the internet and run 'pkg install... (0 Replies)
Discussion started by: dbajtr
0 Replies

2. Solaris

Information regarding the solairs

Hi all Basically i am a Linux Administrator. I have a opportunity in my working area to learn about sun solairs..i have installed solairs 5.10 in one of our sun blade 150 which is having sun sparc IIe architecture. So, is there any website where i can compare both the os files and its... (2 Replies)
Discussion started by: kingston
2 Replies

3. Programming

ptrace-get register values

Hi,All, I use ptrace to capture the OPEN syscall, and find problems on getting filename as its argument. Basically, what ebx returns is a pointer to the filename of file to open. My code is as follows, and the program keep throwing segment fault. Besides, even if I can get filePath, how can I know... (2 Replies)
Discussion started by: tristartom
2 Replies

4. Solaris

Sendmail Issue on Solairs 8

Hello Gurus, On server xyz. I need to configure sendmail. Sendmail server is abc.xxx.xx.com Important thing is sendmail server is resolving only by DNS , even ping is not happening. But when I configure in /etc/mail/sendmail.cf as show below DSabc.xxx.xx.com Still I am receiving the... (1 Reply)
Discussion started by: bullz26
1 Replies

5. UNIX for Advanced & Expert Users

gdb and ptrace ????

Hi all What 's the relationship between gdb and ptrace, if the kernel does not support ptrace, can gdb work ? Is there some one can explain this for me (3 Replies)
Discussion started by: yanglei_fage
3 Replies

6. Programming

ptrace-GETREGS

hello everybody!! I want to post a question!I am confused about the explanation of ptrace command. long ins; ins=ptrace(PTRACE_GETREGS,pid,NULL,&regs); with this command i am able to read, for instance, regs.eip context or get regs.eip address? And if i write the commad... (2 Replies)
Discussion started by: nicos
2 Replies

7. Solaris

solairs installation

We have purchased one solaris 10 DVD to install solaris on sparc(already it has solaris 9 OS) system.In our sparc system having cd-rw.Aparting that we are having windows xp system which is having dvd-rw.Both sparc and windows xp are connected network in that we are sharing the files from windows... (1 Reply)
Discussion started by: ambavaram
1 Replies

8. Programming

Tracing self process using ptrace()

Kindly correct me if any of the foll is wrong: I want to trace the current process from the C program itself which I think can be done using ptrace(PTRACE_ATTACH,getpid(),0,0); I would like to get control back after a segmentation fault, or arithmetric exception (i.e. all signals that end... (1 Reply)
Discussion started by: vpraveen84
1 Replies

9. Solaris

ssh on solairs 10 which packages

I just installed several packages and ssh is working on this solaris 10 box. I am not certain that I needed all of these: SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu Can anyone confirm the packages that are really necessary? (1 Reply)
Discussion started by: liven
1 Replies

10. Solaris

Oracle and Solairs

Hello I want to know the two exact command for the following: The one which tells you whether Oracle is installed or not? If Yes what is the Oracle versions number? I tried to check Oracle using 'find' command and seen some entries.After that not able to find the Oracle verion using one... (2 Replies)
Discussion started by: chrs0302
2 Replies
Login or Register to Ask a Question
platform::shell(n)					       Tcl Bundled Packages						platform::shell(n)

__________________________________________________________________________________________________________________________________________________

NAME
platform::shell - System identification support code and utilities SYNOPSIS
package require platform::shell ?1.1.4? platform::shell::generic shell platform::shell::identify shell platform::shell::platform shell _________________________________________________________________ DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell. This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only requirement is that the other shell (identified by its path), is actually executable on the current machine. While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run 32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers. For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed packages, versus the architecture of the shell running the repository software. COMMANDS
platform::shell::identify shell This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell. platform::shell::generic shell This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell. platform::shell::platform shell This command returns the contents of tcl_platform(platform) for the specified Tcl shell. KEYWORDS
operating system, cpu architecture, platform, architecture platform::shell 1.1.4 platform::shell(n)