mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3190] [MERGED] DHCP client code quality fixes #4681
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#4681
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3190
Author: @kris7t
Created: 1/27/2020
Status: ✅ Merged
Merged: 1/28/2020
Merged by: @kris7t
Base:
master← Head:dhcp-client📝 Commits (4)
a7e6138Fix indentation for dhcp client code69907daFix unsigned comparison error (#3174)649bcd4Documentation for DHCP support1f9f439Do not declare variable in for loop📊 Changes
13 files changed (+376 additions, -261 deletions)
View changed files
📝
src/firejail/dhcp.c(+104 -101)📝
src/firejail/firejail.h(+2 -2)📝
src/firejail/fs_hostname.c(+3 -3)📝
src/firejail/main.c(+12 -12)📝
src/firejail/network_main.c(+4 -4)📝
src/firejail/profile.c(+13 -13)📝
src/firejail/sandbox.c(+4 -4)📝
src/firejail/sbox.c(+24 -23)📝
src/firejail/usage.c(+2 -0)📝
src/fnet/interface.c(+100 -94)📝
src/include/rundefs.h(+6 -5)📝
src/man/firejail-profile.txt(+53 -0)📝
src/man/firejail.txt(+49 -0)📄 Description
I finally had some time to fix up my implementation for DHCP client support. Sorry for the delay!
git blameoutput a bit, so it is debatable whether we should merge it.-Werror.By the way, there seem to be some differences between default CFLAGS produces by
./configureon my machine and on Travis.Compiling withThanks for @Vincent43 for pointing out the-Wall -Wextra -Werrorseems prudent, but does not happen for me locally../configure --enable-fatal-warningsoption! On the other hand, on Travis, C99 support is not enabled. Travis also uses older netlink headers, I think, for example, it does not defineIFA_FLAGS.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.