1.12.1: Linux binary has the executable stack bit set

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

anonsan
Posts: 13
Joined: Fri Jan 20, 2023 5:29 am

1.12.1: Linux binary has the executable stack bit set

Post by anonsan »

Code: Select all

kernel: process '/opt/XnView/XnView' started with executable stack

Code: Select all

$ execstack --help
Usage: execstack [OPTION...]
execstack -- program to query or set executable stack flag

  -c, --clear-execstack      Clear executable stack flag bit
  -q, --query                Query executable stack flag bit
  -s, --set-execstack        Set executable stack flag bit
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Report bugs to <[email protected]>.
$ execstack -q /bin/bash
- /bin/bash
$ execstack -q XnView
X XnView
Is there a reason for this? If not please build without setting the executable stack bit as there are security implications.
User avatar
xnview
Author of XnView
Posts: 48788
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.12.1: Linux binary has the executable stack bit set

Post by xnview »

anonsan
Posts: 13
Joined: Fri Jan 20, 2023 5:29 am

Re: 1.12.1: Linux binary has the executable stack bit set

Post by anonsan »

My mistake. Expected this to be less noticeable honestly.