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

Set filecap for traceroute #99

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/buildroot-aarch64.config
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@ BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y
#
# BR2_PACKAGE_LIBBYTESIZE is not set
# BR2_PACKAGE_LIBCAP is not set
# BR2_PACKAGE_LIBCAP_NG is not set
BR2_PACKAGE_LIBCAP_NG=y

#
# libcgroup needs a glibc toolchain w/ C++
Expand Down
2 changes: 1 addition & 1 deletion conf/buildroot-arm.config
Original file line number Diff line number Diff line change
Expand Up @@ -2970,7 +2970,7 @@ BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y
#
# BR2_PACKAGE_LIBBYTESIZE is not set
# BR2_PACKAGE_LIBCAP is not set
# BR2_PACKAGE_LIBCAP_NG is not set
BR2_PACKAGE_LIBCAP_NG=y

#
# libcgroup needs a glibc toolchain w/ C++
Expand Down
2 changes: 1 addition & 1 deletion conf/buildroot-ppc64le.config
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y
# BR2_PACKAGE_LIBBSD is not set
# BR2_PACKAGE_LIBBYTESIZE is not set
# BR2_PACKAGE_LIBCAP is not set
# BR2_PACKAGE_LIBCAP_NG is not set
BR2_PACKAGE_LIBCAP_NG=y

#
# libcgroup needs a glibc toolchain w/ C++
Expand Down
2 changes: 1 addition & 1 deletion conf/buildroot-x86_64.config
Original file line number Diff line number Diff line change
Expand Up @@ -2897,7 +2897,7 @@ BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y
#
# BR2_PACKAGE_LIBBYTESIZE is not set
# BR2_PACKAGE_LIBCAP is not set
# BR2_PACKAGE_LIBCAP_NG is not set
BR2_PACKAGE_LIBCAP_NG=y

#
# libcgroup needs a glibc toolchain w/ C++
Expand Down
2 changes: 2 additions & 0 deletions src/etc/init.d/rc.sysinit
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ mkdir /run/var.tmp

hostname -F /etc/hostname

filecap /usr/bin/traceroute NET_RAW

f="/bin/lxc-is-container" && write_lxc_is_container > "$f" && chmod 755 "$f"

if ! is_lxc; then
Expand Down