On Thu, 28 Aug 2008, H. Peter Anvin wrote:
That's just handwaving. Apps don't normally change memory under
system call arguments. Or if they do the only thing we ever guarantee
is that the thing won't blow up in a big fireball.
I don't see how getting the data from userspace is different from
doing the same in the kernel. Care to explain?
> >> That is why I'm suggesting using an in-kernel linearizer.
And with ioctls (at least if the filesystem supplies the linearizer
instructions) you simply _cannot_ get proper privilege separation.
Generic ioctl support will always be a privileged thing.
Alternatively we can restrict ioctls. Most ioctls conform to some
convention for encoding the format (size/in/out) in the command, no?
Miklos
--
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Artem Bityutskiy | [PATCH 18/44 take 2] [UBI] build unit implementation |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Paul Jackson | [PATCH] cpuset sched_load_balance kmalloc fix |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
