Hi!
On Die, 2011-10-18 at 22:48 +0800, tao jiang wrote:
[...]
Thanks for your guide.
But there is still a question
if recvfrom() used, how to figure out the client's dest ip for reply ?
i.e. on which ip the server receieved the request
when construct the IP header, i don't know which saddr
Hi,
I want to print contents of runqueue of my current processor.
I got the pointer to current task_struct.
To get runqueue, I called task_rq().
When compiled the module, it gave an error.
Actually struct runqueue and task_rq() is not in any header file. It is
present in kernel/sched.c
Is
I can't seem to get my character device to remove itself from the
/proc/devices list. I'm calling all of the following functions like so:
alloc_chrdev_region(dev, 0, 5, my_char);
cdev_init(my_cdev, my_ops);
cdev_add(my_cdev, MKDEV(my_major, my_minor), 1);
cdev_del(my_cdev);
On Fri, Oct 14, 2011 at 9:10 PM, Mulyadi Santosa
mulyadi.sant...@gmail.comwrote:
hi...
On Sat, Oct 15, 2011 at 07:22, Vaibhav Jain vjoss...@gmail.com wrote:
Hi,
I am trying to map local APIC on an intel system (physical address
0xfee0) in a user level program using mmap
but my
Hi,
Please ignore the email below. I am sorry I made a very silly mistake.
Thanks
Vaibhav Jain
On Wed, Oct 19, 2011 at 10:12 AM, Vaibhav Jain vjoss...@gmail.com wrote:
On Fri, Oct 14, 2011 at 9:10 PM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
hi...
On Sat, Oct 15, 2011 at 07:22,
On Wed, Oct 19, 2011 at 10:57 AM, bob ilikepie...@live.com wrote:
It would be nice to share your solution in case someone else comes into the
same problem.
Hi,
It was stupid mistake. I forgot to initialize the file descriptor which was
passed to mmap and therefore it was throwing Bad file
On Wed, Oct 19, 2011 at 7:04 PM, Kai Meyer k...@gnukai.com wrote:
I can't seem to get my character device to remove itself from the
/proc/devices list. I'm calling all of the following functions like so:
alloc_chrdev_region(dev, 0, 5, my_char);
cdev_init(my_cdev, my_ops);
cdev_add(my_cdev,
I'm trying to poke around an ext4 file system. I can submit a bio for
the correct block, and read in what seems to be the correct information,
but when I try to memcpy my char *buffer to a reference to a struct I've
made, it just doesn't seem to work. The relevant code looks like this:
typedef
On Thu, Oct 20, 2011 at 2:25 AM, Kai Meyer k...@gnukai.com wrote:
Unfortunately I can't share the source code, it belongs to the company I
work for.
All of cdev_init, cdev_del, and unregister_chrdev_region are void
functions, so they have no return value.
I check the return value of
On Thu, Oct 20, 2011 at 3:04 AM, Kai Meyer k...@gnukai.com wrote:
I'm trying to poke around an ext4 file system. I can submit a bio for
the correct block, and read in what seems to be the correct information,
but when I try to memcpy my char *buffer to a reference to a struct I've
made, it
Thanks for the link; but this bit has to be set on the original executable.
Is there any way a program in user mode can get around this or set the bit
himself?
Ummm...now that would be a security violation, don't you think? If a
program can elevate it's own privileges, then whats the point of
11 matches
Mail list logo