0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-13 02:33:29 +00:00
Files
termux-packages/root-packages/libccid/issetugid.patch
Aditya Alok 341782691c bump(root/libccid): 1.6.1
- Add patch for `issetugid` not available in current bionic API

Signed-off-by: Aditya Alok <alok@termux.dev>
2025-01-25 17:35:21 +05:30

12 lines
325 B
Diff

--- ccid-1.6.1/src/sys_unix.c 2024-07-05 14:27:02.000000000 +0530
+++ ccid-1.6.1.mod/src/sys_unix.c 2025-01-25 17:24:50.152960579 +0530
@@ -172,7 +172,7 @@
#else
/* Otherwise, make sure current process is not tainted by uid or gid
* changes */
- if (issetugid())
+ if (0)
return NULL;
return getenv(name);
#endif