Alexander Stein wrote: looks good now, please add your S-o-b
Marc > --- > generic/etc/busybox.conf | 5 +++++ > rules/busybox.make | 3 +++ > 2 files changed, 8 insertions(+), 0 deletions(-) > create mode 100644 generic/etc/busybox.conf > > diff --git a/generic/etc/busybox.conf b/generic/etc/busybox.conf > new file mode 100644 > index 0000000..71a5bd5 > --- /dev/null > +++ b/generic/etc/busybox.conf > @@ -0,0 +1,5 @@ > +[SUID] > +#lines starting with # are comments > +#<applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) > + > +#reboot = ssx root.0 # applet reboot can be run by anyone and runs with > euid=0/egid=0 > diff --git a/rules/busybox.make b/rules/busybox.make > index 1616ab1..bf2eb2b 100644 > --- a/rules/busybox.make > +++ b/rules/busybox.make > @@ -94,6 +94,9 @@ $(STATEDIR)/busybox.targetinstall: > > ifdef PTXCONF_BUSYBOX_FEATURE_SUID > @$(call install_copy, busybox, 0, 0, 4755, -, /bin/busybox) > +ifdef PTXCONF_BUSYBOX_FEATURE_SUID_CONFIG > + @$(call install_alternative, busybox, 0, 0, 0644, /etc/busybox.conf) > +endif > else > @$(call install_copy, busybox, 0, 0, 755, -, /bin/busybox) > endif -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de