Skip to contentSkip to conversation

Sensors and grsecurity

DISCUSSION David Cannings 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I have been trying to get sensors and grsecurity playing nicely however it seems that this is impossible if /dev/port restrictions are enabled.
Unfortunately, these restrictions come along with the ones on /dev/kmem
and /dev/mem, so I don't really want to disable them.

If my W83697HF only detects on the ISA bus, is it going to be impossible to read data from it without access to /dev/port?

Thanks,

David

#1 lore raw
Quoted 8 lines

I have been trying to get sensors and grsecurity playing nicely however it seems that this is impossible if /dev/port restrictions are enabled.
Unfortunately, these restrictions come along with the ones on /dev/kmem and /dev/mem, so I don't really want to disable them.

If my W83697HF only detects on the ISA bus, is it going to be impossible to read data from it without access to /dev/port?

The sensors-detect script uses /dev/port, but the driver itself obviously doesn't (since it belongs to kernel space). Thus there should be no issue (other than sensors-detect not working, but if you already know which devices you have, you don't need it anyway.

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
#2 lore raw
In reply to David Cannings
Quoted 6 lines · Jean Delvare
Quoted 6 lines

I have been trying to get sensors and grsecurity playing nicely however it seems that this is impossible if /dev/port restrictions are enabled.
Unfortunately, these restrictions come along with the ones on /dev/kmem and /dev/mem, so I don't really want to disable them.

Quoted 7 lines
Quoted 2 lines

If my W83697HF only detects on the ISA bus, is it going to be impossible to read data from it without access to /dev/port?

The sensors-detect script uses /dev/port, but the driver itself obviously doesn't (since it belongs to kernel space). Thus there should be no issue (other than sensors-detect not working, but if you already know which devices you have, you don't need it anyway.

My apologies for the question, I realise in hindsight that it does not make sense! Of course the driver doesn't use /dev/port, it works fine with the restrictions enabled.

Thanks again for your help,

David