aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2009-10-12 12:29:10 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-12 12:29:10 -0700
commitb9888c417d102f524b84b06f29af3c0f86eef5d5 (patch)
tree4e6dcbf052ef26a9228160ae7135e42bd468a88b
parentf6d83f04de3d5cbed779bdc85917fc01c92cc2c9 (diff)
parent8e30f5e8ddcbcbef1417fbc68e7e9c743e0c2130 (diff)
downloadwpa_supplicant-b9888c417d102f524b84b06f29af3c0f86eef5d5.tar.gz
am 8e30f5e8: wpa_supplicant: remove AID_KEYSTORE from the group list.
Merge commit '8e30f5e8ddcbcbef1417fbc68e7e9c743e0c2130' * commit '8e30f5e8ddcbcbef1417fbc68e7e9c743e0c2130': wpa_supplicant: remove AID_KEYSTORE from the group list.
-rw-r--r--os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_unix.c b/os_unix.c
index edb160a..8498b15 100644
--- a/os_unix.c
+++ b/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);