Hi!!
I want to create a file in /proc which I would be using for
some of interprocess communication.
The code snippet is given below. However, it just does not seem to work
:((. The code compiles perfectly but the function create_proc_entry returns
NULL everytime :(.
Is there something I'm miss
Hi,
I have a problem regarding a /proc entry.
I created a /proc entry (/proc/spoon) from a kernel module. Now, there
is a user mode process which has to access this entry and write some
data into it. I am using the regular 'open' and 'write' system calls
in the user mode process to open /proc/spo
> Are you sure if anything can be written to /Proc? if yes, I thiink
> only root is able to write,.
>
If no one can write to /proc how is it used for communication between
kernel mode and user mode?
And all the code that I am trying out is being executed as root. Yet
it does not work.
In fact I
> If you are accessing /proc/spoon with user program
> thats executed as root then theres no problem to write
> /proc entries. I already did that and able to write to
> /proc entry.
>
> > If no one can write to /proc how is it used for
> > communication between
> > kernel mode and user mode?
>
>
The Solaris operating system is going to be made open source. For more
details refer to the following site:
http://www.opensolaris.org/
When it does get open source, will be allowed to discuss about it here
on this group or will we restrict ourselves to Linux?
Comments awaited :)
-Shri
--
_
Can someone give a live demo of kernel debugging? (In the meeting on
this Sat or even otherwise)
In fact, if we show people how to write a small module and also show
them the use of the debugger, there will be many people who would get
hooked into kernel programming.
If such an activity has been
Hey all,
Theres nothing gr8 in the question that i'm about to ask. Its just for
letting you put your thinking hats on :).
For the question, courtesy : kernelnewbies.org
If I have an executable say 'N', but I do not want it to be executed
(without modifyiing the .out file), how would I be able to
Every process has its own file table where its stores apart from other
details the fds of the files it has opened and the current offset from
where the next read/write operation will begin.
How do I access this table in my kernel module? I want to change the
offset of a particular file to EOF.
-S
What I am trying to do is something like this:
For a file, say named 'config', I want to have 2 names for it ,say
'config' and 'donfig'. So when I do an 'ls' on that directory, I
should be able to see 2 files 'config' and 'donfig'
$ ls
config donfig
$
I DO NOT have the liberty of using symlinks.
What I am trying to do is something like this:
For a file, say named 'config', I want to have 2 names for it ,say
'config' and 'donfig'. So when I do an 'ls' on that directory, I
should be able to see 2 files 'config' and 'donfig'
$ ls
config donfig
$
I DO NOT have the liberty of using symlinks.
>
> How about hard link?
>
Ideally no links should be used. Neither symlink, nor hard link. If we
could get a solution without links then it would be gr8.
However, I would also like like to know how could we do this using links.
Thanks in advance
-Shri
--
_
If a function is written in a kernel module (and not hooked to any
syscall) and that kernel module is loaded in memory, can user-land
programs call that function?
Also, does making an entry in the syscall table mean writing an
interrupt handler?
Thanks in advance
-Shri
--
___
On Tue, May 12, 2009 at 7:14 AM, wrote:
> I'm trying to install vmware server 2.0 on ubuntu 8.10(64-bit) using
> installer (.bundle) package, It gives me error, Vmware cannot be installed
> on KVM enabled kernel. I'm using default kernel provided with Ubuntu 8.10.
> --
> Sharique
> __
On Thu, Jun 18, 2009 at 10:25 PM, Suraj Swami wrote:
> Hi,
>
> I trying to write a basic serial communication code in linux. I am well
> verse to serial communication but have never done so in Linux.
>
> I tried many forums but they had solution to complex issue. And I just want
> a basic code and
On Mon, Sep 28, 2009 at 12:14 PM, Suraj Swami wrote:
> Hi,
>
> I was trying to generate random number integer in CPP ( gcc compiler ) using
> rand() function. But it is giving some error. I have tried a few things.
> Which did not work. As I am not at my home PC right now hence I am unable to
> te
On Wed, Sep 30, 2009 at 10:01 AM, Rajendra Sakpal
wrote:
> Hi Friends,
>
> I am accessing Tomcat homepage from a LINUX host deploying CENTOS 5.3.
> Tomcat is deployed on WINDOWS machine. I could access the TOMCAT homepage
> from WINDOWS host.
>
> The WINDOWS host can be pinged from the CENTOS mac
-- Forwarded message --
From: Michael Snyder
Date: Mon, Oct 5, 2009 at 3:29 PM
Subject: VMware pre-release with replay / reverse debugging for
linux/gdb is available
To: g...@sourceware.org
Hello,
For those who are interested, VMware has made available a free
pre-release version
17 matches
Mail list logo