subgraph / paxrat

paxrat is a utility to set PaX flags on a set of binaries.
GNU General Public License v3.0
34 stars 9 forks source link

Include config files from a directory #20

Closed santiagorr closed 7 years ago

santiagorr commented 7 years ago

Hi,

Please, consider making it possible for paxrat to read config files from a directory (such as /etc/paxrat.conf.d/). This would allow users to have custom configs, and ease maintaining a base paxrat.conf among distributions.

The directory path(s) could be set by a "include" stanza in /etc/paxrat.conf.

What do you think?

Cheers,

-- Santiago

xSmurf commented 7 years ago

This is definitely something I'd like to get done (sort of duplicate of #18).

For now you can use the -c flag to call a custom file.

mckinney-subgraph commented 7 years ago

This has been implemented: https://github.com/subgraph/paxrat/commit/843dd41e4e1aa7a0487423d91fc8404f715ac916

When running paxrat with no config file argument or the default path, PaX flag config files found in /etc/paxrat/conf.d/ will be applied. Running with no args is the preferred mode of execution. Running with a specific config path is better used for watcher mode, for example: what we do with torbrowser-launcher.

santiagorr commented 7 years ago

El 09/04/17 a las 06:53, mckinney-subgraph escribió:

This has been implemented: [1]843dd41

\O/ Great, thank you!