I'm sorry I said the wrong thing.
First of all, page fault isn't blocked by cli instuction.
Page fault is a type of fulat(not a interrupt)
This log is printed from the page fault handler.
> [ 4024.792614] #PF: supervisor write access in kernel mode
> [ 4024.793944] #PF: error_code(0x0002) -
Thanks for the answer!
I set the clear interrupt flag from this article:
http://vulnfactory.org/blog/2011/08/12/wp-safe-or-not/
As apparently if not done it could lead to a scheduling problem on SMP
systems?
Thanks,
Enzo
On Thu, Apr 23, 2020 at 2:05 AM 양원혁 wrote:
> According to the log, the pa
According to the log, the page frame of sys_call_table is not currently
present.
So it should be handled by page fault handler.
But. disable_write_protection blocks the interrupt via the cli instruction.
So the page fault handler cannot be performed.
> [ 4024.772066] Module loading
> [ 4024.
Hi,
I am trying to write a proof of concept where the execve
system call gets replaced by a new one, that
would print a message if ls is launched.
However, this is giving me a page fault everytime
I try to insmod it, and I cannot figure out why.
Thanks,
Enzo
here is the code:
+
#include
#i
On Sat, Apr 18, 2020 at 1:57 PM Bijan Tabatabai wrote:
>
> I tried to send a patch to the linux-trace-devel mailing list using
> git-send-email, and the email got bounced back to me with the message
> > 553: 5.7.1 Hello [98.137.68.147], for your MAIL FROM address
> > policy analysis reported: Y
Hi
The background:
Interrupts are disabled just before stopping other cores during handling
restart:
See example from:
/arch/arm/kernel/reboot.c:
/*
* Restart requires that the secondary CPUs stop performing any activity
* while the primary CPU resets the system.
*/
void machine_restart(char *cm