Re: [PATCH] memory:bugxfix panic on cat or write /dev/kmem

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

 



On Sat 25-06-16 09:20:06, Chenjie (K) wrote:
> 
> 
> On 2016/6/23 20:42, Michal Hocko wrote:
> > On Fri 24-06-16 01:30:10, chenjie6@xxxxxxxxxx wrote:
> > > From: chenjie <chenjie6@xxxxxxxxxx>
> > > 
> > > cat /dev/kmem and echo > /dev/kmem will lead panic
> > 
> > Writing to /dev/kmem without being extremely careful is a disaster AFAIK
> > and even reading from the file can lead to unexpected results. Anyway
> > I am trying to understand what exactly you are trying to fix here. Why
> > writing to/reading from zero pfn should be any special wrt. any other
> > potentially dangerous addresses
> > 
> 
> cat /dev/mem not panic. cat /dev/kmem, just the user's operation for
> nothing.

I am sorry, but I do not follow. Could you be more specific please?
-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]