Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Launch server X on hardened mode
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
zouminski
n00b
n00b


Joined: 31 Dec 2008
Posts: 6

PostPosted: Fri Nov 20, 2009 8:44 am    Post subject: Launch server X on hardened mode Reply with quote

Hello,

i want to use X on a hardened mode. I try to run Xorg -configure in order to create a file xorg.conf :
it displays an I/O error. It needs to disable a flag on kernel : GKERNSEC_IO something like this.
I dont' want do disable it. I don't want to change my security mode. Anybody knows how can i bypass it ?

Cheers.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Nov 20, 2009 1:17 pm    Post subject: Reply with quote

At the moment, you can't really, the X server direct hardware access to function, which is exactly what GKERNSEC_IO is supposed to prevent, so it needs to be disabled for X to work.

On the other hand, you really don't lose much of the security benefits grsec provides by disabling GKERNSEC_IO anyway.

This may change in the future, when kernel mode setting (KMS) xorg drivers become more stable, and X can be run without root permissions (ie /usr/bin/Xorg won't need to be SUID any more).
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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