lkml.org 
[lkml]   [2000]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectAll this IDE raw ioctl access and probably SCSI as well
From
Date
Hi,

That's what I propose:
- add CAP_RAW 2-line patch to the pre- kernel now (and then to 2.2.17).
- add an option to the Config.in stating "IDE raw command interface",
which defaults to "yes" (like with 1394). The same with SCSI probably.

then:
- put code in the kernel to do things which are now covered by this ioctl
(the things hdparm etc. uses)
- and change default Config.in option to "no" (it should be possible to
build it as a module as well, in case user don't want to reboot the
machine to use diags tool).

It would avoid putting crappy filters in the kernel (which do nothing
to secure the system, except that they make place for bugs to be
introduced). And it would remove "dangerous" (not that I see any danger)
and possibly _unneeded_ interface if not selected in kernel config.
--
Krzysztof Halasa
Network Administrator

-
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:57    [W:0.025 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site