mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Rewrite globbing code to fix various minor issues
* Plug a memory leak. * Remove the short-circuit. (This breaks when someone uses [] or ? patterns without using *. I figure it's best to use the principle of least surprise and just let the system glob() implementation do what it does.) * Stop sorting results. I've also replaced a lot of disable-history.inc with a glob pattern. Now it catches files like .sqlite_history and whatever the user runs under rlwrap.
This commit is contained in:
parent
6576b9ee6d
commit
7415d03df0
2 changed files with 19 additions and 22 deletions
|
|
@ -1,10 +1,3 @@
|
|||
# History files in $HOME
|
||||
blacklist ${HOME}/.history
|
||||
blacklist ${HOME}/.bash_history
|
||||
blacklist ${HOME}/.zsh_history
|
||||
blacklist ${HOME}/.ksh_history
|
||||
blacklist ${HOME}/.sh_history
|
||||
blacklist ${HOME}/.nano_history
|
||||
blacklist ${HOME}/.python_history
|
||||
blacklist ${HOME}/.mysql_history
|
||||
blacklist ${HOME}/.pgsql_history
|
||||
blacklist ${HOME}/.*_history
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue