the first protocol list requested takes precedence

This commit is contained in:
netblue30 2016-01-28 10:52:21 -05:00
parent 815585473d
commit 6203399200
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,9 @@ firejail (0.9.37) baseline; urgency=low
* added --disable-network and --disable-userns compile time flags
* symlink invocation
* added KMail, Seamonkey, Telegram, Mathematica, uGet profiles
* --chroot in user mode allowed only if seccomp support is available
* in current Linux kernel
* the first protocol list installed takes precedence
* --tmpfs option allowed only running as root
* added --private-tmp option
* bugfixes

View file

@ -119,6 +119,11 @@ void protocol_list(void) {
void protocol_store(const char *prlist) {
assert(prlist);
if (cfg.protocol) {
fprintf(stderr, "Warning: a protocol list is present, the new list \"%s\" will not be installed\n", prlist);
return;
}
// temporary list
char *tmplist = strdup(prlist);
if (!tmplist)