Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can noexec kernel argument be used on a per-app basis?
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
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun May 18, 2008 8:52 pm    Post subject: Can noexec kernel argument be used on a per-app basis? Reply with quote

Hi.

I've solved one of my big problems with running games under Wine by adding kernel argument noexec=off. However I fear it introduces security issues, am I right? So is there a way to specifiy that noexec flag on a per-application basis, i.e. only when I run a specific application?

Thanks.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Mon May 19, 2008 9:11 am    Post subject: Reply with quote

Trying:
execstack -s /usr/bin/wine*
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon May 19, 2008 9:17 am    Post subject: Reply with quote

Thanks, I'll try that.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon May 19, 2008 7:07 pm    Post subject: Reply with quote

There is no execstack instruction/application available on my system :( .

EDIT: Ok, found it. It's part of sys-devel/prelink...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon May 19, 2008 7:46 pm    Post subject: Reply with quote

s4e8 wrote:
Trying:
execstack -s /usr/bin/wine*

That worked! Thanks a lot :) .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
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