lkml.org 
[lkml]   [1999]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: access_ok inside kernelspace
On Tue, 19 Oct 1999, Alan Cox wrote:

> > Actually, Ingo - there *is* one case where going through _syscallX() and
> > therefore int 0x80 from the kernel *is* the only way. This is when the
> > caller is a module. That is how I call sysfs() from BFS module.
>
> Why not export sys_sysfs() ??

The system call table is exported instead because years ago
Linus said he wanted to keep the exports to modules under
reasonable control and exporting sys_* for iBCS wasn't on.

Mike

--
Failure isn't an option - it's built in to Windows
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: mailto:mike@roan.co.uk |
| Roan Technology Ltd. | |
| 2 Markham Mews, Broad Street | Telephone: +44 118 989 0403 |
| Wokingham ENGLAND | Fax: +44 118 989 1195 |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.069 / U:3.396 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site