X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/63dd5a9043f6a29038b58584f6c10258b29c2b31..46559847b15548f812bb56e95ad7015cb33ea6a6:/packages/busybox/change_identity.c.patch diff --git a/packages/busybox/change_identity.c.patch b/packages/busybox/change_identity.c.patch deleted file mode 100644 index a510db95..00000000 --- a/packages/busybox/change_identity.c.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -u -r ../busybox-1.22.1/libbb/change_identity.c ./libbb/change_identity.c ---- ../busybox-1.22.1/libbb/change_identity.c 2014-01-09 19:15:44.000000000 +0100 -+++ ./libbb/change_identity.c 2014-07-01 09:57:10.000000000 +0200 -@@ -33,9 +33,11 @@ - /* Become the user and group(s) specified by PW. */ - void FAST_FUNC change_identity(const struct passwd *pw) - { -+#ifndef __ANDROID__ - if (initgroups(pw->pw_name, pw->pw_gid) == -1) - bb_perror_msg_and_die("can't set groups"); - endgrent(); /* helps to close a fd used internally by libc */ - xsetgid(pw->pw_gid); - xsetuid(pw->pw_uid); -+#endif - }