Skip to content
Browse files

wpa_supplicant: remove AID_KEYSTORE from the group list.

  • Loading branch information...
1 parent d3f40c7 commit 8e30f5e8ddcbcbef1417fbc68e7e9c743e0c2130 Chia-chi Yeh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 os_unix.c
View
2 os_unix.c
@@ -181,7 +181,7 @@ int os_program_init(void)
/* We ignore errors here since errors are normal if we
* are already running as non-root.
*/
- gid_t groups[] = { AID_INET, AID_WIFI, AID_KEYSTORE };
+ gid_t groups[] = { AID_INET, AID_WIFI };
setgroups(sizeof(groups)/sizeof(groups[0]), groups);
prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);

0 comments on commit 8e30f5e

Please sign in to comment.
Something went wrong with that request. Please try again.