access_ok, but for kernel only

From: Greg Law (glaw_at_nexwave-solutions.com)
Date: 02/23/05


Date: 23 Feb 2005 07:57:51 -0800

Hi,

Is there an equivalent of access_ok for kernel space?

I want to pass an address down to my kernel module (as a parameter at
module load time). I want to have my module check that this is a
valid kernel address.

TIA

Greg



Relevant Pages

  • Re: Q on audit, audit-syscall: insecure?
    ... How does this audit method overcome the well known security ... audit time, and a second, different object is used when the kernel ... the user space buffer into the kernel space buffer which the kernel ... systems have been known to achieve CAPP and LSPP certification. ...
    (Linux-Kernel)
  • Re: Unexpected Error With CE.BIB file
    ... ways to get code to run in kernel mode, and you can only stop that by ... in user mode can't access kernel mode space, ... Anything running in kernel mode can access both user and kernel space. ... load dlls that are running in kernel mode. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Unexpected Error With CE.BIB file
    ... why to divide it as kernel space and user space? ... about the K flag, that only applies to developers building images. ... Anything running in kernel mode can access both user and kernel space. ... Move the component that loads hidparse into kernel space, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: few questions
    ... The Linux operating system is divided via memory protection hardware on ... the cpu into two general classes: kernel space and user space. ...
    (comp.os.linux.development.apps)
  • Re: Unexpected Error With CE.BIB file
    ... runs in kernel mode which corrupts the kernel ... in user mode can't access kernel mode space, ... Anything running in kernel mode can access both user and kernel space. ... Move the component that loads hidparse into kernel space, ...
    (microsoft.public.windowsce.platbuilder)