wpa_supplicant.confオプション "update_config = 1"はどこに文書化されていますか?

wpa_supplicant.confオプション

まず、このオプションの機能を知っています。 Arch Linux Wikiによると、コマンドライン "wpa_cli"ユーティリティに権限を付与します。修正wpa_supplicant.conf:

警告:update_configを1に設定すると、wpa_supplicantは構成ファイルを上書きする可能性があります。オーバーライドされると、wpa_supplicant はデフォルトの umask に基づいてファイル権限をリセットします。システムがマルチユーザーの場合、誤って誰でもファイルを読み取ることができ、パスワードが公開される可能性があります。

ただし、Arch Linux wiki は、この機能の権威ある説明に最も近いものを見つけることができます。どのマニュアルページにも表示されません。wpa_requester、wpa_cli(8)、wpa_supplicant(8)、wpa_supplicant.conf(5) を含みます。

この機能の公式文書はどこにありますか?私が心配しているのは、これが実際にソースコードにしか現れない「文書化されていない」機能であれば、すべての開発者が将来のリリースでその機能を簡単に編集または無効にできることです。

ベストアンサー1

このオプションは、次の文書に文書化されているようです。サンプル構成ファイル~へプロジェクトウェブサイト:

# Whether to allow wpa_supplicant to update (overwrite) configuration
#
# This option can be used to allow wpa_supplicant to overwrite configuration
# file whenever configuration is changed (e.g., new network block is added with
# wpa_cli or wpa_gui, or a password is changed). This is required for
# wpa_cli/wpa_gui to be able to store the configuration changes permanently.
# Please note that overwriting configuration file will remove the comments from
# it.
#update_config=1

プロジェクトのウェブサイトで説明されているように、このオプションはしばらく消えないようです。

おすすめ記事