[GH-ISSUE #935] firecfg options #638

Closed
opened 2026-05-05 06:19:47 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @valoq on GitHub (Nov 22, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/935

looking at the firecfg code I found this line https://github.com/netblue30/firejail/blob/master/src/firecfg/main.c#L458

Why the for loop? If any provided option is valid only that option is executed and then return takes effect. Any other options are ignored. Did I miss something or is this a bug and the intended purpose was to allow several options at once?

Originally created by @valoq on GitHub (Nov 22, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/935 looking at the firecfg code I found this line https://github.com/netblue30/firejail/blob/master/src/firecfg/main.c#L458 Why the for loop? If any provided option is valid only that option is executed and then return takes effect. Any other options are ignored. Did I miss something or is this a bug and the intended purpose was to allow several options at once?
gitea-mirror 2026-05-05 06:19:47 -06:00
Author
Owner

@netblue30 commented on GitHub (Nov 22, 2016):

It doesn't return from the loop on line https://github.com/netblue30/firejail/blob/master/src/firecfg/main.c#L465

<!-- gh-comment-id:262270843 --> @netblue30 commented on GitHub (Nov 22, 2016): It doesn't return from the loop on line https://github.com/netblue30/firejail/blob/master/src/firecfg/main.c#L465
Author
Owner

@valoq commented on GitHub (Nov 23, 2016):

Alright thanks

<!-- gh-comment-id:262506419 --> @valoq commented on GitHub (Nov 23, 2016): Alright thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#638
No description provided.