Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 4.0.0 & new DEVMEM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1115

PostPosted: Tue Apr 14, 2015 1:06 am    Post subject: kernel 4.0.0 & new DEVMEM Reply with quote

Hi,
As it is activated by default, should we go for this devmem thing, and why?
Thks 4 ur attention.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7193
Location: almost Mile High in the USA

PostPosted: Tue Apr 14, 2015 1:42 pm    Post subject: Reply with quote

I'd think if you don't have to debug the kernel or don't have suid root programs that need to muck with /dev/mem then it's ok to disable it...

I still think if someone compromises root, all is lost, having access to memory is bad, but rather mucking with the binaries on the disk is worse (IMHO). But if you have a readonly disk that root cannot enable r/w then stopping access to memory might be even more secure.

I can't think of anything off the top of my head that actually needs /dev/mem in userspace unless libc or ld-linux somehow uses it...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Tue Apr 14, 2015 4:52 pm    Post subject: Reply with quote

prev-4.0 has CONFIG_STRICT_DEVMEM, so access to RAM isn't a problem.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1115

PostPosted: Tue Apr 14, 2015 7:23 pm    Post subject: Reply with quote

Interesting,

Generally when something new pops up, I don't activate unless I somehow understand its purpose enough to make a decision.

Thks 2 all 4 ur attention, interest & support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum