Fwd: Creating a new virtual address space for a process

2007-01-21 Thread Pranav Sawargaonkar
-- Forwarded message -- From: Pranav Sawargaonkar [EMAIL PROTECTED] Date: Jan 22, 2007 12:27 PM Subject: Re: Creating a new virtual address space for a process To: Joe Damato [EMAIL PROTECTED] On 1/22/07, Joe Damato [EMAIL PROTECTED] wrote: Hello - This is my first time

Re: Source code for user utilities

2007-01-16 Thread Pranav Sawargaonkar
Thanks for the help. I got it in /usr/src/bin -Pranav On 1/16/07, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jan 16), Mike Meyer said: In [EMAIL PROTECTED], Pranav Sawargaonkar [EMAIL PROTECTED] typed: Can any one tell me from where i can get source code of user level

Source code for user utilities

2007-01-15 Thread Pranav Sawargaonkar
Hi Can any one tell me from where i can get source code of user level utilities (eg. ls, top etc.) Does FreeBSD also uses coreutils for these user utilities like linux does ? TIA -Pranav ___ freebsd-hackers@freebsd.org mailing list

What did you do for Earth Day?

2006-05-11 Thread Pranav Sawargaonkar
I hope you had a great Earth Day! I thought you'd want to try this: Adopt your earth and get a free screensaver! Click here to get started: http://friends.earthscreen.com/?r=kTFUNzQgFBdWBmINASkCi=gmail[EMAIL PROTECTED]p=1z=1tc=11 ___

Keep celebrating Earth Day

2006-05-11 Thread Pranav Sawargaonkar
I hope you had a great Earth Day! I thought you'd want to try this: I'm getting a $25 gift card for Vivavi earth-friendly products. Get yours too. Click here to get started: http://friends.earthscreen.com/?r=MTFUNzQgFBdWBmINASkCi=gmail[EMAIL PROTECTED]p=8z=1tc=11

RE:Using open system call in KLD

2006-03-05 Thread Pranav Sawargaonkar
; close(td,c); } -Pranav Sawargaonkar ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Difference between signal related structures

2006-02-27 Thread Pranav Sawargaonkar
in advance -Pranav Sawargaonkar ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Saving register values

2006-02-23 Thread Pranav Sawargaonkar
Hi I want to access cpu registers using KLD.How should i do that? My aim is to save current registers values on disk. Any documentation or code regrading this will also help me. Thanks in advance. -Pranav Sawargaonkar

Re: Saving register values

2006-02-23 Thread Pranav Sawargaonkar
Thanks for reply. Actually i want to save cpu registers values just before the time of shutdown that is why i am asking question.So is it possible for me to do that?and if possible how should approach for it? Thanks in advance. On 2/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to

Re: File creation using KLD

2006-02-07 Thread Pranav Sawargaonkar
Thank you for giving me guideline on this topic. Because of that I succeed in creating a file and writing on it. On 2/6/06, Pawel Jakub Dawidek [EMAIL PROTECTED] wrote: On Sun, Feb 05, 2006 at 11:42:04PM +0530, Pranav Sawargaonkar wrote: + Hi + I want to create a file on disk using KLD

File creation using KLD

2006-02-05 Thread Pranav Sawargaonkar
Hi I want to create a file on disk using KLD and then tryout some reading and writing stuff on that file,so can any one suggest me any solution i.e. functions to use and locks which i need to carry out this. Thanks in advance -Pranav

Re: Accessing Pagetable of a process

2006-01-17 Thread Pranav Sawargaonkar
and restore the context afterwards and resume the process.Whatfunctions can be used to read/write to swap ? I have succeeded in accessing the vmspace through the 'struct proc' type pointer. TIA. Best regards, Pranav On 1/17/06, Kamal R. Prasad [EMAIL PROTECTED] wrote: On 1/16/06, Pranav Sawargaonkar

Accessing Pagetable of a process

2006-01-16 Thread Pranav Sawargaonkar
Hi I want to access pagetable of a perticular process. How i should get it?Is it possible to access by using pointer of type 'struct proc'? Also i want to access each page referenced in pagetable of that process by writing my module how i can achieve this? Thanks in advance.

Kernel programming

2006-01-14 Thread Pranav Sawargaonkar
Hi I have doubt about accessing vmspace structure using proc pointer. I have written code below in my module and try to find out data size of a program, but during make it is giving me errors.Please anyone tell me what is right way to code my function. Function I have written is- static int