On 2019-10-21, Jeremy <[email protected]> wrote:
> Why when I run binaries written in C from /var/www/cgi-bin, it's allowed
> but if I use other compiled languages (ex: Haskell) I need to adjust the
> wxallowed options for where /var/www/cgi-bin is mounted?

Most compiled languages don't need w+x across the board (though might
do for certain software). afaik GHC-compiled things do require w+x mappings.

> Additionally, if c/c++ are indeed the few compiled languages which do
> not violate this option, where might one find a library to write a
> C program which interacts with mysql/mariadb? So far, I have only found
> mysql++ and would prefer not to use c++ unless there are no other
> options.

libmariadb (similar to the old libmysqlclient) works with C..

Reply via email to