Skip to content

Commit

Permalink
Merge pull request #99 from osfrickler/traceroute-cap
Browse files Browse the repository at this point in the history
Set filecap for traceroute
  • Loading branch information
hrw authored Nov 3, 2022
2 parents fcc456f + 6fee371 commit 8d608dc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
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

0 comments on commit 8d608dc

Please sign in to comment.