busybox login problem with selinux in enforced mode
Hello, I'm using busybox v1.29 with selinux enabled both in busybox and my system. I noticed that when I switch to the enforced mode, the login does not work anymore. A workaround about this issue is to comment the following line in busybox login applet: https://github.com/mirror/busybox/blob/master/loginutils/login.c#L542 Are there people there using selinux/busybox and experimenting the same issue ? Mit freundlichen Grüßen / Kind regards -- Ayoub Zaki Embedded Systems Consultant Vaihinger Straße 2/1 D-71634 Ludwigsburg Mobile : +4917662901545 Email: ayoub.z...@embexus.com Homepage : https://embexus.com VAT No. : DE313902634 ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: [PATCH] Add svg to built in MIME types list
Hi Denys, The correct type for JS is 'application/javascript' (without 'x-' prefixed). Cheers, Xabier Oneca_,,_ ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: [PATCH] Add svg to built in MIME types list
applied, thanks On Thu, Jun 6, 2019 at 5:42 PM Vicente Jiménez wrote: > > Signed-off-by: Vicente Jimenez Aguilar > --- > networking/httpd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/networking/httpd.c b/networking/httpd.c > index 3f1e02ec8..b09ac0a2f 100644 > --- a/networking/httpd.c > +++ b/networking/httpd.c > @@ -1726,6 +1726,7 @@ static NOINLINE void send_file_and_exit(const > char *url, int what) > ".jpg.jpeg\0" "image/jpeg\0" > ".gif\0" "image/gif\0" > ".png\0" "image/png\0" > + ".svg\0" "image/svg+xml\0" > /* .css line must be after .c line */ > ".css\0" "text/css\0" > ".wav\0" "audio/wav\0" > -- > 2.20.1 > Could not send it directly. So It is attached also. > > -- > saludos > vicente > ___ > busybox mailing list > busybox@busybox.net > http://lists.busybox.net/mailman/listinfo/busybox ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: [PATCH] lpd: fix null pointer dereferencing on EOF
applied, thanks On Thu, Jun 6, 2019 at 2:06 PM Luís Marques wrote: > > This one fixes a crash if you run busybox lpd < /dev/null > > diff --git a/printutils/lpd.c b/printutils/lpd.c > index ce5944026..408695f39 100644 > --- a/printutils/lpd.c > +++ b/printutils/lpd.c > @@ -133,6 +133,8 @@ int lpd_main(int argc UNUSED_PARAM, char *argv[]) > > // read command > s = queue = xmalloc_read_stdin(); > +if (!s) > +return EXIT_SUCCESS; > // we understand only "receive job" command > if (2 != *queue) { > unsupported_cmd: > ___ > busybox mailing list > busybox@busybox.net > http://lists.busybox.net/mailman/listinfo/busybox ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: [PATCH] Add svg to built in MIME types list
On Fri, 7 Jun 2019 08:36:42 +0200 Xabier Oneca -- xOneca wrote: > (But there's missing js!) I second this. That's the only change I had to make recently to httpd.conf, because FF does not execute JS with the wrong mime type (other browsers do). - Lauri ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox
Re: [PATCH] Add svg to built in MIME types list
Hi Vicente, > ".jpg.jpeg\0" "image/jpeg\0" > ".gif\0" "image/gif\0" > ".png\0" "image/png\0" > + ".svg\0" "image/svg+xml\0" > /* .css line must be after .c line */ > ".css\0" "text/css\0" > ".wav\0" "audio/wav\0" There's a httpd.conf syntax for adding custom extensions. That said, I think SVG *can* be more popular than, e.g. WAV, QT, MOV and MIDI, so I think as it is, it is a good incorporation. (But there's missing js!) I think the embedded list should consist of just common extensions (txt, htm(l), jp(e)g, gif, png, css, js) and everything else is use-case dependant. Maybe an example httpd.conf should be added to 'examples' folder? Just my opinion. Current full list, for context: > ".txt.h.c.cc.cpp\0" "text/plain\0" > ".htm.html\0" "text/html\0" > ".jpg.jpeg\0" "image/jpeg\0" > ".gif\0" "image/gif\0" > ".png\0" "image/png\0" > ".css\0" "text/css\0" > ".wav\0" "audio/wav\0" > ".avi\0" "video/x-msvideo\0" > ".qt.mov\0" "video/quicktime\0" > ".mpe.mpeg\0" "video/mpeg\0" > ".mid.midi\0" "audio/midi\0" > ".mp3\0" "audio/mpeg\0" > #if 0 /* unpopular */ > ".au\0" "audio/basic\0" > ".pac\0" "application/x-ns-proxy-autoconfig\0" > ".vrml.wrl\0" "model/vrml\0" > #endif Cheers, Xabier Oneca_,,_ ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox