• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

external/wpa_supplicant_6


Commit MetaInfo

Revision5f27b7c5380b99bfeee77205dd68538e9cc400aa (tree)
Zeit2011-03-08 09:11:32
AutorDmitry Shmidt <dimitrysh@goog...>
CommiterDmitry Shmidt

Log Message

Remove forcing of RW to wpa_supplicant.conf

Change-Id: Ib34bfd132e3d26eb211231ee429ce546aee09e37
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

Ändern Zusammenfassung

Diff

--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -24,8 +24,6 @@
2424 #include "uuid.h"
2525 #include "eap_peer/eap_methods.h"
2626
27-#include <sys/stat.h>
28-
2927
3028 /**
3129 * wpa_config_get_line - Read the next configuration file line
@@ -522,11 +520,6 @@ struct wpa_config * wpa_config_read(const char *name)
522520 return NULL;
523521 }
524522
525- /* When creating the config file, give group read/write access
526- * to allow backup and restoring the file.
527- */
528- chmod(name, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
529-
530523 while (wpa_config_get_line(buf, sizeof(buf), f, &line, &pos)) {
531524 if (os_strcmp(pos, "network={") == 0) {
532525 ssid = wpa_config_read_network(f, &line, id++);