Re: [PATCH] New phys_addr() syscall

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 20 Jul 1998 09:55:54 -0400 (EDT)


Richard Gooch writes:

> Show me a way of abusing phys_addr(2) which doesn't rely on root
> privileges and can't be done without phys_addr(2) (note that I can
> write an unprivileged programme which will punish your machine with
> resorting to phys_addr(2) at all).

There were plans to make mlock() available to normal users for
cryptographic purposes. There would be a quota to protect the
machine. If a user (or group of users) can get 1/32 of the pages
below 16 MB, then the system can not allocate 128 kB for DMA.

In general, it is bad to leak information.

-
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.altern.org/andrebalsa/doc/lkml-faq.html