Thanks Peter for the great explanation!
I'm working towards modifiying the kernel by adding a new layer so
luckily I have the change_page_attr_set available to me.
Thanks,
Asim
On 7/15/08, Peter Teoh <[EMAIL PROTECTED]> wrote:
> This is a feature of the Intel CPU - called the NX bit. Once turn
are u sure? or is it modprobe -f? and modprobe have others like
force-vermagic which i don't understand what is it.
On Tue, Jul 15, 2008 at 1:42 PM, Mulyadi Santosa
<[EMAIL PROTECTED]> wrote:
> Hi Mark...
>
> On Mon, Jul 14, 2008 at 5:41 PM, Mark Ryden <[EMAIL PROTECTED]> wrote:
>> Hello,
This is a feature of the Intel CPU - called the NX bit. Once turned
on, it is a hardware feature whereby u can specify whether the code is
made executeable or not. As of 2nd edition of Understanding Linux
Kernel, it is still mentioned that x86 cannot distinguished between
executeable and non-ex
On Tue, Jul 15, 2008 at 06:51:46PM -0500, Asim wrote:
> I have an AMD Opteron(tm) Processor. I want to write assembly code for
> calling a function say f with n arguments already in stack and store
> the result in res. I can write on Intel but on AMD machines the
> arguments are not being passed co
Hi,
I have an AMD Opteron(tm) Processor. I want to write assembly code for
calling a function say f with n arguments already in stack and store
the result in res. I can write on Intel but on AMD machines the
arguments are not being passed correctly. Does anyone know what
changes I need to make for
Hi,
I am trying to install a PCI Graphic card on an embedded
PowerPC system (Freescale evaluation board) running Linux. We
would like to run Flash application on the card. As you may
know there are no BIOS for PowerPC board to enable the graphic card.
Here are my questions:
1- Has anyone done
On Tue, 15 Jul 2008, Bizhan Gholikhamseh (bgholikh) wrote:
> Hi,
> Currently, we have a system with 512 M Ram system memory, how could I
> trick the kernel to think the system memory is only 256 MByte?
"mem=256M" at boot time
rday
--
=
Hi,
Currently, we have a system with 512 M Ram system memory, how could I
trick the kernel to think the system memory is only 256 MByte?
Regards,
Bizhan
I'm allocation some function pointers and they were not executable. I
wanted to make them executable. I was able to fix my problem. Let me
know if there is any bug in what I did.
my_array_of _fn_pointers = kmalloc(sizeof
your_favourite_fn_ptr_struct_here, GFP_KERNEL);
addr = my_array_of _fn_poin
The itf is actually addr variable . That was a typo while formatting
code in the mail.
Regards,
Asim
On 7/15/08, Asim <[EMAIL PROTECTED]> wrote:
> I'm allocation some function pointers and they were not executable. I
> wanted to make them executable. I was able to fix my problem. Let me
> know if
Can you be a bit more specific ?
On Tue, Jul 15, 2008 at 9:55 PM, Asim <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I try to allocate memory to generate some executable code in memory.
> But when i try to execute - I get the following error "kernel tried to
> execute NX-protected page - exploit attempt? (
Hi,
I try to allocate memory to generate some executable code in memory.
But when i try to execute - I get the following error "kernel tried to
execute NX-protected page - exploit attempt? (uid: 0)". Is there some
different way to allocate executable memory (and not data). Kindly
help.
Regards,
A
Hello David,
On Tue, 2008-07-15 at 07:58 -0700, David Woodhouse wrote:
> I don't like this bit though:
>
> > --- a/include/linux/syscalls.h
> > +++ b/include/linux/syscalls.h
> > @@ -65,6 +65,10 @@ struct getcpu_cache;
> > #include
> > #include
> >
> > +#ifdef CONFIG_X86
> > +#include
> >
Hello Alexander,
On Tue, 2008-07-15 at 15:51 +0200, Alexander van Heukelum wrote:
>
> I think moving the declarations to a header file is a good thing,
> but I don't think mach_traps.h is a suitable place.
I CC new patch to you : [PATCH] x86: Introducing asm-x86/traps.h
> The definitions
>
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Hi All,
>
> I am new to linux drivers.
>
> I bought the webcam(BUFFALO BWC-30MS03/WH) in Japan and want to use the same
> with my linux machine.
> But i donno where to start.
>
> I have very little understanding of USB device drivers.
>
> I have s
On Tue, 15 Jul 2008 16:22:38 +0530, "Jaswinder Singh"
<[EMAIL PROTECTED]> said:
>
> Declaring x86 traps under one hood.
> Declaring x86 do_traps before defining them.
>
> Signed-off-by: Jaswinder Singh <[EMAIL PROTECTED]>
> ---
> arch/x86/kernel/traps_32.c| 20 -
> arch
On Tue, 2008-07-15 at 18:36 +0530, Jaswinder Singh wrote:
> Updated Patch:
>
> declaring arch-dependent syscalls for x86 under one hood
Thanks Jaswinder, this looks quite sensible in general and should go
some way towards making sparse shut up about undeclared functions. You
should Cc Ingo though
On Tue, 2008-07-15 at 16:22 +0530, Jaswinder Singh wrote:
> Declaring x86 traps under one hood.
> Declaring x86 do_traps before defining them.
> arch/x86/kernel/traps_32.c| 20 -
> arch/x86/kernel/traps_64.c| 21 --
> include/asm-x86/mach-default/m
Updated Patch:
declaring arch-dependent syscalls for x86 under one hood
Signed-off-by: Jaswinder Singh <[EMAIL PROTECTED]>
---
arch/x86/kernel/ldt.c|1 +
arch/x86/kernel/process_32.c |1 +
arch/x86/kernel/process_64.c |1 +
arch/x86/kernel/signal_32.c |1 +
arch/x86/kern
Declaring x86 traps under one hood.
Declaring x86 do_traps before defining them.
Signed-off-by: Jaswinder Singh <[EMAIL PROTECTED]>
---
arch/x86/kernel/traps_32.c| 20 -
arch/x86/kernel/traps_64.c| 21 --
include/asm-x86/mach-default/mach_traps
declaring arch-dependent syscalls for x86 under one hood
Signed-off-by: Jaswinder Singh <[EMAIL PROTECTED]>
---
arch/x86/kernel/ldt.c|1 +
arch/x86/kernel/process_32.c |1 +
arch/x86/kernel/signal_32.c |1 +
arch/x86/kernel/tls.c|1 +
arch/x86/kernel/vm86_32.c
On Tue, 2008-07-15 at 08:52 +0200, Roberto A. Foglietta wrote:
> 2008/7/14 Bernd Petrovitsch <[EMAIL PROTECTED]>:
> > On Mon, 2008-07-14 at 20:47 +0200, Roberto A. Foglietta wrote:
> >> 2008/7/14 Robert P. J. Day <[EMAIL PROTECTED]>:
> >> >
> >> > is there a good online explanation of the differe
I am trying to write a tty driver
So as usual I tried compiling driver that I got from Linux
Device Driver Book..
I've attached the same file here...
My problem is..when I try to load this module I get this
error.
kobject_add failed for ttty3 with -EEXIST, don't try to
register thing
2008/7/14 Bernd Petrovitsch <[EMAIL PROTECTED]>:
> On Mon, 2008-07-14 at 20:47 +0200, Roberto A. Foglietta wrote:
>> 2008/7/14 Robert P. J. Day <[EMAIL PROTECTED]>:
>> >
>> > is there a good online explanation of the difference WRT linux?
>> > thanks.
>>
>> Sorry for the attachment but an image is
24 matches
Mail list logo