Re: [PATCH 0/9] setpriv: dumping and modification of capabilities

2017-06-29 Thread Assaf Gordon
Hello Patrick and all, > On Jun 29, 2017, at 13:34, Patrick Steinhardt wrote: > > I've recently been digging into setpriv from util-linux and > implemented ambient capabilities. [...] > I first want to gauge interest in increasing the scope of setpriv > with these patches. If you

stable sort? (sort -s)

2017-08-22 Thread Assaf Gordon
Hello, Does busybox's sort implements a stable sort? I see it accepts "-s" option, and I see in the source code that FLAG_s does disable the last-resort comparison: https://git.busybox.net/busybox/tree/coreutils/sort.c#n343 However, It seems the code also uses qsort() which is not stable -

[PATCH v2] setpriv: new applet

2017-05-14 Thread Assaf Gordon
sudo uname sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? Signed-off-by: Assaf Gordon <assafgor...@gmail.com> --- Hello, This patch is a minor fix for parameter handling (detecting when the p

[PATCH 1/2] setpriv: new applet

2017-05-12 Thread Assaf Gordon
sudo uname sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? Signed-off-by: Assaf Gordon <assafgor...@gmail.com> --- util-linux/setpriv.c | 89 1

[PATCH 0/2] new applet (setpriv) + unshare typo fix

2017-05-12 Thread Assaf Gordon
box patch, I'm happy to adjust as needed until it fits the busybox coding style.) Thanks, -assaf Assaf Gordon (2): setpriv: new applet unshare: fix help screen typo util-linux/setpriv.c | 89 util-linux/unshare.c | 2 +- 2 files changed,

[PATCH 2/2] unshare: fix help screen typo

2017-05-12 Thread Assaf Gordon
"-r/--map-root-user" implies "-U/--user", not "-u/--uts". Signed-off-by: Assaf Gordon <assafgor...@gmail.com> --- util-linux/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-linux/unshare.c b/util-linux/unshare.c index 52e8

[PATCH v3] setpriv: new applet

2017-05-18 Thread Assaf Gordon
Hello Tito, Thank you for the suggestions. Attached an improved version based on your comments. regards, - assaf ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH v3] setpriv: new applet

2017-05-18 Thread Assaf Gordon
sudo uname sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? Signed-off-by: Assaf Gordon <assafgor...@gmail.com> --- util-linux/setpriv.c | 73 1

[PATCH] httpd: support Content-Encoding for CGI scripts

2019-03-27 Thread Assaf Gordon
) Total: 132 bytes textdata bss dec hex filename 8372831741544 88446 1597e busybox_old 8386031741544 88578 15a02 busybox_unstripped Signed-off-by: Assaf Gordon --- networking/httpd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/networking

Re: [PATCH] httpd: Pass custom HTTP headers to CGI scripts

2019-03-28 Thread Assaf Gordon
Hello Alexander, On 2019-03-28 11:04 a.m., Alexander Vickberg wrote: This patch creates a list of unmatched HTTP headers and sets up environment variables before running the CGI script. I assume this is inspired by my (more limited) patch of passing "Content-encoding" header: