Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firecfg: use ignorelist also for .profile/.desktop files #6153

Merged
merged 4 commits into from
Jan 19, 2024

Commits on Jan 11, 2024

  1. firecfg: use ignorelist also for .profile files

    Currently it is only used when parsing the configuration files:
    
    * /etc/firecfg.d/*.conf
    * /etc/firecfg.config
    
    Use it when searching for profile filenames as well:
    
    * ~/.config/firejail/*.profile
    
    Relates to netblue30#5876.
    kmk3 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    69f804b View commit details
    Browse the repository at this point in the history
  2. firecfg: refactor config parse functions

    Changes:
    
    * Export `in_ignorelist` function
    * Allow only building the ignorelist without setting the symlinks
    * Rename the functions to reflect the above
    * Add a function that parses all config files (`parse_config_all`)
    
    Also, make sure that `parse_config_all` only parses config files once,
    even if called multiple times.
    
    Relates to netblue30#5876.
    kmk3 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    46e2ab9 View commit details
    Browse the repository at this point in the history
  3. firecfg: use filename var earlier

    And make it const.
    kmk3 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    358af63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9c851e View commit details
    Browse the repository at this point in the history