How to check kernel or user mode

From: Tong Li (tongli_at_cs.duke.edu)
Date: 02/28/04


Date: Sat, 28 Feb 2004 11:29:45 -0500

Could someone tell me how to check if a running process is running in the
kernel or user mode on x86/Linux?

Thanks!



Relevant Pages

  • Re: How to check kernel or user mode
    ... > Could someone tell me how to check if a running process is running in the ... From user mode, this will generate an exception. ... You can check I/O privilege level by pushing the flags and checking bits 13:12. ... You can use ARPL to see if you can read kernel data and/or code segment. ...
    (comp.os.linux.development.system)
  • Re: question about pt locking
    ... page reclaim can fiddle with a running process' page tables ... Yeah just now remembered why the kernel has tlb inval/flush routines ...
    (Linux-Kernel)
  • Re: How to update groups w/o re-logging in?
    ... > shell sessions don't recognize it. ... It seems you will have to write a kernel module to do it - if you are ... I am not aware of any system call to add groups to a running process ...
    (comp.unix.shell)
  • Re: Is there a trojan in the Linux kernel?
    ... find out where the kernel is panicing. ... >one because I feel uneasy with unexplainable behaviors. ... >informations about any running process. ... So you make a pointer, ...
    (comp.os.linux.security)
  • Re: Linux kernel IGMP vulnerabilities
    ... > You are not vulnerable to the remote attack described under, ... > your kernel may be still buggy. ... Note that you need a running process that ...
    (Bugtraq)