Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Sécurité] pax == overhead sur x86_64?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Tue Jun 07, 2005 1:39 pm    Post subject: [Sécurité] pax == overhead sur x86_64? Reply with quote

Quote:
PaX also offers the ability for executable segments to be executable and not writable, and likewise writable segments to be writable and not executable. This is called pageexec. On x86 based processors their is no ability to do this on a hardware level since the x86 designers collapsed the read and execute memory flags into 1 to save space. Since a page can either be writable or readable and executable it is not useful to set buffers as non-executable since they would no longer be readable. So on x86 PaX emulates this behavior at a software level, which introduces overhead but is very helpful for security.


Yop, j'envisage une migration vers amd64/optéron (j'en peux plus des pbs hardware de ma box) et je voulais savoir si sur x86_64 (donc "vraie install 64 bits + éventuellement multilibs) comme sur x86, pax avait besoin d'être émulé et bouffait des ressources supplémentaires. Quelqu'un saît?

edit : changement de titre car pax "n'appartient" pas à selinux


Last edited by Enlight on Tue Jun 07, 2005 1:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Tue Jun 07, 2005 1:47 pm    Post subject: Reply with quote

ben non, pax c'est un patch noyau donc compilé dedans donc 64 bits lui aussi. enfin il me semble.

[edit] enfin en même temps pax sur une box de travail c'est vraiment utile? sur un serveur ok. c'est pour un serveur Enlight?[/edit]
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Tue Jun 07, 2005 1:58 pm    Post subject: Reply with quote

kwenspc wrote:
ben non, pax c'est un patch noyau donc compilé dedans donc 64 bits lui aussi. enfin il me semble.

[edit] enfin en même temps pax sur une box de travail c'est vraiment utile? sur un serveur ok. c'est pour un serveur Enlight?[/edit]


bah a priori c'est différent du flags nx (no execution) de l amd64 donc pour l'overhead c'est pas sûr.

Sinon c'est par pure paranoïa (quoique je serais ptet ammené à stocker des données sensibles à terme) et je me disasi que si ça ne coute pas de ressources supplémentaires, pourquoi s'en priver.
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Thu Jun 09, 2005 2:00 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
titix
Guru
Guru


Joined: 01 Nov 2003
Posts: 343
Location: Paris, France

PostPosted: Fri Jun 10, 2005 4:20 am    Post subject: Reply with quote

Les processeurs AMD64 gêrent parfaitement le pageexec au niveau hardware :D

Quote:
On 64 bit (amd64 for example) and other Hardware NX supporting
processors, there will be *no* overhead imposed by PAGEEXEC. :)


Pour reprendre ta phrase, pourquoi donc s'en priver!
_________________
titix
« La route est longue... mais la voie est libre ! »
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Fri Jun 10, 2005 6:29 am    Post subject: Reply with quote

Yes oki ça confirme ce que j'espérais, merci!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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