Re: syscall help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dnia 13-02-2005, nie o godzinie 02:45 -0500, Athul Acharya napisał(a):
> How do I (in a syscall) check that an address passed to me is in the
> user's address space?
You can use access_ok() to check if the pointer is valid, see:
http://www.gelato.unsw.edu.au/~dsw/public-files/kernel-docs/kernel-api/r3676.html

-- 
Krzysztof Godlewski
GPG: http://krzygod.w.interia.pl/kg.asc

Attachment: signature.asc
Description: To jest =?iso-8859-2?Q?cz=EA=B6=E6?= listu podpisana cyfrowo


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux